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

Daily Activity Summary - Discrepancy Between Individual Activity Steps and Summary Step Count

ANSWERED

Hi There.

I noticed that in some cases that, in the response from daily activity summary endpoint, the summary step count does not match the sum of the individual activity steps.

Request: 

GET https://api.fitbit.com/1/user/9MLBFF/activities/date/2021-10-19.json

Response:

{
   "activities":[
      {
         "activityId":17151,
         "activityParentId":90013,
         "activityParentName":"Walk",
         "calories":32,
         "description":"Walking less than 2 mph, strolling very slowly",
         "distance":0.81325,
         "duration":720000,
         "hasActiveZoneMinutes":false,
         "hasStartTime":true,
         "isFavorite":false,
         "lastModified":"2021-10-19T15:02:51.000Z",
         "logId":43527813846,
         "name":"Walk",
         "startDate":"2021-10-19",
         "startTime":"08:00",
         "steps":1212
      },
      {
         "activityId":17151,
         "activityParentId":90013,
         "activityParentName":"Walk",
         "calories":133,
         "description":"Walking less than 2 mph, strolling very slowly",
         "distance":3.30726,
         "duration":2100000,
         "hasActiveZoneMinutes":false,
         "hasStartTime":true,
         "isFavorite":false,
         "lastModified":"2021-10-19T13:51:35.000Z",
         "logId":43642985485,
         "name":"Walk",
         "startDate":"2021-10-19",
         "startTime":"08:00",
         "steps":5656
      },
      {
         "activityId":17151,
         "activityParentId":90013,
         "activityParentName":"Walk",
         "calories":32,
         "description":"Walking less than 2 mph, strolling very slowly",
         "distance":0.81325,
         "duration":660000,
         "hasActiveZoneMinutes":false,
         "hasStartTime":true,
         "isFavorite":false,
         "lastModified":"2021-10-19T13:56:15.000Z",
         "logId":43628418012,
         "name":"Walk",
         "startDate":"2021-10-19",
         "startTime":"09:00",
         "steps":1212
      },
      {
         "activityId":17151,
         "activityParentId":90013,
         "activityParentName":"Walk",
         "calories":27,
         "description":"Walking less than 2 mph, strolling very slowly",
         "distance":0.67771,
         "duration":600000,
         "hasActiveZoneMinutes":false,
         "hasStartTime":true,
         "isFavorite":false,
         "lastModified":"2021-10-19T14:31:16.000Z",
         "logId":43641223626,
         "name":"Walk",
         "startDate":"2021-10-19",
         "startTime":"10:00",
         "steps":1010
      }
   ],
   "goals":{
      "activeMinutes":30,
      "caloriesOut":2114,
      "distance":8.05,
      "steps":10000
   },
   "summary":{
      "activeScore":-1,
      "activityCalories":192,
      "caloriesBMR":575,
      "caloriesOut":718,
      "distances":[
         {
            "activity":"Walk",
            "distance":0.81325
         },
         {
            "activity":"Walk",
            "distance":3.30726
         },
         {
            "activity":"Walk",
            "distance":0.81325
         },
         {
            "activity":"Walk",
            "distance":0.67771
         },
         {
            "activity":"total",
            "distance":4.8
         },
         {
            "activity":"tracker",
            "distance":0
         },
         {
            "activity":"loggedActivities",
            "distance":5.61147
         },
         {
            "activity":"veryActive",
            "distance":2.49
         },
         {
            "activity":"moderatelyActive",
            "distance":0
         },
         {
            "activity":"lightlyActive",
            "distance":2.3
         },
         {
            "activity":"sedentaryActive",
            "distance":0
         }
      ],
      "fairlyActiveMinutes":0,
      "lightlyActiveMinutes":33,
      "marginalCalories":102,
      "sedentaryMinutes":606,
      "steps":7158,
      "veryActiveMinutes":23
   }
}

Steps: 1212 + 5656 + 1212 + 1010 = 9090

Summary: 7158

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @Jeff_New_Ocean 

 

It looks like the exercises were manually entered incorrectly.  The difference in step count is probably related to how we are trying to reconcile the two exercises @ 08:00 that overlap each other.  Also, the summary step count includes the steps from the recorded exercises plus the steps taken outside of a recorded exercise.

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

View best answer in original post

Best Answer
2 REPLIES 2

Hi @Jeff_New_Ocean 

 

It looks like the exercises were manually entered incorrectly.  The difference in step count is probably related to how we are trying to reconcile the two exercises @ 08:00 that overlap each other.  Also, the summary step count includes the steps from the recorded exercises plus the steps taken outside of a recorded exercise.

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

Thanks @GordonFitbit.

OK, makes sense on the count for the overlapping exercise.

Also understand about the totals steps including steps outside exercise activities. I should have mentioned that in this case, we just have the Fitbit account where they are logging activities for testing, and no tracker device.

Thanks!

P.S. I think there might still be a bug here. Even if you remove the overlapping activity's 1212 steps, the total should be at least 7878. 

Best Answer
0 Votes