Getting another athlete's totals and stats

692 views
Skip to first unread message

Brett Cave

unread,
Jul 13, 2016, 1:37:54 AM7/13/16
to Strava API
Hi all, wondering if this would be considered a valid suggestion to send through to the Strava developers, or is already accessible?

As a Strava user, I am able to get side-by-side comparisons of all time stats between myself and any other athlete (shown on their profile page) - this info is available even if the other athlete has to authorize follow requests (i.e. the security does not allow restricting of all time stats from authenticated users). However, I am unable to get a followed athletes stats via the API.

https://strava.github.io/api/v3/athlete/#stats - "Only available for the authenticated athlete"

trying to access a followed athlete's stats via the API returns a permission error. Considering that the security model allows accessing this data via the webapp, A) is there a way to get stats for another athlete via API? And if not, would it not make sense to make this endpoint accessible based on the security that the webapp provides?

Regards,
Brett

Chris Lin

unread,
Jul 18, 2016, 11:49:28 PM7/18/16
to Strava API
I'm curious about this as well. I want to look at my friends I am following and pull their total and stats (which I can view on the website)  but for some reason the API insists on only allowing me to get the stats for people who are authenticated. Seems like it if I can see it on the wbesite, I should be able to see it from the API.

Brett Cave

unread,
Jul 19, 2016, 6:15:47 AM7/19/16
to Strava API
Thanks for the feedback Chris - sent through the suggestion to the devs.

Favio Torres

unread,
Jul 21, 2016, 6:32:29 AM7/21/16
to Strava API
I ran into the same problem. My bother is an authenticated user and I can't see his stats, only koms.

Steve King

unread,
Jul 26, 2016, 5:26:16 AM7/26/16
to Strava API
+1, I would really like to be able to access 'Totals and Stats' for athletes in my 'Friends and Followers' lists.


 

Francisco Luque Valencia

unread,
Aug 3, 2016, 11:27:09 AM8/3/16
to Strava API
Can I get information about gear's others users?

I have id's gear but with mi access_token y cant access to this informatio of others users.

thnx

Matt Gifford

unread,
Aug 10, 2016, 9:12:44 AM8/10/16
to Strava API
I agree. It's frustrating that we cannot get specific activities or stats for an athlete if we have their ID. It's not private information and should be available through the API.

Jamie R. Rytlewski

unread,
Jul 8, 2017, 8:14:16 PM7/8/17
to Strava API
I know this is a bit older, but I think at least the YTD for the followers would be awesome. I'd love to see how I rank YTD versus my other friends. 

Philip Kirkland

unread,
Jul 24, 2017, 7:25:15 AM7/24/17
to Strava API
Did this ever make it anywhere? It seems logical to include it to me, since you can get that info via the normal Strava UI.
Reply all
Reply to author
Forward
0 new messages