Skip to main content

Hello,
I know there are various third-party tools that use Strava API data for gathering information for crowns/CRs. However, I would like to gather information on a number of Local Legends for segments that are local to me. I have two questions:
a) Are there any APIs available that include Local Legend data? I did a web search and found several references indicating that Local Legend data is not included in APIs, even though crown/CR data is in the APIs.
b) If I use a web scraping tool to gather the Local Legend information from approximately 200 segments, would this violate any terms of my user agreement? Once again, I know that there are tools that exist to scrape this data for crowns/CRs, but I don't know if the same open policy applies to Local Legends data.
Thank you!
Dennis

The API endpoint /segments/{id} will give you the local legend athlete id, name and number of efforts in the result json:

{
...
"local_legend":
{
"athlete_id":5437327,
"title":"Jan Mantau",
"profile":"https://dgalywyr863hv.cloudfront.net/pictures/athletes/5437327/25064807/2/large.jpg",
"effort_description":"6 efforts in the last 90 days",
"effort_count":"6",
"effort_counts":
{
"overall":"6 efforts",
"female":"3 efforts"
},
"destination":"strava://segments/21100756/local_legend?categories%5B%5D=overall"
}
}

 


Thank you so much! And for my other question, how would I find out if this could trigger any issues on the terms of my Strava account with running this for ~200 segments to compile this information?


If you are using the API you can’t run into issues because you have enforced read limits there per 15 min and per day and you have to wait for the next time slot if you have reached the limit.

I can’t really comment on web scraping and user terms but I know if I look at too many segments in a short time in the web browser at some point first the segment maps and later the leaderboard data don’t load anymore. There seems to be limits too but undocumented and without notifications.


Reply