04-20-2021 19:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-20-2021 19:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
There are two ways to get a daily total steps using fitbit web API.
- first, request daily step data by API with a specific date (daily-summary)
- second, summation of step intraday-data with a specific date (intraday-data)
but sometimes, two results( total number of steps per day) are different even in the same date.
also, when i check number of steps in fitbit app, total number of steps are different with a total number of steps represented on the step intra-day graph.
Am I missing something?
Why those two numbers are different?
1) daily-summary
https://api.fitbit.com/1/user/-/activities/steps/date/today/1m.json
2) intraday-data
https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/1d/[detail-level].json

04-30-2021 07:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



04-30-2021 07:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @sjsj1
In the documentation, we describe the reason. See https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-intraday-time-series.
Note: Any discrepancies between time series detail-level totals vs daily summary totals is likely due to how the device calculates on-wrist and off-wrist data. On-wrist data is defined as data collected while the device is worn. On-wrist data is also referred to as Intraday data. Off-wrist data is defined as data collected while the device is not worn. For example, step data can be collected if the device was in a bag while driving down a bumpy road. By design, daily summary totals include on-wrist totals and off-wrist totals; while Intraday totals include on-wrist totals only.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

