06-20-2019 22:44
06-20-2019 22:44
Hi,
Can we get intraday data for tracked activities using the api below. I am not able to get breakage in tracked data, it's returning only total count.
https://api.fitbit.com/1/user/-/activities/tracker/steps/date/2019-06-04/1d/15min.json
Without tracker, it's returning 15 mins breakage.
https://api.fitbit.com/1/user/-/activities/steps/date/2019-06-04/1d/15min.json
Answered! Go to the Best Answer.
06-21-2019 14:57
06-21-2019 14:57
The endpoints for requesting Intraday activity data are
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/[date]/[detail-level].json
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/1d/[detail-level].json
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/[date]/[detail-level]/time/[start-time]/[end-time].json
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/1d/[detail-level]/time/[start-time]/[end-time].json
The syntax you are trying to use against the tracker is not supported. We have documented the Activity Intraday endpoints here: https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-intraday-time-series
06-21-2019 14:57
06-21-2019 14:57
The endpoints for requesting Intraday activity data are
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/[date]/[detail-level].json
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/1d/[detail-level].json
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/[date]/[detail-level]/time/[start-time]/[end-time].json
GET https://api.fitbit.com/1/user/-/[resource-path]/date/[date]/1d/[detail-level]/time/[start-time]/[end-time].json
The syntax you are trying to use against the tracker is not supported. We have documented the Activity Intraday endpoints here: https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-intraday-time-series