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

Fitbit Web API user's step different with Fitbit App

ANSWERED

Hi, 

I am involved in a hybrid application development that needed us to grab users 7 days of user step data with Fitbit Web API, the resource URL which we are using is [GET https://api.fitbit.com/1/user/(user-id)/activities/tracker/steps/date/today/7d.json]. Everything is working fine and we manage to get the data we intended to get, However, there were some cases where step data for one of the day in 7 days that we grab from Web API have different steps amount compared to what Fitbit App showed.

 

May I know what is the possible scenario that will cause this issue except for user manual enter activity log.

 

Thanks

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @forAppAnonymous

 

The "Get Activity Log List", https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-logs-list, endpoint will tell you where the source of a recorded activity.  It'll display if the data was manually entered or from a 3rd party application.  Any manually entered steps will be recorded as an activity and listed here.

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

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

Hi @forAppAnonymous,

 

If the user manually logged an activity through the Fitbit app, or synced over activity data from a 3rd party application, these steps will be included in the daily total shown in the app.

 

The [GET https://api.fitbit.com/1/user/(user-id)/activities/tracker/steps/date/today/7d.json] endpoint you are querying is only pulling the step data from the daily total that were recorded only by the tracker, which is why you may see different totals between tracker vs app. I hope this helps!

Best Answer
0 Votes

Thanks for the response, may I know is there any place or UI in Fitbit App or Fitbit website that the user can identify that the data is log manually by the user or synced from the third party?

Best Answer
0 Votes

Hi @forAppAnonymous

 

The "Get Activity Log List", https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-logs-list, endpoint will tell you where the source of a recorded activity.  It'll display if the data was manually entered or from a 3rd party application.  Any manually entered steps will be recorded as an activity and listed here.

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