Skip to main content

Fitbit

By integrating the ROOK API, you gain access to Fitbit data, enabling you to retrieve body, physical, and sleep information from your linked users. Our API collects raw data from Fitbit, transforms it into structured data, and delivers it in JSON format via webhooks or API queries.

Fitbit.png

Fitbit Available Data

This is the data available from Fitbit that ROOK extracts:

Body Health

{
"body_summary": [
"muscle_composition_percentage_int",
"bmi_float",
"height_cm_int",
"water_total_consumption_mL_int",
"weight_kg_float",
"hydration_amount_granular_data_array"
],
}

Physical Health

{
"physical_activity_event": [
"pace_avg_min_per_km_float",
"activity_type_name_string",
"calories_expenditure_kcal_float",
"activity_duration_seconds_int",
"traveled_distance_meters_float",
"steps_int",
"rest_seconds_int",
"elevation_gain_actual_altitude_meters_float",
"hr_avg_bpm_int",
"speed_avg_meters_per_second_float",
"vigorous_intensity_seconds_int",
"active_seconds_int",
"activity_start_datetime_string",
"moderate_intensity_seconds_int",
"low_intensity_seconds_int",
"hr_minimum_bpm_int",
"hr_maximum_bpm_int",
"activity_end_datetime_string"
],
"physical_summary": [
"elevation_loss_actual_altitude_meters_float",
"calories_expenditure_kcal_float",
"vo2max_mL_per_min_per_kg_int",
"traveled_distance_meters_float",
"hrv_avg_rmssd_float",
"rest_seconds_int",
"elevation_gain_actual_altitude_meters_float",
"vigorous_intensity_seconds_int",
"steps_int",
"active_seconds_int",
"low_intensity_seconds_int",
"calories_basal_metabolic_rate_kcal_float",
"hr_resting_bpm_int",
"floors_climbed_float",
"calories_net_active_kcal_float"
],
}

Sleep Health

{
"sleep_summary": [
"deep_sleep_duration_seconds_int",
"saturation_minimum_percentage_int",
"time_in_bed_seconds_int",
"sleep_date_string",
"rem_sleep_duration_seconds_int",
"sleep_start_datetime_string",
"sleep_efficiency_1_100_score_int",
"time_to_fall_asleep_seconds_int",
"hrv_avg_rmssd_float",
"light_sleep_duration_seconds_int",
"sleep_end_datetime_string",
"breaths_avg_per_min_int",
"time_awake_during_sleep_seconds_int",
"saturation_avg_percentage_int",
"sleep_duration_seconds_int",
"saturation_maximum_percentage_int"
]
}
note

The data you receive depends on the permissions granted by the user when linking their data source.

Data Delivery

Our Fitbit integration delivers notifications within minutes after a user completes an event and syncs their app. ROOK retrieves, processes, and delivers the data through our SDKs, providing you with user insights efficiently.

Start Extracting Fitbit Data

To begin extracting health data from Fitbit, follow these steps:

Step 1: Enable Data Source

Integrate Fitbit into your application or digital solution through the endpoint provided by ROOK.

Switch Fitbit.png

Step 2: Set Up Your Connections Page

Enable the Fitbit data source on the connections page to allow your users to connect.

Connect Fitbit.png

Step 3: Receive Your Users' Data

Once users connect to the data source, you will start receiving their data. Utilize this data to its full potential.

{
"version":[],
"data_structure": "",
"client_uuid": "",
"user_id": "",
"body_health": {},
"physical_health": {},
"Sleep_health": {},
}