The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
01-09-2023 10:55 AM - last edited on 07-06-2023 04:50 PM by LouB
Hello
In my application I want to retrieve the heart rate for an activity: the time spent in each zone.
I use: "https://www.strava.com/api/v3/athlete/activities?per_page=200"
Indeed there is the average and maximum frequency. But I would like the time for each HR zone Z1 to Z5.
There is this:
"https://www.strava.com/api/v3/athlete/zones" "Authorization: Bearer [[token]]"
But I don't see the link with the Activity ID.
Do you have options.
Thanks very much
Solved! Go to Solution.
01-17-2023 06:59 AM
Hey there,
The endpoint you linked to (...athlete/zones) will get you the athlete's HR zones. If you'd like to know how much time was spent in each zone for an activity, this is the endpoint you're after.
Cheers!
01-26-2023 11:34 PM
Thank you very much, I'm working on it today.😉
01-17-2023 06:59 AM
Hey there,
The endpoint you linked to (...athlete/zones) will get you the athlete's HR zones. If you'd like to know how much time was spent in each zone for an activity, this is the endpoint you're after.
Cheers!
Welcome to the Community - here is your guide to help you get started!