Skip to main content
Daily Statistics

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

from_date
string<date>
required

Start time of the query range in user's local timezone according to the provider, inclusive

Example:

"2006-01-02"

to_date
string<date>
required

End time of the query range in user's local timezone according to the provider, inclusive

Example:

"2006-01-02"

exclude_manual
boolean
default:false

Exclude manual metrics from the statistics

types
enum<string>[]
required
Minimum array length: 1
Available options:
sleep_score,
stress_score,
recovery_score,
activity_score,
steps,
distance_total,
distance_walking,
distance_cycling,
distance_running,
calories_burned_basal,
calories_burned_active,
calories_burned_total,
sleep_duration_total,
heartrate,
heartrate_max,
heartrate_min,
heartrate_resting,
sleep_skin_temperature_deviation,
hrv_rmssd,
hrv_sdnn,
duration_low_intensity,
duration_moderate_intensity,
duration_high_intensity
providers
string[]

Provider slugs

include_record_ids
boolean
default:false

Whether to include the record IDs in the response

device_types
enum<string>[]

Device types to include in the statistics

Available options:
unknown,
phone,
watch,
scale,
ring,
head_mounted,
fitness_band,
chest_strap,
smart_display,
accessory

Response

OK

from_date
string<date>
required

Calendar date in user's local timezone according to the provider

Example:

"2006-01-02"

statistics
object[] | null
required
to_date
string<date>
required

Calendar date in user's local timezone according to the provider

Example:

"2006-01-02"