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

Calorie data not found in Lifetime stats api

ANSWERED

We are fetching lifetime stats with the following api
https://api.fitbit.com/1/user/[user-id]/activities.json

We are getting total lifetime stats for distance, floors and steps but the value for caloriesOut is always -1.

Like this

 

lifetime: {
   total: {
        activeScore:-1
        caloriesOut:-1
        distance:238.17
        floors:979
        steps:331540
    }
}

 

 

It should actually be like this

"lifetime":{
        "total":{
            "caloriesOut":60223,
            "distance":2711.62,
            "floors":2500,
            "steps":203300
        }
}

As shown here https://dev.fitbit.com/docs/activity/#get-lifetime-stats

 

We only need caloriesOut, distance, floors and steps. Some help would be much appreciated.

Thank you.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Calorie data was removed from lifetime stats. We will update the documentation.

View best answer in original post

Best Answer
1 REPLY 1

Calorie data was removed from lifetime stats. We will update the documentation.

Best Answer