Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
Hi everyone! I just joined the forums and recently released an iOS app that allows users to make photos with their running / walking / workout stats: https://apps.apple.com/us/app/run-story/id6737940528I have almost 300 users and am still under the rate limit at the moment. I submitted a request to increase a couple weeks ago before officially launching but never heard back, so followed up with another email today.Does anyone know the typical turn around time and if requests are accepted? Would love to make sure I have a little buffer so users don’t have a bad experience.Thanks!
Hello Strava Community, My application has reached the 999-athlete connection limit, and I’ve already emailed developers@strava.com to request an increase. However, the limit is causing errors for my users, and it’s taking some time to get a response from Strava support. In the meantime, I’d like to disconnect some inactive athletes to make space for new users. Is there an endpoint or method available to remove specific athletes from the connected list? Thank you for any guidance!
I see on strava status there are problems. We are facing problems submitting activities via API. Normally this is very stable for years for us so we are pretty sure strava API has errors. Anyone else seeing this?
I have been uploading tcx files for a while and it worked without problems but recently they have stopped working with the very useful “Error processing Data” message.Does anybody know what changed? Or does anybody have an idea on how to debug this?The tcx file is still well formed and valid.
Hi There are some endpoints i am missing in the strava swagger, dont know if those are available. This is the info i want to retrieve: 1 - Power distribution zones - in a workout, there is an option, zone distribution, that displays the power split by the 7 zones (https://www.strava.com/activities/{id}/zone-distribution 2 - Freshness and fitness, to retrieve fitness, fatigue etc (https://www.strava.com/athlete/fitness) 3 - Weather information (klimat). Although the activity enpdoint displays the temperature, as i have the klimat app enabled, i would like to retrieve that info as well Can you help me to find out how can i access that data please?Thanks
I have an application integrated to strava api. For some athletes the stats in the API are wrong. Mostly the alltime ride distance, number of rides are way too off. Interestingly the strava android app is also showing the wrong data when viewed as a follower. But the website is showing correct data. How can this be resolved?
Hello, I'm using the getClubActivities endpoint to keep a tally of individual rides in my club. I would like to limit the response to a certain date, or at least to a certain week (i.e. this week). Is there a way to do this? Getting the date of the activity in the API Response would be enough. Lastly, I couldn't find info on the units for the time and distance that is returned by the endpoint. I assume it's seconds for time, but not sure for distance. Any help is appreciated.
Hey, in google sheets, I’m attempting to set up an automated spreadsheet to use a few segment URLs as an input, and provide an output of the segment’s name and also the most recent date ANYONE has completed it. I’ve successfully grabbed the segment’s name, but not sure how to go about getting the most recent completed date. I don’t care at all about the person’s name or time or any personal information - literally just what was the date it was most recently completed. Can anyone offer a good way of doing this via Strava’s API? I have already created an API app as a DataImporter and am using google’s AppsScript editor to aid in this. Thanks for your help and time.
As of about a week ago any workout I have tried to upload to Strava through the API is never being processed. I checked my console log when uploading and I get a response message with a successful response code. The status field states - “Your activity is still being processed.” Here is an example of the response:success({ "activity_id" = "<null>"; error = "<null>"; "external_id" = "jtw_673D5484-C0C2-40E0-B726-B6E04C98BE86.fit"; id = 13724712499; "id_str" = 13724712499; status = "Your activity is still being processed.";})When I try to manually upload the same FIT file through my profile it begins “analyzing” the file, but never completes. Also never met with any kind of error code. I have not made any changes to how I am creating these FIT files and they have been processed successfully for over a year up until this point. Has Strava possibly changed/added a required field that I am unaware of?
Hi Strava Support,I am facing one issue for a bunch of athletes in my team with the API for last few days. Its not happening for every athlete, just hand full. My rest api call for stats is not returning data for the ytd_run_totals . This was working earlier for couple of years now. For example below is the callhttps://www.strava.com/api/v3/athletes/someid/stats{"biggest_ride_distance": 10119.7,"biggest_climb_elevation_gain": 27.599999999999994,"recent_ride_totals": {"count": 2,"distance": 1315.5,"moving_time": 360,"elapsed_time": 430,"elevation_gain": 2.0,"achievement_count": 0},"all_ride_totals": {"count": 9,"distance": 17241.799926757812,"moving_time": 6208,"elapsed_time": 7701,"elevation_gain": 81.0},"recent_run_totals": {"count": 14,"distance": 165286.099609375,"moving_time": 60536,"elapsed_time": 64121,"elevation_gain": 137.55283403396606,"achievement_count": 0},"all_run_totals": {"count": 152,"distance": 1056855.2845458984,"moving_time": 343658,"elapsed_time": 370923,"elevation_
I'm unable to perform any GET requests after completing the initial auth setup and successfully exchanging the auth token for refresh token, access token, and expiration date. The POST was successful and I can see my athlete info, but unable to do GET requests after:https://www.strava.com/api/v3/athlete?access_token=[access_token from api settings]response:{ "message": "Authorization Error", "errors": [ { "resource": "Athlete", "field": "access_token", "code": "invalid" } ]I also cannot authorize in the dev playground with the same error, even with the correct client_id and secret. Same
HiLooking at my app today the matches ride analysis is missing, and the segment analysis is missing most rides. Is this a global issue or someone can resolve through the app? Mark
I submitted two requests one week ago but have not received any response from the Strava team. My project is very urgent, so what can I do to get approval or who can I contact for support on this issue?
We encountered a 401 - Unauthorized Access error while attempting to retrieve the last six months of activity data for an authenticated rider using the Strava API Method: List Athlete Activities (getLoggedInAthleteActivities).We would appreciate any insights from the community regarding the potential reasons for this error.Thanks in advance,Saji
HiyaWe have noticed users creating strava accounts with temporary email address providersAnd then coming to our appWe cannot detect this behaviour in our app - so would kindly ask Strava to enhance its security on the use of temporary email addresses to create accountsIt would be good in the Athlete API response we could get the users email address also so we can check its domainThanks
The auth request stopped working. I used to work fine for our app. We didn't change anything in the app config or strava config.This is our url call to start the access request:strava://oauth/mobile/authorize?redirect_uri=ourAppName://stravaAuth&approval_prompt=auto&client_id=the-client-id&state=ios413&scope=activity:write&response_type=code It opens the Strava app but brings a white screen with the error • Invalid redirect URIIs there anything new we missed on the Strava API?
Curious if I had a list of key segments in a trail network if you could use the API to give the number of riders on the segments “today” and possibly the average speed?My idea is to know what winter fat bike trails are running well and have been packed down already. If no one has been on the trail it probably means you should bring snow shoes instead.I can get this data by digging around on the web version but it would be nice not to have to go segment by segment, and possibly have a nice way to present it to the community.
Hi, I’m trying to get access to my activities with GetActivityById, but it doesn’t work anymore with the Swagger Playground. I tried it with scope read or readall and I tried different ids. It worked last week but doesn’t work now and I don’t know what's the problem. { "message": "Resource Not Found", "errors": [ { "resource": "Activity", "field": "", "code": "not found" } ]}But I know there are Activities and the Ids are right.Can someone help?
This afternoon I uploaded a beautiful family ride on my new bike! After a few hours i noticed that I still hadn’t received any kudo’s, where normally I get between 40 to 60 depending on the ride. I asked my friends, but they couldn’t find my ride on their feed. When they search for my profile they see it and can give kudos. But on the feed it won’t show. I’ve tried deleting and re-uploading the ride, didn’t work. Activity is on view for everyone and hide in feed is not checked on. Who knows what’s going on and how i can solve this? Never have had this problem, and now it happens on my new bike day 😭
Hi,I'm trying to upload activities to Strava. I've made sure the user I'm doing it with has the right permissions (`activity:write`). When I perform the uploaded, using a gzipped tcx file as content, I get a 500 Internal Server from the Strava API.The body just contains:500 Internal Server ErrorIf you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.Has anybody seen this before (and been able to fix it)?Cheers,Ilja
If I tap to Routes or paid sub it's display an error. My acount (google)was a Russian before, but right now it's Serbian. But Steava doesn't work properly. May be it's the reason?
I’m calling get_logged_in_athlete in Python using an access token that has the following scope.scope=read,activity:read,profile:read_all,read_allThe response only returns all the data on the following:‘bikes’ ‘clubs’ 'follower_count': 174, 'friend_count': 183, 'ftp': 250, 'measurement_preference': 'meters', 'shoes': [], 'weight': 73.0If I use the same access token in Postman and hit https://www.strava.com/api/v3/athlete then I get all the profile data I would expect, including the data above.I’ve seen one similar post on this subject with no real resolution and i’m a bit at a loss on what to do next.
To provide some background context, I am currently running a sports challenge that utilizes Strava Clubs to track participant's activities. For a particular club, it has accumulated a total of 1032 activities, and right now I am only able to extract 200 of these activities by using page=1 and per_page=200, however when I move over to page = 2 and per_page = 200, it gives me a random number of workouts (in this case 5 activities) and when I move on to page = 3 and per_page = 200, there are no more records. The pagination parameters appear to not work as intended.My concern here is that the activity data are missing and it impedes me from tabulating scores to then show the participants who contributed the most to their clubs.Here are some images provided to help fellow developers and gurus understand the code. I am using Postman to extract the data and a visualizer code that converts the JSON data into a table. Upon the third image, it is observed that the GET request isn't returning a
Any help greatly appreciated, first attempt at using the Strava API. I’m sure this is staring me in the face but i’ve run out of ideas.So I can successfully use Postman to GET https://www.strava.com/api/v3/athlete with an Authorization header of {Bearer nnxxnnnxxnnxx….}. Returns my athlete details So far so good 😍 However when I try and run the simple Python script in the Strava Developer Docs (below) I replace ‘YOUR_ACCESS_TOKEN’ with any of these variations then I get a 401 Unathorised and an Invalid Access Token error 😥 swagger_client.configuration.access_token = 'Authorization: Bearer nnxxnnnxxnnxx….'orswagger_client.configuration.access_token = 'Bearer nnxxnnnxxnnxx….'orswagger_client.configuration.access_token = 'nnxxnnnxxnnxx….' HTTP response body: {"message":"Authorization Error","errors":[{"resource":"Athlete","field":"access_token","code":"invalid"}]}import timeimport swagger_clientfrom swagger_client.rest import ApiExceptionfrom pprint import pprint# Configure OAuth2 acces
Strava is recoding my rides as e-bike rides automatically? I don't own an e-bike…. They say it's an automatic assumption and can’t be fixed? Really?
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.