Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
Hi - We have been tracking lifting in the weights room for more than 20 years. Velocity, force, power, distance - more than reps and sets. Is Strava looking to increase its weightlifting feature?We would love our shared customers to be able to upload their GymAware and FLEX data.Velocity based training is increasingly popular with athletes that have a focus outside of the weights room as it accounts for auto-regulation.Would anyone like to start a conversation?
Hi everyone,I am thinking of a script that gets the local trail conditions from my city’s trail stewards association. If the trail is closed, I want to get via the Strava API a list of users that rode the segment(s) that day to see who is damaging the trails by riding them when closed. I read the API documentation extensively and couldn’t find an endpoint that satisfied this — anyone have any ideas or is it simply not possible?Cheers,Mel
Hello, I'm an app developer who is currently trying to develop an application through the Strava API. The purpose of this application is to manage students' grades and physical strength at the academy. That's where your API is going to be used. However, since this application is a student management application for private institutes, the profit model will be conducted not by advertising revenue from the app itself, but by receiving tuition fees from students enrolled in private institutes, and the app itself will not generate direct profits. In this situation, what should I do with the app to comply with the relevant regulations? Please explain the details if any phrases should be stated or the obligation to report.
Good day,for the last few years we have used the Strava API without issues using the following workflow once a day:A refresh token is requestedThat refresh token is used to request the activities in a clubThe response is further processedThis morning, the activities were no longer showing up correctly. The only thing that was returned was an empty array (verbatim: "[]"). We have not changed anything about the requests or the way these requests were made. The account we use to make these requests is also an admin in the club in question, yet this changes nothing. What can be done to get things up and running again?
SO, I was able to get my athletes to authenticate my application from which I could grab their activities through my app, BUT now the issue is that I can't seem to hit the club endpoint (where these athletes are also in) and grab their activities from the club page. Are these two things somehow related to each other? Would my acquiring access to their activities hinder my ability to grab the club activities in which their runs are? This has been a frustrating occurrence for me involving lots of debugging and a whole lot of questions surrounding access and authentication that doesn't really get covered in their documentation. Any help would be appreciated. Other thing I noticed is the service.getAccessToken() call doesn't seem to be getting a refreshed access token. It's using some old one.
Back in the day there was a way you could run a report on a specific segment. Then you could pull data say for last year. It would tell you how mine riders and how many attempts. Now I am only seeign the options for Today, This Week, and This month. Am I missing a change?
Hello,I would like to be able to make an API call that returned an object showing start/end times, and duration, for all riders in that time period. It would not need to include any PII I would just like to analyze trail use. I know that I can manually go to Strava and look at a segment, but I would like to be able to see this data programmatically.
I'm implementing an integration between Strava and an external system based on Zapier. For each run someone does in a particular club on Strava I would like to update the profile on the other platform. The activity trigger does work fine on clubs but the information you get on an athlete is minimal. I only get resource_state, firstname and lastname (first character). Which makes it very unreliable to do profile lookups in the other platform that's linked. Is Strava considering adding a unique athlete ID for example here because this would solve my problem?
Hi, I’m reaching out as a maintainer of the stravalib python package. We recently made some changes under the hood that will allow us to easily maintain the package and keep up with changes to the Strava API. We tried to keep the usage of stravalib as backward-compatible as possible with previous releases, but it is impossible to test for all potential use cases. Therefore, we created a pre-release that can be installed with `pip install —pre stravalib==1.3.0rc0`. The (known) breaking changes are documented here. Please test your package or project with this pre-release to ensure the upcoming version will not break it. If you encounter any issues or have questions, please continue the conversation at our Github repo!
Hello Strava team,I sent a email rate limit request 2 days ago, but I still haven't received any responses from you. Please get back to me because we need to increase the limit urgenly.Thank you so much
Perhaps this is answered somewhere already, but so long as the athlete's posts are public, am I able to grab their activities with the API (as long as I've authenticated)? Or do I need them to do something for me so they're authenticated, too? I would like to create an application that can grab the weekly activities from the athletes I coach and display them on a webpage.
I'm trying to make a link that directs to the "Aggregated Data Usage" page in the app but can't figure out what is supposed to go in the link to get there. I've been able to do "strava://settings/privacy/maps" and it brings you to the "Map Visibility" page so I assume there's something to bring you to the "Aggregated Data Usage" page. Anyone happen to know? Thanks.
I was trying to build an app for our cycling club to conduct some monthly challenges and for this i want to store athlete data in my application database and need. But when I go through the API agreement i saw "you may not collect, use, store, aggregate or transfer any Strava Data in any manner except as expressly permitted by us for the use of your Developer Application".So how can i get permission from starve to store these data. For app like this need to store the athlete data in the database and aggregate the result to find the topers. Did anybody know how to get a permission from strata. or is this not needed?
When reloading the feed that has a photo, the app does not divide the photo with the map. The app places the photo occupying the entire feed.
We're working on an app that creates activities, and we're wondering if it's possible to add images and a hyperlink in the description? Just wondering what's possible, thanks!-Dan
Our customers are asking for privacy controls for new uploads. It appears the API was changed in 2018 and no longer supports "private" flag. Just requesting to bring back this feature.I understand the user can set the default privacy setting for new uploads through the web interface.
I would like to build a webhook that assigns the correct bike to newly uploaded activities by looking at what ANT+ sensors were used with the activity. Would it be possible to add identifiers of the ANT+ sensors to the Activity GET request to enable this functionality? Thanks,Matt
The Club API documentation still states that the response for a successful request be HTTP code 200 An array of SummaryAthlete objects.
Hi Folks,Trying to use the API to get some of my data out of Strava. I managed to created an API token which works as a bearer token to access the API.However I noticed the scope is "read" per:In order to access https://www.strava.com/api/v3/athlete/activities I need a token with "activity:read_all", but I cannot find anywhere to change the scope of my access token. Can anyone point me to the documentation that describes granting different scopes ?
Hello In my application I want to retrieve the heart rate for an activity: the time spent in each zone. I use: "https://www.strava.com/api/v3/athlete/activities?per_page=200" Indeed there is the average and maximum frequency. But I would like the time for each HR zone Z1 to Z5. There is this: "https://www.strava.com/api/v3/athlete/zones" "Authorization: Bearer [[token]]" But I don't see the link with the Activity ID. Do you have options. Thanks very much
Hey, Does anyone know how to access whether the authenticated athlete has a "public" or "followers" only profile? I understand that there is a visibility/private attribute on activities but there isn't one on a profiles. See DetailedAthlete: https://developers.strava.com/docs/reference/#api-models-DetailedAthlete Athlete's who have a followers only profile often post activities with an "everyone" visibility. Even though it's "everyone" the activity is private to the internet because it respects the minimum privacy of the [activity,profile]. In the case you're building an integration that wants to respect users' activity privacy, it's not possible to know to hide activities that are not publicly on strava.com when it's their profile visibility keeping them private. Any solution here would be greatly appreciated! Kind regards,Rory App: https://spava.club
Hello,I think there's a small typo in the documentation of the deauthorization endpoint's response. The doc says that the endpoint "responds with the refresh tokens that were revoked", but it seems to respond with the access token that was revoked.Cyril
How to get details for all laps by an athlete in a single call without having to provide the activity id for each activity? Or should i make one call per activity to get the laps information? Any better way?
Hello,I'm using the Strava API to post activities for my users onto their strava account. However, every so often I get a 409 error back from strava when I try to create an activity. I know this means that an activity already exists at that time for that user, but the user in question had no conflicting activity.For example, at the following time: 2023-01-09T15:35:25.225Z,I sent a POST request to create an activity and got a 409 error back with the following body: {"message":"error"}. The start_date_local was "2023-01-09T15:00:20+00:00", and the user's latest activity on their strava account was 4 days before this activity, so there can't be a conflict.
Hello Devs!I'm looking for someone who is familiar with working with the Strava API to build a tool for me, specifically a tool stores any users activity information in a database that grants permission for me to do so. Thank you
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.