08-01-2022 06:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-01-2022 06:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Using the Web API, various calls will include a 'distance' attribute value.
However, I can't find a way of determining the unit of distance, whether the value represents miles or kilometres.
Any suggestions?
08-04-2022 15:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-04-2022 15:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @IanHayes,
The distance traveled for the day displayed in the activity is defined by the Accept-Language header. You can also use the Get Profile endpoint to see what unit preference the Fitbit user selected by locating the distanceUnit element in the response.
I hope this helps. Let me know if you have any other questions.

