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?
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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.
Best Answer