06-05-2018 07:53 - edited 06-06-2018 01:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-05-2018 07:53 - edited 06-06-2018 01:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
what is the distance unit the data is returned in this API
https://api.fitbit.com/1/user/-/activities/tracker/distance/date/2018-01-26/2018-01-27.json
Will this API always return Distance in kilometers even I setup my Distance Unit = Miles in the Fitbit App?
Is there API to get the user's distance setup (Miles/Kilo Meters)?
Thanks in advance.
06-12-2018 09:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-12-2018 09:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@SowmiyaMadesh I answered your question on another post where you commented. We will send the data back in the unit defined by the Accept-Language header. The Accept-Language values "en_US" and "en_GB" are case sensitive. If you use the Accept-Language header en_US, then your distance unit data should return in miles.
https://dev.fitbit.com/build/reference/web-api/basics/
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

09-18-2018 12:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-18-2018 12:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
This is such a poorly documented API. Can you please add that to https://dev.fitbit.com/build/reference/web-api/activity/#get-daily-activity-summary

09-18-2018 14:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-18-2018 14:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @KidA001. Thank you for the feedback on the documentation. I'll see what we can do to improve the documentation in that area.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

