Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
Good afternoon,I'm having trouble with different pages being returned in the "/segment_efforts" query. Could there be a problem?https://www.strava.com/api/v3/segment_efforts?segment_id=1602541&per_page=10&page=2Thank You
Dear Strava Developer Support Team,I am currently working on a project that requires integrating with the Strava API using PHP. However, I noticed that your official developer site does not provide PHP-supported code examples.After searching, I found a PHP repository on GitHub that seems to be aligned with Strava’s API, but it currently has seven unresolved issues.Additionally, the code requires an "ACCESS TOKEN" to function correctly, but I couldn't find clear documentation on how to generate or retrieve this token specific to PHP implementations.Could you kindly provide guidance or official PHP code examples for integrating with your API? Furthermore, I would appreciate detailed instructions on how to obtain the necessary access token.
Hi Strava Dev Community,I’m currently building an app that leverages Strava's API to enhance the experience for inline skaters. Our main goals are to:Highlight Top Skating Segments: Feature the best segments in cities like Singapore, LA, and Barcelona.Reward Top Performers: Display the top 3 skaters per segment and award points to foster friendly competition.Boost Community Engagement: Encourage connections and engagement within the inline skating community.We’re focused on complementing Strava’s existing features without replacing the benefits of a Strava Pro subscription. I tried to use the fetch leaderboard segment API but I believe it's been disabled?Strava API response: 403 Forbidden Leaderboard data: { message: 'Forbidden', errors: [] } Error fetching leaderboard: { message: 'Forbidden', errors: [] }Having access to segment leaderboard data would greatly enhance our ability to do this. Is there any possibility for special access or recommended alternatives that align with Strava’
We've been experiencing consistent 403 errors (rate limit exceeded) since August 15th, despite consuming only 10% of our daily API quota. Our usage graph shows an inexplicable spike of 100x our normal traffic, resulting in both daily and 15-minute limit breaches. We've paused all API requests, but the graph continues to display high usage.An attached screenshot illustrates the anomalous activity. We suspect a potential DDoS attack is artificially inflating our usage. Has anyone else encountered similar issues? Any guidance or support would be greatly appreciated.
Calories burned is available when using the getActivityById call but not when using the getLoggedInAthleteActivities call. I am using the API to generate a dataset with ALL of my Strava activities and having calories available for the historic dataset would be ideal. Am I missing something or is there a reason calories have been omitted from the getLoggedInAthleteActivities call?Thanks!
Bonjour, Je souhaiterais savoir si lors des enregistrement d'activités vélo, Il serait possible de différencie les les segment et effort par type de vélo, VTT, GRAVEL,CYCLISTE, VTTE, car les effort et segment sont confondu pour tout type de vélo, ce qui fait n'es pas très comparable entre un vtt à gros crampons et cycliste sur route ou même vtte ?TRANSLATION: Hello, I would like to know if when recording cycling activities, It would be possible to differentiate the segments and effort by type of bike, MTB, GRAVEL, CYCLIST, MTB, because the effort and segment are combined for all types of bike, which makes it not very comparable between a mountain bike with big studs and a road cyclist or even a mountain bike?
Is there an email address to contact Strava and request a test account?
I tried it by creating a Webhook using a pho script but it was unable to verify the callback url for the webhook. in the Json return not verifiable. I need help for to fixed.
i tried it by creating a Webhook using a python script but it was unable to verify the callback url for the webhook.. I've gotten the webhook working through Zapier for the purpose of the app, but I'm worried that when I apply to have the app recognised by strava so more people can join it that they wont accept it if it doesn't use a coded in webhook..
Hello everyone!I have a question regarding when a user authorizes an application linked to strava to get his data and based on that, you get the id of the athlete of that user, his accesstoken and refresh token.My question is, when a user accepts the terms of the application he is joining, if he previously linked to another application, the tokens of that previous application will have expired, right? Because when it is linked to the new application it generates both new access token and refresh.Is there no way to persist minimizing the same refresh?Or any way to access the information of a user without the tokens of that same user?Perhaps using the tokens listed in the API config?The documentation always talks about the authenticated user, but in cases where a user is linked to several applications, it is difficult to always have the tokens due to the rotation that is generated when linking to a new application.
Good morning,I'm trying to obtain the times of each user on a segment, but it's not being possible. Firstly, because if I have the user log in on my platform to exchange the access token, I get an error that only one person can be connected. So, I conducted a test by making this request: https://www.strava.com/api/v3/segment_efforts?segment_id=35310022&start_date_local=2022-05-21T00:00:00Z&end_date_local=2022-05-21T23:59:59Z&per_page=3, which is executed correctly but I had to use the user's access token by creating an API in their profile... and obviously, for my program, I don't want that, to obtain the segment_effort. I would like to know if there would be a possibility to take the times of each user from a segment created with my user acting as an API, specifically using my own Strava API. Always assuming that the user has public visibility.Or what possible solutions are there for this problem.Thank you.
I'm leveraging Strava for displaying my user data, including the profile photo.The profile photo url that's returned is unique to the photo, so it's not updating the photo it returns automatically.What I figured, then, was that I could just listen to inbound events from the Webhooks and update the Photo URL reference on subscribed users, but I don't seem to be getting any events for user profile updates. Am I missing something? If not, it would be GREAT to have a permanent, static profile url that I just continue to reference.
Has anyone else noticed that that the rate limit headers sent with all API responses changed after the outage yesterday? Previously the headers were CamelCase (e.g. X-RateLimit-Limit) and now they are all lowercase (e.g. x-ratelimit-limit).Did I miss an announcement or is this just a surprise change? And I guess if you're reading this, heads up that the headers appear to have changed so if you have any rate limiting logic be sure to update it.
We have reached the 999 Athlete limit and have tried contacting support, resubmitting the app for verification, and we have not heard back on how to increase these limits.Is there a separate contact form or method to get this number increased?
Bad request when registering a push subscription. I checked output of my url and get the 200 with correct response within miliseconds. Could this be because my api is accessible over ipv6 only? ( no ipv4 available.. ) Cheers
Hello, after check API documentation I have not been able to find how to call go get the leader segments per one athlete. My question is:We need use the parameter: "id" (The identifier of the athlete)We need to get at least the following details per each leader segment:"name" (name of leader segment)"kom_rank" (kom rank of leader segment)"start_date" (date of leader segment) In short, we need to get this data that is shown on website by making an api call:https://www.strava.com/athletes/45686340/segments/leader Thanks for your helping, I will wait for your replies!!Regards,
Trying to create a push subscription in basic php for authorised users but getting HTTP 400 error Connection #0 to host www.strava.com left intact HTTP Status Code: 400 Error Response Body: Array ( [message] => Bad Request [errors] => Array ( [0] => Array ( [resource] => PushSubscription [field] => bad [code] => request ) ) ) Strava API Response: {"message":"Bad Request","errors":[{"resource":"PushSubscription","field":"bad","code":"request"}]} HTTP Status Code: 400 Error Response Body: Array ( [message] => Bad Request [errors] => Array ( [0] => Array ( [resource] => PushSubscription [field] => bad [code] => request ) ) )
Hi Developers, I am want to show static image for the path of the activity done by strava users. Through strava api I get two polylines one is for summary and other is complete. Now how can I show the path using mapbox as I have used static map api but not working. Is there anything regarding the URL encoding or decoding? If anyone has proper docs to generate a successfull URL then you should share here.Thanks and RegardsAtul Sharma
Hello,I use a subscription to webhook on my webapp and it works very fine, but i have a question about this use case:- a user in my app decides to deauthorize Strava.- i do some stuff on its account (unset stored data for this user like athlete id, token, refresh token, expiration timestamp...)- in the same time i post to Strava API POST https://www.strava.com/oauth/deauthorizewith required data for this user.At this step all is working fine. The deauthorization for this user is done.But, few seconds later i also receive strava webhook event on my callback subscription url to inform me about the deautorization!My understanding of webhook is Strava is posting events to my app when an event for an account registered to my app is happening not in my app but in Strava.So my question is why Strava triggers this event when the deauthorization is starting from my app.Thanks a lot for your reply.Joel (from France ;))
Dear Strava team,I'm trying to develop an application that connects the app with my social network website where coaches and athletes can monitor their physical activities using the Strava's API. But when I use the API to log in with a second account, the following error appears:Error 403: Limit of connected athletes exceeded.This app has exceeded the limit of connected athletes. If you are a developer of this application, please contact Strava developer support for how to request a quota increase. What are the conditions for quota, pricing, etc? Please note that I'm not using the developer account at the moment, so I'd like to know what is the procedure so I can apply with my developer account. Can you please help me with this? Thank you in advance.
I have an app that is fairly integrated with Strava. I'd love to be able to have users create accounts via Strava directly, but it seems like the API doesn't expose email at all. This makes sense from a security standpoint, but it also makes the auth flow a lot more frictiony.What's the best user experience you've seen on this front?
Hi All, currently I am developing one application, its goal is below:1. I have one club2. I will create many challanges under the club3. Athlates will join under the challange4. Once they post the activity in challange, I need the webhook call. I tried web hook with activity:club_activity but not meet my expectation kindly help me to resolve this one,
Hi team.I wanna to know list athletes conneced to my app, and remove there if i need. because usually some account connected but not used.thanks team support!
We have hit the 9,999 Athlete limit and resubmitted the app for verification. I haven't heard back from the review team yet. Could you please let me know what is the process to increase the athlete limit?Thanks
Dear Strava Developer Support Team,I am writing to request an increase in our athlete capacity limit. In just one week after releasing our integration, even with a staged rollout, we have already reached the 999 allocated Strava athlete limit. We would like to significantly increase our Strava user limit to support our full rollout.Our platform currently has a large number of monthly active users, primarily weightlifters and bodybuilders. A substantial portion of our users incorporate cardio exercises, often using apps like Strava, to aid in fat reduction. Increasing our athlete capacity limit would greatly benefit our user base.Please let me know if there is any additional form we need to fill out to request an increase in athlete limits. Thank you very much for your assistance.Best regards,
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.