Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
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
Hey!I was working on a small app last week using the developer docs and was wondering if you could make a correction. The docs suggest that the tokens received for accessing resources are bearer tokens meant to be posted as headers when requesting resources however in practice (at least for the `/athlete/activities` endpoint) the v3 api expects the access_token to be sent as a query parameter. Is there any chance the docs could be updated to reflect this or at least clarify that different resources require different forms of access tokens? What was especially confusing is that when I went through the redirect flow the token was explicitly listed as `token_type: Bearer` which was not correct.
Is it possible, by using either website or the API, upload tcx activity but mute it? I have a files from Endomondo, but I don't want to spam my followers with tons of activities 🙂
Hi,Is there any API to access the logged-in user's trophy cases/badges?
There's a lot of great historic community information in the Google Group. Please note: Strava does not own or moderate that space.
It would be really useful if the Webhook Event "aspect_type = update" of "activity" would be triggered for the "gear_id" field.I'm building an app and would really like to be notified when the gear_id of an activity just changed. For my app, a change of "Gear_id" means a lot.Thanks.
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.