Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
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,
Hey all - is there a way to return upcoming club event activities? I didn't see it in the documentation. Appreciate any advice. Thx!
Hello Strava Community,I'm experiencing an issue with the "Get Activity Streams (getActivityStreams)" method. When an activity lasts more than 5-6 hours, the response includes an excessive amount of data, resulting in a 500 server error. Is there a way to limit the number of data points returned to prevent this heavy response?I understand that different stream types (keys) can be queried individually by passing them as parameters, allowing us to request data like distance, time, heart rate, watts, etc., separately instead of all at once. However, even when querying individually, we're still encountering a 500 error for long activities. With the increasing popularity of long endurance sports, where athletes cover distances of 200 miles or more, we can expect very large activities, even in training sessions.For instance, Garmin provides an option to restrict the number of data points returned, which reduces the data load. While this results in less accurate data, it is often sufficient f
I'm developing a web app to fetch athletes activities in daily basic ( eg cycling) using API. While fetching API im not able to fetch date/time of activity and Athlete ID. Even I contacted strava help but they dint helped and said to refer community forum. Do someone have answer or reference to this issue. ( I hope strava limits are to ensure security) . Is there any way?
In https://developers.strava.com/docs/reference/ there are examples in C# using the com.strava.api.v3.api libraries, but where download the libraries from?I tried downloading from https://github.com/tdao7/.Net-Strava-API and some api calls work, but it is different from the examples in the documentation and other api calls don't work.
HelloI want to create app for me and my friends - around 10 people.We want to share out activities within this app but it will be only for our private usage. We want to scale some results within different types of activities and create ranking who made the longest distance.So I need to store in my private database three information from Strava: date, distance, athlete name.Is it possible to store such information in private database? Because I found in API Agreement such statement: “your Developer Applications are prohibited from storing any Strava Data”
Hello, We have a swimming app and have a limit at 999 for number of athletes allowed to connect. We reached this limit. How to get past it? How to raise the limit? Thanks a lot
Hey,During the Auth process, we are requesting (amongst others) the scope activity:write. Is there a way to determine if the user deselected (or indeed kept selected) this permission during the Auth Process? Either in the response back from in the auth process, or, at a later date with a separate API request? At present, the only way I can see how to determine it is to try to write and catch the Unauthorised Error (a pretty ugly way to do it!). Thanks
Hi there 👋As a developer an a Strava user, it will be very helpful to add an optional parameter to the getLoggedInAthleteActivities request so it only returns activities matching a specific type.For example, if an app only use Strava API for bike stats, it could only get the activities matching the type "Bike".Thanks for your attention! 😁
I have a new user connected to my app two days ago. Out of the sudden I am reciving batches and batches of webhook events for activities updates. The updates are: {"visibility":"everyone"}Activities to be updated are from 2014, 2015, 2016 and so on. I have asked the user how she did it. And she says she have changed the account visibility about 2 weeks ago.So my question is are those events are still coming from that change 2 weeks ago (before connecting to my app) or there is some other logic behind such webhooks behavior?
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.