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

Can I use the API to read and write steps to fitbit.com?

I am wondering if it is possible because I am trying to make an app for (the now failed) Kreyos Meteor and I would like to be able to write the steps it counts to fitbit.com

Best Answer
0 Votes
7 REPLIES 7

You can log steps using

https://wiki.fitbit.com/display/API/API-Log-Activity

And then read it with 

https://wiki.fitbit.com/display/API/API-Get-Activity-Stats

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes
And logging it with that API would log the step count?
Best Answer
0 Votes
Or just the duration, calories burned, etc.
Best Answer
0 Votes

@FF7CloudsNobody wrote:
And logging it with that API would log the step count?

With logging activities, you would log a distance and a step count is derived based on the user's stride length. I encourage you to give it a try and you will see the exact behavior.

 

You can use our API Explorer to make all of those API calls: https://wiki.fitbit.com/display/API/API+Explorer

Best Answer
0 Votes
What I mean by this is my Kreyos Meteor currently reads 9499 steps, within the app it says the same, I want to have that sync over to Fitbit.com so Fitbit reads 9499 steps, can I do this with the current APIs available
Best Answer
0 Votes

@FF7CloudsNobody wrote:
What I mean by this is my Kreyos Meteor currently reads 9499 steps, within the app it says the same, I want to have that sync over to Fitbit.com so Fitbit reads 9499 steps, can I do this with the current APIs available

You cannot log steps but you can log an activity with distance which we then generate an approximate step count for based on the user's stridge length.

 

If you log a walking activity with 5 miles for example, you will see that the steps do add towards your total Fitbit step count. Give it a try.

Best Answer
0 Votes

@FF7CloudsNobody wrote:
What I mean by this is my Kreyos Meteor currently reads 9499 steps, within the app it says the same, I want to have that sync over to Fitbit.com so Fitbit reads 9499 steps, can I do this with the current APIs available

Edit correction, yes you can log steps. Take a look at:

https://wiki.fitbit.com/display/API/API-Log-Activity

If you specify walking as the activity, you can send "Steps" as the measurement unit for distance

Best Answer
0 Votes