09-21-2025 03:56
09-21-2025 03:56
Hi, I am university student. I need to use this in order to complete my project. However, when I try to access intraday data, it only limit by day. I want to access the data in short period like this; https://api.fitbit.com/1/user/-/activities/heart/date/<start_date>/<end_date>/1sec/time/18:00/18:05.json or maybe like this; https://api.fitbit.com/1/user/-/activities/heart/date/<start_date>/<end_date>/1min/time/18:00/18:05.json is it possible?
09-21-2025 07:59
09-21-2025 07:59
As the API documentation for intraday data mentions, you can only request data for a 24-hour period (https://dev.fitbit.com/build/reference/web-api/intraday/get-heartrate-intraday-by-interval/). This means it's not possible to get data for two five-minute periods on two or more different days in a single request. You will need to make separate requests. Be sure to check the rate limits if you're making many requests in a short time.
09-22-2025 05:41 - edited 09-22-2025 05:43
09-22-2025 05:41 - edited 09-22-2025 05:43
Hi. Thank you for your reply. It really help a lot. However, how can I access to intraday data if i set it as server in my app setting?
Best Answer09-22-2025 13:15
09-22-2025 13:15
Hello @armanmazlan03 I'm not sure what you mean with "if I set it as server in my app setting". Can you explain this in more detail?
Best Answer09-22-2025 13:21
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
09-22-2025 13:21
If you use 'server', I think you have to apply to get permission to access intraday data. See here.
Best Answer