cancel
Showing results for 
Search instead for 
Did you mean: 

HeartRate

Charly
Mt. Kenya
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
1 ACCEPTED SOLUTION

Elliott
Community Manager Community Manager
Community Manager

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 solution in original post

2 REPLIES 2

Charly
Mt. Kenya

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

Elliott
Community Manager Community Manager
Community Manager

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!