Fitbit User API

Read and update the authorized Fitbit user's profile including display name, gender, birthday, height, weight, locale, timezone, and unit preferences (distance, weight, water, glucose, temperature).

GitHub OpenAPI
Business capability
Consumer Health, Fitness & Nutrition AE-130

Operations 48

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /1/user/{user-id}/activities/date/{date}.json Get a day's activity summary · Get Daily Activity Summary #
Ask an LLM
“How many active zone minutes did I get on a given day?”
“Can I see a summary of all my activities for one day?”
Tell an agent
Get the activity summary for user {user} on {date}.
Show daily activity totals for {user} on {date}.
POST /1/user/{user-id}/activities.json Log a workout or manual activity · Log Activity #
Ask an LLM
“How do I add a workout I did outside the Fitbit app?”
“Can I log a manual activity with a specific start time and duration?”
Tell an agent
Log a {activityName} for user {user} from {start} to {start} plus {duration}.
Record a manual {activityName} for {user} on {date} lasting {duration} at {start}.
DELETE /1/user/{user-id}/activities/{activity-log-id}.json Delete an activity log entry · Delete Activity Log #
Ask an LLM
“Can I remove a workout I logged by mistake?”
“What's the way to delete one activity log entry?”
Tell an agent destructive · confirm first
Delete activity log {log} for user {user}.
Remove the workout log {log} from {user}'s history.
GET /1/user/{user-id}/activities/list.json List a user's activity log entries · Get Activity Log List #
Ask an LLM
“Which workouts have I logged this week?”
“Can I list activity log entries before or after a certain date?”
Tell an agent
List activity log entries for user {user}.
Show {limit} activity logs for {user} before {before}.
GET /1/user/{user-id}/activities/goals/{period}.json Get a user's daily or weekly activity goals · Get Activity Goals #
Ask an LLM
“What are my current daily step and active zone minute goals?”
“Can I see my weekly activity goals?”
Tell an agent
Get {period} activity goals for user {user}.
Show daily step and active zone minute targets for {user}.
GET /1/user/{user-id}/activities/active-zone-minutes/date/{date}/{period}.json Get Active Zone Minutes for a date · Get AZM Time Series By Date #
Ask an LLM
“How many active zone minutes did I get on a specific day?”
“Can I pull AZM data for a date and period?”
Tell an agent
Get {period} Active Zone Minutes for user {user} on {date}.
Show AZM time series for {user} from {date} over {period}.
GET /1/user/{user-id}/activities/steps/date/{base-date}/{end-date}.json Get steps over a date range · Get Activity Time Series By Date Range #
Ask an LLM
“How many steps did I take between two dates?”
“Can I pull step counts for a date range?”
Tell an agent
Get steps for user {user} from {start} to {end}.
Show step counts for {user} between {start} and {end}.
GET /1/user/{user-id}/body/log/weight/date/{date}.json Get weight logs for a day · Get Weight Logs By Date #
Ask an LLM
“What weight did I log on a particular day?”
“Can I see all my weight entries for one date?”
Tell an agent
Get weight logs for user {user} on {date}.
Show my weight entries for {date} on {user}.
POST /1/user/{user-id}/body/log/weight/date/{date}.json Log a body weight entry · Log Weight #
Ask an LLM
“How do I record my weight for a specific day and time?”
“Can I add a new body weight reading to my Fitbit log?”
Tell an agent
Log a weight of {weight} for user {user} on {date}.
Add a weight entry of {weight} at {time} on {date} for user {user}.
DELETE /1/user/{user-id}/body/log/weight/{weight-log-id}.json Delete a weight log entry · Delete Weight Log #
Ask an LLM
“Can I remove a weight I logged by mistake?”
“What's the way to delete one weight log?”
Tell an agent destructive · confirm first
Delete weight log {log} for user {user}.
Remove the weight entry {log} from {user}'s history.
GET /1/user/{user-id}/body/log/fat/date/{date}.json Get body fat logs for a day · Get Body Fat Logs By Date #
Ask an LLM
“What body fat percentage did I log on a given day?”
“Can I see all my body fat entries for one date?”
Tell an agent
Get body fat logs for user {user} on {date}.
Show my body fat entries for {date} on {user}.
GET /1/user/{user-id}/body/{resource-path}/date/{date}/{period}.json Get body data over a period · Get Body Time Series By Date #
Ask an LLM
“How has my weight trended over the last month?”
“Can I pull body fat or BMI data for a date range?”
Tell an agent
Get {resource} for user {user} from {date} over {period}.
Show body data {resource} for {user} between {date} and {period}.
GET /1/user/{user-id}/body/log/weight/goal.json Get a user's weight goal · Get Body Weight Goal #
Ask an LLM
“What is my current weight goal?”
“Can I check my body weight target?”
Tell an agent
Get the weight goal for user {user}.
Show {user}'s current body weight target.
GET /1/user/{user-id}/devices.json List a user's connected devices · Get Devices #
Ask an LLM
“Which Fitbit devices are connected to my account?”
“Can I see all my trackers and watches?”
Tell an agent
List devices connected to user {user}.
Show every tracker and watch on {user}'s account.
GET /1/user/{user-id}/devices/tracker/{tracker-id}/alarms.json Get alarms on a tracker · Get Alarms #
Ask an LLM
“What alarms are set on one of my trackers?”
“Can I list the alarm settings for a device?”
Tell an agent
Get alarms for tracker {tracker} on user {user}.
Show the alarm settings on {tracker} for {user}.
POST /1/user/{user-id}/devices/tracker/{tracker-id}/alarms.json Add an alarm to a tracker · Add Alarm #
Ask an LLM
“How do I set a new alarm on my Fitbit watch?”
“Can I make an alarm repeat on certain weekdays?”
Tell an agent
Add an alarm at {time} on tracker {tracker} for user {user}, enabled {enabled}, recurring {recurring}.
Set tracker {tracker} on {user} to alarm at {time} on {weekDays}, enabled {enabled}, recurring {recurring}.
DELETE /1/user/{user-id}/devices/tracker/{tracker-id}/alarms/{alarm-id}.json Delete an alarm from a tracker · Delete Alarm #
Ask an LLM
“Can I remove a single alarm from my tracker?”
“What's the way to delete one alarm entry?”
Tell an agent destructive · confirm first
Delete alarm {alarm} from tracker {tracker} on user {user}.
Remove alarm {alarm} on {tracker} for {user}.
GET /1/user/{user-id}/ecg/list.json List a user's ECG logs · Get ECG Log List #
Ask an LLM
“Which ECG logs have I recorded?”
“Can I list ECG entries before or after a date?”
Tell an agent
List ECG logs for user {user}.
Show {limit} ECG entries for {user} before {before}.
GET /1/user/{user-id}/irn/alerts/list.json List Irregular Rhythm Notification alerts · Get IRN Alerts List #
Ask an LLM
“What Irregular Rhythm Notification alerts have I received?”
“Can I list IRN alerts for a date range?”
Tell an agent
List IRN alerts for user {user}.
Show {limit} Irregular Rhythm Notification alerts for {user} before {before}.
GET /1/user/{user-id}/irn/profile.json Get a user's IRN enrollment status · Get IRN Profile #
Ask an LLM
“Am I enrolled in the Irregular Rhythm Notification service?”
“What is my IRN profile and enrollment status?”
Tell an agent
Get the IRN profile for user {user}.
Show whether {user} is enrolled in Irregular Rhythm Notification.
GET /1.1/user/{user-id}/friends.json List a user's friends · Get Friends #
Ask an LLM
“Who are the friends on my Fitbit account?”
“Can I see my friends' activity levels?”
Tell an agent
List the friends of user {user}.
Show my friend list.
GET /1.1/user/{user-id}/leaderboard/friends.json Show my friends ranked by activity · Get Friends Leaderboard #
Ask an LLM
“How do I see my friends ranked by steps or activity?”
“What's the leaderboard of my Fitbit friends?”
Tell an agent
Show the friends leaderboard for user {user}.
Rank my friends by activity level.
GET /1/user/{user-id}/activities/heart/date/{date}/{period}.json Get heart rate for a date and period · Get Heart Rate Time Series By Date #
Ask an LLM
“What was my average heart rate for a single day?”
“Can I get heart rate data for a specific period of one day?”
Tell an agent
Get heart rate for user {user} on {date} for the {period} period.
Show my heart rate for {date} over {period}.
GET /1/user/{user-id}/activities/heart/date/{base-date}/{end-date}.json Get heart rate for a date range · Get Heart Rate Time Series By Date Range #
Ask an LLM
“Can I get heart rate data across several days?”
“What was my heart rate trend over a date range?”
Tell an agent
Get heart rate for user {user} from {base_date} to {end_date}.
Show my heart rate trend between {base_date} and {end_date}.
GET /1/user/{user-id}/activities/heart/date/{date}/1d/{detail-level}.json Get heart rate at a detail level · Get Heart Rate Intraday Time Series #
Ask an LLM
“Can I get my heart rate minute by minute for a day?”
“What detail levels can I choose for intraday heart rate?”
Tell an agent
Get intraday heart rate for user {user} on {date} at {detail_level} detail.
Show my heart rate for {date} in {detail_level} detail.
GET /1/user/{user-id}/foods/log/date/{date}.json Get food logs for a day · Get Food Logs By Date #
Ask an LLM
“What did I eat on a given day?”
“Can I see my food log summary for one day?”
Tell an agent
Get food logs for user {user} on {date}.
Show what I logged for food on {date}.
POST /1/user/{user-id}/foods/log.json Log a food entry · Log Food #
Ask an LLM
“How do I add a meal to my food log?”
“Can I log a food entry with calories and a brand name?”
Tell an agent
Log food {food_name} for user {user} on {date} in meal {meal_type_id} with {amount} {unit_id}.
Add a food entry for {user} on {date} with {amount} {unit_id}, meal {meal_type_id}, name {food_name}.
DELETE /1/user/{user-id}/foods/log/{food-log-id}.json Delete a food log entry · Delete Food Log #
Ask an LLM
“How do I remove a food entry from my log?”
“Can I delete a single food log entry?”
Tell an agent destructive · confirm first
Delete food log {food_log_id} for user {user}.
Remove food entry {food_log_id} from my log.
GET /1/user/{user-id}/foods/log/water/date/{date}.json Get water logs for a day · Get Water Logs #
Ask an LLM
“How much water did I drink on a given day?”
“Can I see my water log entries for one day?”
Tell an agent
Get water logs for user {user} on {date}.
Show my water intake for {date}.
POST /1/user/{user-id}/foods/log/water.json Log a water entry · Log Water #
Ask an LLM
“How do I record how much water I drank?”
“Can I log water in ounces or millilitres?”
Tell an agent
Log {amount} of water for user {user} on {date}.
Record {amount} {unit} of water for {user} on {date}.
GET /1/user/{user-id}/foods/log/goal.json Get my daily food goal · Get Food Goals #
Ask an LLM
“What is my current daily calorie goal?”
“Can I see my food plan and calorie goal?”
Tell an agent
Get the food goal for user {user}.
Show my daily calorie goal.
GET /1.2/user/{user-id}/sleep/date/{date}.json Get sleep logs for a day · Get Sleep Log By Date #
Ask an LLM
“What did my sleep log show for one day?”
“Can I see my sleep entries for a single date?”
Tell an agent
Get sleep logs for user {user} on {date}.
Show my sleep log for {date}.
GET /1.2/user/{user-id}/sleep/date/{base-date}/{end-date}.json Get sleep logs for a date range · Get Sleep Log By Date Range #
Ask an LLM
“Can I get my sleep logs across several days?”
“What was my sleep pattern over a date range?”
Tell an agent
Get sleep logs for user {user} from {base_date} to {end_date}.
Show my sleep log between {base_date} and {end_date}.
GET /1.2/user/{user-id}/sleep/list.json List sleep logs with offset and limit · Get Sleep Log List #
Ask an LLM
“Can I page through my sleep logs with an offset and limit?”
“How do I sort my sleep log entries?”
Tell an agent
Get sleep logs for user {user} with limit {limit} and offset {offset}.
Show {limit} sleep log entries for {user} starting at {offset}.
POST /1.2/user/{user-id}/sleep.json Log a sleep session · Log Sleep #
Ask an LLM
“How do I record a night's sleep?”
“Can I log a sleep session with a start time and duration?”
Tell an agent
Log sleep for user {user} on {date} starting at {start_time} for {duration}.
Record a sleep session of {duration} minutes for {user} on {date} from {start_time}.
DELETE /1.2/user/{user-id}/sleep/{log-id}.json Delete a sleep log entry · Delete Sleep Log #
Ask an LLM
“How do I remove a sleep entry from my log?”
“Can I delete a single sleep log entry?”
Tell an agent destructive · confirm first
Delete sleep log {log_id} for user {user}.
Remove sleep entry {log_id} from my log.
GET /1/user/{user-id}/sleep/goal.json Get my sleep goal · Get Sleep Goal #
Ask an LLM
“What is my current sleep goal?”
“Can I see how many hours I'm aiming to sleep?”
Tell an agent
Get the sleep goal for user {user}.
Show my current sleep goal.
POST /1/user/{user-id}/sleep/goal.json Set or update my sleep goal · Update Sleep Goal #
Ask an LLM
“How do I change my sleep goal?”
“Can I set a minimum sleep duration goal?”
Tell an agent
Set my sleep goal to {min_duration} minutes for user {user}.
Update the sleep goal for {user} to {min_duration} minutes.
GET /1/user/{user-id}/spo2/date/{date}.json Get SpO2 summary for a day · Get SpO2 Summary By Date #
Ask an LLM
“What was my SpO2 summary for one day?”
“Can I see my oxygen saturation summary for a single date?”
Tell an agent
Get the SpO2 summary for user {user} on {date}.
Show my oxygen saturation summary for {date}.
GET /1/user/{user-id}/spo2/date/{base-date}/{end-date}.json Get SpO2 summary for a date range · Get SpO2 Summary By Date Range #
Ask an LLM
“Can I get my SpO2 summary across several days?”
“What was my oxygen saturation trend over a date range?”
Tell an agent
Get the SpO2 summary for user {user} from {base_date} to {end_date}.
Show my oxygen saturation summary between {base_date} and {end_date}.
GET /1/user/{user-id}/br/date/{date}.json Get a user's breathing rate during sleep · Get Breathing Rate Summary By Date #
Ask an LLM
“What was my average breathing rate during sleep on a given day?”
“Can I pull my breaths per minute from Fitbit's sleep data?”
Tell an agent
Get my breathing rate on {date} for user {user}.
Show average breaths per minute during sleep for {user} on {date}.
GET /1/user/{user-id}/temp/skin/date/{date}.json Get a user's skin temperature variation · Get Skin Temperature Summary By Date #
Ask an LLM
“How much did my skin temperature vary from my baseline on a given day?”
“Can I see skin temperature readings relative to my baseline?”
Tell an agent
Get my skin temperature variation on {date} for user {user}.
Show skin temperature readings for {user} on {date}.
GET /1/user/{user-id}/temp/core/date/{date}.json Get a user's core temperature readings · Get Core Temperature Summary By Date #
Ask an LLM
“What were my core temperature readings for a day?”
“Can I pull my internal body temperature data?”
Tell an agent
Get my core temperature readings on {date} for user {user}.
Show core body temperature for {user} on {date}.
GET /1/user/{user-id}/hrv/date/{date}.json Get a user's heart rate variability · Get Heart Rate Variability By Date #
Ask an LLM
“What was my heart rate variability (RMSSD) during deep sleep on a given day?”
“Can I pull daily HRV values for a user?”
Tell an agent
Get my HRV on {date} for user {user}.
Show heart rate variability for {user} on {date}.
GET /1/user/{user-id}/cardioscore/date/{date}.json Get a user's VO2 max score · Get VO2 Max Summary By Date #
Ask an LLM
“What was my VO2 max score for a given day?”
“Can I pull my cardio fitness score for one day?”
Tell an agent
Get my VO2 max on {date} for user {user}.
Show cardio fitness score for {user} on {date}.
POST /1/user/{user-id}/{collection-path}/apiSubscriptions/{subscription-id}.json Subscribe to user data notifications · Create Subscription #
Ask an LLM
“How do I get notified when a user has new data of a given type?”
“Can I create a subscription that triggers on new user data?”
Tell an agent
Create a {collection} subscription {subscription} for user {user}.
Subscribe {user} to {collection} notifications with ID {subscription}.
DELETE /1/user/{user-id}/{collection-path}/apiSubscriptions/{subscription-id}.json Delete a user data subscription · Delete Subscription #
Ask an LLM
“How do I stop notifications for a user subscription?”
“Can I remove a subscription for a specific user?”
Tell an agent destructive · confirm first
Delete subscription {subscription} for user {user} on {collection}.
Remove the {collection} subscription {subscription} from {user}.
GET /1/user/{user-id}/{collection-path}/apiSubscriptions.json List a user's data subscriptions · Get Subscription List #
Ask an LLM
“Which subscriptions does a user have set up?”
“Can I list all data notifications a user is subscribed to?”
Tell an agent
List subscriptions for user {user} on {collection}.
Show all {collection} subscriptions for {user}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fitbit:fitbit-user-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fitbit-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fitbit User API
  version: '1.0'
  description: 'Operations tagged User across 10 of this provider''s published API definitions: fitbit-activity-api-openapi.yml, fitbit-body-api-openapi.yml, fitbit-devices-api-openapi.yml, fitbit-ecg-irn-api-openapi.yml, fitbit-friends-api-openapi.yml, fitbit-heart-rate-api-openapi.yml, fitbit-nutrition-api-openapi.yml, fitbit-sleep-api-openapi.yml, fitbit-spo2-breathing-temperature-api-openapi.yml, fitbit-subscriptions-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.fitbit.com
  description: Fitbit Web API
tags:


# --- truncated at 32 KB (49 KB total) ---
# Full source: https://artifacts.apis.io/fitbit/openapi/fitbit-user-api-openapi.yml