Skip to main content
Solved

HeartRate


Forum|alt.badge.img+2
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

Best answer by Elliott

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! 

 

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+20
  • Community Manager
  • 132 replies
  • Answer
  • January 17, 2023

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! 

 


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • 1 reply
  • January 27, 2023

Thank you very much, I'm working on it today.😉 😉


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings