11-27-2018 16:22
11-27-2018 16:22
I am currently pulling data from Daily Activity Summary (https://dev.fitbit.com/build/reference/web-api/activity/) and have several questions about the following fields:
08-09-2020 12:41
08-09-2020 12:41
Why aren't there data dictionaries for these? I've seen requests since 2016
Best Answer08-19-2020 14:50
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
08-19-2020 14:50
Hi @sleepy_dave,
Apologies for the very late response.
@sswift Thanks for the suggestion, we are aware that this is a widely requested item and is being considered.
I hope this helps. Please let me know if you have any other questions.
Best Answer09-21-2022 17:56 - edited 09-21-2022 17:57
09-21-2022 17:56 - edited 09-21-2022 17:57
I've been searching for the same thing, and @JohnFitbit I appreciate your response here, but it doesn't seem to be accurate. Here's what the Fitbit Activity API reports for me for yesterday (omitting other fields):
https://api.fitbit.com/1/user/-/activities/date/YYYY-MM-DD.json
"summary": {
"activityCalories": 3468,
"caloriesBMR": 1774,
"caloriesOut": 4601,
"marginalCalories": 2320
}
Clearly the caloriesOut element is NOT the total sum of activityCalories + caloriesBMR (which would be 5242 not 4601). For what it's worth I didn't manually log anything, all the data is from my tracker, though I also didn't start/stop activities on the tracker, so the activities it captured were just ones it deduced from the data.
I've also not found a definition for marginalCalories.
Best Answer09-23-2022 06:35
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-23-2022 06:35
Hi @ammulder
Let me double-check with engineering on this. While the generalized calculation is caloriesOut = caloriesBMR + activityCalories, it's possible our internal algorithms changes a bit.
I don't have any historical information on what marginalCalories is. We did research this topic last year and worked with our research and engineering teams, but couldn't come up with a concrete answer at the time. I can look into it again.
09-28-2022 06:46
09-28-2022 06:46
Hi @Gordon-C , were you able to get a response from engineering?
I had to laugh a little, thinking, we're all developers here, maybe you can just post the code! 😉
Best Answer01-19-2023 08:42
01-19-2023 08:42
Any updates here @Gordon-C ?
Best Answer01-19-2023 08:50
01-19-2023 09:15
01-19-2023 09:15
I searched the forum for "marginalCalories", and I see a post elsewhere that this field is deprecated and should be ignored.
Best Answer