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

The activityCalories data is incorrect when using the "Get Daily Activity Summary" API

One of our use: We're calculating the calorie burn from steps without considering BMR.
We are encountering discrepancies while fetching data using the following API endpoint:

https://api.fitbit.com/1/user/-/activities/date/${date}.json

Observations:
activityCalories Value Anomaly:

The activityCalories value appears to be excessively high, even exceeding the sum of caloriesOut and caloriesBMR.
Inconsistent Field Naming:

The field caloriesBmr is now being returned instead of caloriesBMR, which differs from the documented naming convention (caloriesBMR).
Other Potential Issues:

There might be additional changes or issues, but they have not been fully identified yet.

This issue seems to have started around September 1, 2024.

Request:
Please provide documentation on the recent changes, or take the necessary actions to address these issues.

Example of Problematic Data:
Here is a sample response illustrating the issues:

{
"activities": [],
"summary": {
"caloriesOut": 2167,
"activityCalories": 6012,
"caloriesBmr": 1636,
"activeScore": "-1",
"steps": 3219,
"sedentaryMinutes": 369,
"lightlyActiveMinutes": 139,
"fairlyActiveMinutes": 3,
"veryActiveMinutes": 5,
"distances": [{
"activity": "total",
"distance": 2.3352
}, {
"activity": "tracker",
"distance": 2.3352
}, {
"activity": "sedentaryActive",
"distance": 0.0
}, {
"activity": "lightlyActive",
"distance": 1.4412
}, {
"activity": "moderatelyActive",
"distance": 0.6953
}, {
"activity": "veryActive",
"distance": 0.1987
}, {
"activity": "loggedActivities",
"distance": 0.0
}],
"marginalCalories": 408,
"heartRateZones": [],
"customHeartRateZones": []
},
"goals": {
"caloriesOut": 2685,
"steps": 10000,
"distance": 8.05,
"floors": 10,
"activeMinutes": 30
}
}
Best Answer
7 REPLIES 7

FYI: Fitbit api doc link, I cannot see any changes. it says caloriesBMR, not caloriesBmr
Please check 

https://dev.fitbit.com/build/reference/web-api/activity/get-daily-activity-summary/

Best Answer
0 Votes

I'm running into the same issue. I've had several customers reach out about their calories burned being excessively high.

I'm noticing it on my profile as well where it's claiming I've burned over 10,000 calories in a single day.

Best Answer
0 Votes

This is very interesting. I noticed that my calories on the Fitbit app were not as high as they formerly had been for the same amount of activity.

This began in September.

Bill Pratt
Best Answer

My calories BURNED, that is.

Bill Pratt
Best Answer
0 Votes

@draglist @Pratik_19 yes that's what I'm noting too. The anomaly seems to start for API requests Sep 1, 2024 onwards.

Best Answer

Hi @Pratik_19 

The problem with the element name caloriesBMR being changed to caloriesBmr has been fixed.  You should see the element name back to caloriesBMR.

There are several bugs in the calories values that we are still working through.   I will report the activityCalories problem to engineering and add it to their list to investigate.

Thanks!

 

 

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

 

look like issue is fixed from the Fitbit team, Thank you.

Best Answer
0 Votes