Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
Is it at all possible to change the map back to the way it was before the recent update? Whenever I click on a ride now, the formatting of the ride map is very klunky and hard to navigate or view (line is too thick). I also can no longer overlay my rides with heat maps which is disappointing. To me this is a case of, if it ain’t broke, don’t fix it.
The user who set up our Strava developer account has now left the company, the users who could have set up that account have left the company and their email accounts have been deleted.I have the client ID and secret for the application and am looking to change the callback url.Is there a way for me to change the email on the account? Alex
Hi all, It's possible via API obtain the components of a determinate equipement? In API Reference we can obtain component info by:GET /gear/{id}but it does not return components info 😓:{ "id" : "b1231", "primary" : false, "resource_state" : 3, "distance" : 388206, "brand_name" : "BMC", "model_name" : "Teammachine", "frame_type" : 3, "description" : "My Bike." }
Hello Team, many of us after giving Kudos for a while, become suddenly unable to do so. The answer was wait 1h, 3h or 1day, it will rework.From my humble perspective, only developpers or Coders can explainWhy does this happen?How to fix this issue? I deleated cache and even data, disconnected Strava… Many friends told me that they face the same problem…. Thank you beforehand for fixing this issue. Strava without this ability is no more Strava, isn’t it? Stéphane Premium member and 11 Ironman finisher ;-)
Hi everyone,I'm having an issue with Strava's webhook for my side project and could really use some help. My webhook subscription seems to be partially working since I do receive events when an athlete deauthorizes the app. However, I'm not receiving any events for new activities.Here are some details about my setup:The webhook subscription is successfully created.I have verified that the authorisation scope activity:read_all is granted.Despite this, new activity events are not coming through.Has anyone encountered a similar issue or have any idea what might be causing this?Thanks in advance for any suggestions!Best,Marvin
So here’s where I got to -created a new push subscription successfully and got a subscription Id back tested my endpoint to ensure it can process test POST messages ok, and has logging in place to show if it gets called I login as a user and authorize the app with the scope activity:read_all,read,read_all,profile:read_all, and verified that the context with the access token also includes those scopes Now I go to strava and change or create a new activity, but nothing gets sent to my webhook if I deauthorize the app from the settings/my apps page, I see the post getting send successfully to my endpoint with the right Id in for my user, and telling me the athlete has deauthorised. Wondering why I’m not getting any of the activity updates. My app that the client logs in with works fine and I can query all activities and profile data with the supplied access token. The Strava developer page for my API shows I have 1 user connected, as expected.One strange thing I notice is the strava my
Hi, I am working for a trail running event organization and I would like to know if it would be possible to create a route from a GPX directly with the API, specifying waypoints in the body. It would allow to generate the iframe to show the route with 3D flyover on their website for each race by just importing the gpx in their website admin dashboard.The important point is that all of their waypoints and gpx files are stored in their database so it would allow to not spend time on strava route creation each year for their multiple races as they would only recreate something that they have already done.Thank you for fatmap integration by the way!
Hi, I have an app synchronized with the Strava API, where I search for athletes' activities done on Strava and save them in my database. However, some people are connected, but the synchronization is not done.I would like to know if there is any way to check which athletes are synchronized on the Strava side. Is there an API where I can do this search?Thanks.
When I try to get all the activities of the currently authenticated user, I have no problem with the vanilla endpoint with no parameters, iehttps://www.strava.com/api/v3/athlete/activitiesreturns a list of 30 of the authenticated athlete’s activities. However, if I try to use any of the parameters noted in the documentation, such ashttps://www.strava.com/api/v3/athlete/activities?page=1then I receive the following error:HTTPError: 403 Client Error: Forbidden for url: https://www.strava.com/api/v3/athlete/activities What am I doing wrong here? I am using the requests library in python, if that is helpful.
I have an Application API (old version, athletes not limited) used in our system to build Running Challenge in my company. For now, Strava API apply Number of athletes allowed to connect: 999 but my company over 2500 staffs. Many people cannot link to their Strava account.I've completed the form STRAVA API PROGRAM SUBMISSION FORM already. Hope Strava Developer Admin can see and approve my request. Our Running Challenge is opening for registration and starting soon. Please help. Client ID: 90924
I have just started a training plan and I'm trying to view it so I know what runs to expect or even just to see if what run I have to do tomorrow when said plan is meant to start? I did the way it tells you to online but every time I click training log it sends me straight onto the app on some random users page and says other athletes training logs aren't available? Any ideas
I am trying to integrate with the Strava API, but I found that my cycling activities recorded with my mobile have splits and only one long lap. However running activities recorded with my Sunnto watch have automatic laps and splits, and the laps I indicate for circuits workouts in my watch come as laps and no splits. Is there any place where we can see the expected structured for activity types? When I check with API Docs I only find one example of activity type data. But, how to cover all possible outputs?
Hi Strava community!On my account, it is possible to manually export a GPX file of an activity (not a route, an activity). This GPX file can then be imported in another app (specific for biking stats for example).Is there a way to do it programmatically? On the API documentation, I saw that there is an endpoint to extract GPX for a route but not for an activity.I've understood how to get the list of activities I am looking for from the public API and their ids, but is there a way to get the GPX file from a specific activity?I also haven't found parameters to filter the activity list we can get from the GET activity endpoind (to search for ride activities only for example). This is available using the desktop app.Is there a way to do this? Thank you for your answers.
Looks like the API is not returning YTD totals for athletes yet. Has anyone else run into this?[ytd_ride_totals] => stdClass Object ( [count] => 0 [distance] => 0 [moving_time] => 0 [elapsed_time] => 0 [elevation_gain] => 0 ) [ytd_run_totals] => stdClass Object ( [count] => 0 [distance] => 0 [moving_time] => 0 [elapsed_time] => 0 [elevation_gain] => 0 ) [ytd_swim_totals] => stdClass Object ( [count] => 0 [distance] => 0 [moving_time] => 0 [elapsed_time] => 0 [elevation_gain] => 0 )
Hi, Since the 7th of January we have experienced already three times (7h and today two times) that the webhooks have gone crazy. For a period of 1 hour it generates a DoS in our systems.We are returning 200 HTTP code fast, and we make everything else in background. So our sever is suffering.Thank you.
Is there a way to remove a user from the app. I can delete all the user data from my side, but I can't remove their subscription from strava (from what I can see this isn't possible).I am geting events for users that have been removed and I dont need to have those events.Maybe I am missing something, I would appreciate any help/advice.
Hello,This link explains how to deauthorize an application.https://developers.strava.com/docs/authentication/#deauthorization`access_token` is a required param. Does it need to be active? Or can it be expired?I'm assuming it can be expired. For example, a user should be able to deauthorize an application many days after they initially authorised it.Thanks!
Hello Allcan you please help me to find out that why every time access key is expire.i have a website where i need to fetch all the races of a user who have account in strava, now i have created that user access token key and store in my database, every time when user come and want to see all races its showing that your access key is expire, again i have to regenerate the key and the process going on. kan anyone please tell me why its happen?
Hello, I followed the steps given at: https://developers.strava.com/docs/webhookexample/ and https://developers.strava.com/docs/webhookexample/.I implemented the get and post methods to address the verification and calls for the webhooks according to the documentation.However, when I call the following URL, I keep getting the same error:curl -X POST https://www.strava.com/api/v3/push_subscriptions -F client_id=MASKED -F client_secret=MASKED -F callback_url=MASKED -F verify_token=MASKEDI also tried calling the endpoint directly, according to the command below:curl -X GET ‘{your-callback-url}?hub.verify_token=test&hub.challenge=15f7d1a91c1f40f8a748fd134752feb3&hub.mode=subscribe’I'm able to see the challenge in the response.I also enabled logging to the server, and I can't see any calls on behalf of strava when I post to push_subscriptions. I also set the authorization callback URL as the same as the webhook callback.What am I missing?
Hi.He have this activity: https://www.strava.com/activities/13415348821/laps In Strava WEB there is a lap of 20min 40 seconds, and if you look at the same activity in Android app, the lap is shown as 20min 00 seconds. There are 40 seconds of diference. I would like to show you the screenshots but you can check it by yourselves following the link.¿Why this big diference?I asked this because we had an api integration with Strava and we have the 20.40 data, and de client wants the 20.00. Its an FTP test, and there is a big difference.Thx in advance
The Strava app on Google Watch 3 isn't very good – I can't set my favourite activity, Mountain Biking, so I have to scroll past about 30 activities to find it each time.Instead, I've used the default Fitbit app (which does add Mountain Biking as a quick select favourite). However, I can't get it to sync with Strava. I've read forums, reinstalled both apps, checked permissions on both apps multiple times etc. Has anyone else had this issue?
Hi Strava Developer Community,I hope this message finds you well. I am currently working on integrating the Strava API into our application and have a few questions regarding the setup and usage of the API.Questions:1. Multiple Applications for Development and Production:Is it possible to create more than one app under the same account, for example, one for development and another for production? If so, what are the steps to set this up, and are there any best practices to follow?2. API Limit Increase for Testing Phase:We need to conduct internal testing with 50-100 users to ensure our integration with the Strava API is functioning correctly. Is it possible to temporarily increase the number of users for this testing phase or you must have already released the application into production?3. Suggestions for App Approval:Are there any specific guidelines or suggestions to increase the likelihood of our app being approved by Strava? Any tips on documentation, implementation, or other best
When obtaining the access token and refresh token for the first time using the code, the validity period of the access token is 6 hours. Within this validity period, both the access token and refresh token remain unchanged upon repeated requests. After the access token expires, the access token changes but the refresh token remains the same. Once the refresh token expires, the access token can no longer be renewed, and it's necessary to obtain a new access token and refresh token using the code again.The question is: What is the validity period of the refresh token, and when will it change upon request?
Hello,Since Sunday, some activities from my app are no longer syncing with Strava. I checked if my token is still active, and I tested it on Postman.I regenerated a new token, but it doesn't work either. I don't understand why it stopped working. Could it have expired, or has the authorization for my app expired? "message": "Authorization Error", "errors": [ { "resource": "Athlete", "field": "access_token", "code": "invalid" } ] Best regards,
I am building a personal project to consolidate all my location data, and so am building an API consumer to fetch all my activities and their time/latlng streams. I am over-engineering in case friends want to use it (and because it’s fun).It seems I could paginate explicitly with page or date-based with before. I see in the forum history, here, that there was a period when page didn’t work, but that it’s now reliable. Aesthetically, I prefer the date-based “cursor” approach.Is there any guidance on which is preferred and/or future-proof?
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.