12-09-2025 07:47
12-09-2025 07:47
We're working with the Fitbit Web API and need some clarification on how date parameters are interpreted for several of your endpoints. For the following endpoints, how should the date parameter be interpreted?
Get Sleep Log by Date:
Get Food Log:
Get Activity Log List:
We're experiencing a possible timezone-related issue on our end where users in timezones ahead of UTC experience delays in data updates. When Fitbit sends a webhook with a date field, we parse it as UTC and use that date directly to query your API. For users in timezones ahead of UTC (e.g., Singapore UTC+8), this creates a timing issue:
Should we query the API using the webhook date string directly (treating it as the user's local calendar date), or do we need to convert it based on the user's timezone first? Any clarification on how these date parameters should be interpreted would be helpful. 🙏
Answered! Go to the Best Answer.
Best Answer12-09-2025 21:55
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.
12-09-2025 21:55
Hi @atjames , and welcome to the forums!
You can check out this information on Time Zones for getting Fitbit data: https://dev.fitbit.com/build/reference/web-api/developer-guide/application-design/#Time-Zones
As noted in the documentation, Fitbit does not support time zones for data, so the date and time of the user data is based on their local calendar date. Although, there are some endpoints that support query parameter "timezone=UTC" for returning data at UTC (ex: Heart Rate Time Series). Otherwise, you will need convert it to the user's timezone first before querying.
Let us know if you have further questions!
12-09-2025 11:19
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
12-09-2025 11:19
(Moved to Web API forum.)
Best Answer12-09-2025 21:55
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.
12-09-2025 21:55
Hi @atjames , and welcome to the forums!
You can check out this information on Time Zones for getting Fitbit data: https://dev.fitbit.com/build/reference/web-api/developer-guide/application-design/#Time-Zones
As noted in the documentation, Fitbit does not support time zones for data, so the date and time of the user data is based on their local calendar date. Although, there are some endpoints that support query parameter "timezone=UTC" for returning data at UTC (ex: Heart Rate Time Series). Otherwise, you will need convert it to the user's timezone first before querying.
Let us know if you have further questions!