Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Intraday data for tracked steps

ANSWERED

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

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
1 REPLY 1

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

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer