03-23-2021 17:50
03-23-2021 17:50
The "Get Activity Time Series" endpoint offers time-series data for several different activities. However, the limits on the date range are (1) not specified and (2) inconsistent. I have tested this on a subsection of the allowed options.
For these options:
activities/tracker/calories
activities/caloriesBMR
activities/steps
activities/floorsis seems there is no limit, or at least the limit is more than 3 years (range since my tester member has joined until now).
For these options:
activities/minutesFairlyActive
activities/minutesVeryActiveThe range is smaller. How small? You have to guess as a developer. No mention in the docs and very unhelpful error response: "validation - Request - The number of data points queried exceeds limit".
The question is 2 fold:
03-24-2021 16:53
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.
03-24-2021 16:53
Hi @patrickkus
The limit for those 2 resources is ~1 million data points. You will see varied limits depending on how much data each user has. I would recommend reducing your date range to several months to 1 year.
I will make a request to have the information added to the documentation.
Gordon
Best Answer