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

Get Activity Logs List not giving the steps which are not part of any activity

ANSWERED

Get Activity Logs List endpoint not giving the steps which are not part of any activities but auto detected from the Fitbit device.

https://api.fitbit.com/1/user/-/activities/list.json?afterDate=2017-11-26&sort=desc&limit=20&offset=...

 

Example if we match the total steps shown on activity dashboard for a particular date is more than the total steps available for all the activities.

 

Is there any way we can get that ...

 

Please advice.

Best Answer
1 BEST ANSWER

Accepted Solutions

The dashboard metrics (i.e. steps) can be requested as follows:

 

 

GET https://api.fitbit.com/1/user/-/activities/steps/date/2017-12-05/1d.json

 

More details can be found here.

View best answer in original post

Best Answer
0 Votes
10 REPLIES 10

Any comments on this please ?

Best Answer
0 Votes

We are working with the team that owns this API to get you a definitive answer. Sorry for the delay!

Best Answer
0 Votes

The dashboard metrics (i.e. steps) can be requested as follows:

 

 

GET https://api.fitbit.com/1/user/-/activities/steps/date/2017-12-05/1d.json

 

More details can be found here.

Best Answer
0 Votes

@ranjit2 - this should give you the steps data that you want. Please note that you can't access timeseries data in a resolution of less than 1 day without requesting intraday access.

Best Answer
0 Votes

Thanks for replying.

 

I need all the data for the dashboard .. like floors, calories , distance and steps.

Which I can get using below endpoint in the summary.

https://api.fitbit.com/1/user/-/activities/date/2017-11-29.json

 but above url gives me only the activities which are logged manually, hence I need to hit another endpoint which is https://api.fitbit.com/1/user/-/activities/list.json?afterDate=2017-11-28&sort=desc&limit=20&offset=...

 

So my question is that is there is any single endpoint which I can use to get all the activities including the summary(dashboard) data.

 

Thanks. 

Best Answer
0 Votes

Thank you for clarifying your question.

 

Correct. The first endpoint https://api.fitbit.com/1/user/-/activities/date/2017-11-29.json will only return manually logged and MobileRun exercises.

 

There is currently no public endpoint that has both the entire list of activities (tracker included) and the summary data.

Best Answer
0 Votes

Good point.

Best Answer
0 Votes

Ok Thanks.

Best Answer
0 Votes

Ok Thanks.

 

Let us know if anything comes in the future like this.

Best Answer
0 Votes

I'm hoping this will get to app developers: has anyone considered developing an alternative/add-on to ionic's exercise app?

 

i ask this as a frustrated ionic user and user of the running app; please see my posts to this thread:

 bmw54
Problem with Ionic GPS
on 12-07-2017 12:50

 

this is intriguing. The ionic collects a rich set if geo coordinates, elevation, heart rate stats  ( i've scanned my data files). But instead of calculating distance by using gps, it uses its stored stride length and step count.  This may be ok for people who who don't vary their pace very much, but for competitive racers it is very frustrating: the faster I run, the slower ionic measures my pace while it grossly understates distance. This renders ionic useless whenever I race. 

 

i'd lIke to have an app that calculates distance with more sophisticated algorithms based on its rich set of collected geo coordinates and altitude gain.

 

if anyone needs data, I'll be willing to share mine. 

 

bmw54

 

 

 

 

Best Answer