I'm getting exercise intensity and steps with API
API used
①activities / minutesSedentary
②activities / minutesLightlyActive
③activities / minutesFairlyActive
④activities / minutesVeryActive
⑤activities / steps
I'd like to know the period for obtaining ①②③④⑤.
For example
①activities / minutesSedentary
Can get the data of one month ago.
Please let me know if you know.
Answered! Go to the Best Answer.
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 @matsusho,
You can get periods for 1,2,3,4,5 returned in increments of 1d, 7d, 30d, 1w, 1m, 3m, 6m, 1y.
In terms of how far back you can query this data, you can query as far back as January 2008. However, there is a limit to how much data the API calls can return in a single execution, so you may need to execute the call multiple times to adjust the date ranges.
For more information, visit our documentation for the GET Activity Time Series endpoints.
I hope this helps. Let me know if you have any additional questions.
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 @matsusho,
You can get periods for 1,2,3,4,5 returned in increments of 1d, 7d, 30d, 1w, 1m, 3m, 6m, 1y.
In terms of how far back you can query this data, you can query as far back as January 2008. However, there is a limit to how much data the API calls can return in a single execution, so you may need to execute the call multiple times to adjust the date ranges.
For more information, visit our documentation for the GET Activity Time Series endpoints.
I hope this helps. Let me know if you have any additional questions.