06-11-2016 20:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-11-2016 20:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi, everyone,
I'm a newbie in developing an android application using Fitbit App, By using the request like this: GET https://api.fitbit.com/1/user/-/activities/date/2016-05-14.json
I can get the following response; However, I find that no matter which day I fetched, the activities are ALWAYS empty, which is so weired because I check the dashboard of Fitbit and find that there actually have some data.
In this response, it seems that the goal and summary is correct and correspond to the day's data, but activities are missing, is there anything that I misunderstood? Thank you very much for your help!
{"activities":[],
"goals":{
"activeMinutes":30,
"caloriesOut":2432,
"distance":8.05,
"floors":10,
"steps":10000
},
"summary":{
"activeScore":-1,
"activityCalories":1702,
"caloriesBMR":1599,
"caloriesOut":3018,
"distances":[
{"activity":"total","distance":7.96},
{"activity":"tracker","distance":7.96},
{"activity":"loggedActivities","distance":0},
{"activity":"veryActive","distance":2.54},
{"activity":"moderatelyActive","distance":1.53},
{"activity":"lightlyActive","distance":3.88},
{"activity":"sedentaryActive","distance":0}
],
"elevation":33.53,
"fairlyActiveMinutes":63,
"floors":11,
"heartRateZones":[{
"caloriesOut":1344.7544,
"max":90,
"min":30,
"minutes":813,
"name":"Out of Range"
},
{"caloriesOut":1153.7735,
"max":126,"min":90,
"minutes":197,
"name":"Fat Burn"
},
{"caloriesOut":46.7731,
"max":153,
"min":126,
"minutes":6,
"name":"Cardio"
},
{"caloriesOut":0,
"max":220,
"min":153,
"minutes":0,"name":"Peak"
}
],
"lightlyActiveMinutes":210,
"marginalCalories":1069,
"restingHeartRate":57,
"sedentaryMinutes":701,
"steps":11433,
"veryActiveMinutes":62
}
}
Answered! Go to the Best Answer.

Accepted Solutions
09-06-2016 13:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-06-2016 13:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
You need to use the Get Activity Logs List endpoint to get the list of activities.

09-06-2016 13:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-06-2016 13:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi YuCao, I'm seeing the same behavior and I was wondering if you had any additional updates? Were you able to resolve this issue? Thanks!

09-06-2016 13:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-06-2016 13:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
You need to use the Get Activity Logs List endpoint to get the list of activities.

09-06-2016 13:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-06-2016 13:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi Jeremiah,
Thank you for the quick response. I'll change to use the Activity Log List endpoint, but I see that the documentation for this endpoint notes that it is in beta. Is there a sense that this endpoint is relatively stable and no breaking changes are expected? Also, I'm assuming now that there are no circumstances where activities would be returned in the Daily Activity Summary response (based off the API documentation I read initially I thought there might be)? I appreciate your help on this!

09-06-2016 13:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-06-2016 13:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It is relatively stable. The only expected changes are that 'limit' will be enforced, 'offset' will be removed (which is why it is documented that it should always be set to 0), and additional values may be added.

