Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
I want to integrate Strava api to my web application and any users can connect via my application and I want to get some information on connected users by using their access token.This is my requirement. I have few doubts listed below : 1.Is any option to authenticate user without asking Client ID.if there is any reference kindly share if possible.2.Or I Need to ask for the client ID before calling the authenticating API Call.
Initally I'm getting the first Authorization with GET - https://www.strava.com/oauth/authorize -> scope = activity:read_all using the access token and storing the refresh token.Now I'm getting the activities GET https://www.strava.com/api/v3/activities -> everything is fine!But when the original access token expires, I'm getting a new access token with the refresh token (https://www.strava.com/oauth/token) I stored before. With the new access token I'm doing the same GET request to get the activities now the issue happens, I don't know why. The activity:read_permission should be set in the first call now I'm just getting a new Access token with the original refresh token, I can not set permissions here. What do I miss?Status: 401 (Failure){"message": "Authorization Error","errors": [{"resource": "AccessToken","field": "activity:read_permission","code": "missing"}]}
I have a React/NestJS based app that used to work well but since a few weeks the requests to the Strava API are not working anymore... I first noticed it with requests to create push subscriptions and to get a user access token, both of them are sent but hanging without responses or errors... I added an interceptor on my axios instance to see if I can understand the problem but nothing, I see that the request is sent but then nothing like if it was never coming back from Strava API... One of the weird thing is that on the Strava dashboard I can see that some requests are made to the API as we can see on the screen capture...The second weird thing is that on local it's working perfectly fine...I wonder if this is possible to have some logs from the Strava API to see if there is something wrong with my requests on my production app ? Or any other idea ?
Hi! Just wanted to ask if there is any way to pause and resume an activity (running or biking) through the API?Last I saw, there didn't seem to be a way, just want to see if this is still the case, or if there are any work arounds?Thanks!
Hi After syncing strava activity to Google fit,the steps shows as 0
Hello I noticed a discrepancy in pace/min during a Track activity if I compare Garmin Connect with Strava on the same activity.I am using during track session the dedicated Garmin Track run activity so it is pretty accurate by setting the right lane using on track.Can this be cured and have a match between Garmin and Strava?
In the webhook documentation at https://developers.strava.com/docs/webhooks/ I have noticed some usages of “”‘’instead of the correct""''It at least made me confused for a while until I figured it out.
Please help me to understand this. It said that I got a PR on 5k and 10k in this specific race. But when I total every splits it doesn't add up. I already try all the TYPE OF ACTIVTY but still it does not total to my elapsed time.
my polar device's barometric altimeter is very inaccurate, resulting in completely wrong power estimates for activities and segments. it would be nice to be able to trigger the ... "adjust elevation" command of strava via API in order to use strava basemap data? this way an automation task could be used to fix elevation of activities in strautomator or similar tools.
hello everyone,as far I have written, it is for me necessary, that the software himself start on every new day a fresh activity and save the old one from the day before as the activity from this day if this would not be possible, the app is worthless for megreetingshannes how can I automatically start every day a new activity and save the old one from the day before?
Hallo allemaal, Als Relinen herstel serviceman en fanatieke marathonloper die zijn gezondheid serieus neemt, zoek ik een apparaat of Strava-systeem dat me kan helpen mijn gezondheidsdoelen te bereiken. Kent iemand iets dat bij mijn behoeften past? Ik wil graag een tool die mijn hartslag, calorieverbranding en slaappatronen kan bijhouden, en die naadloos integreert met mijn hardlooproutine en dagelijkse activiteiten. Heeft iemand ervaring met zoiets? Alle suggesties zijn welkom!Bedankt!TRANSLATION: Hello all, As a Relinen recovery serviceman and avid marathoner who takes his health seriously, I am looking for a device or Strava system that can help me achieve my health goals. Does anyone know anything that fits my needs? I'd like a tool that can track my heart rate, calorie burn, and sleep patterns, and that integrates seamlessly with my running routine and daily activities. Does anyone have experience with something like this? All suggestions are welcome! Thank you!
Hello,We are facing an issue with an activity display on Strava.The activity was sent to Strava from a FIT fileStrava activity link: https://www.strava.com/activities/11210358816FIT file: activity.fit I know that Strava have specific calculation rules in order to evaluate the activity moving time.But in our case, we do not understand why there is a so big difference between the values from the Fit and the value calculated by Strava Decathlon’s activity duration: 1716sTime declared in the FIT file: 1716sMoving time displayed by Strava after import: 2:30.Decathlon’s activity distance: 1401mDistance declared in the FIT file: 1401mMoving distance displayed by Strava after import: 0.2The activity records are correctly filled in the Fit file.The timestamps are correct, the positions seems correct, and the speed is set.(We have some speeds that have the value 0 but even if its are not taken into account in the calculation, the total do not match). Could you
I have a large number of users attached to a push subscription - all was working until around the 28th April. Now only a handful of users' data is coming through.For those that aren't I have verified I have live keys/tokens for them and I am able to manually poll and fetch their activities.My endpoint seems to be working and I have had it write to a log file each time it is called and that log file is very barren!I have checked my subscription is still set up correctly using the push_subscriptions endpoint and it looks fine.The one elephant in the room is that I have moved the site to a new host in the small hours of Monday morning. So the IP address has changed but the domain is still the same - I'd be suprised if you are using the IP address anyway.Any thoughts on what is going wrong here? Or maybe there's a fault with the subs service at the moment?Andrew
Hi there, we have created subscription as per details provided at https://developers.strava.com/docs/webhooks/. However, our callback url is behind an AWS WAF and hence notifications from Strava are getting blocked. Can you please provide a list of IPs to whitelist so that we can unblock Strava traffic?
I have been using Strava API to extract club data to collect data from 2024 from all members. Because the club was made in December 2023, I was originally got some data from 2023, which I excluded through ignoring the first 40 runs.Since then, when I run the application, without excluding the runs and the only if statements being to only include runs, the API extracts 207 runs, whereas I am expecting 218 plus those extra 40 runs that were originally included.Looking at each page, as only 200 results are allowed per page, the first page has 200 results, second page 7 and third page 0.Does anyone have any idea what may be causing the issue where the earliest runs are being excluded?
Hello,I requested a rate increase via email over a month ago and have not yet received a response. We now cannot serve our user base anymore and it affects our service. Our growth is still significant, and we strive to minimize the number of requests. In the past, I proposed a solution that would enable developers to easily and effectively reduce the number of requests. However, it is currently not implemented yet (see https://communityhub.strava.com/t5/developer-discussions/developer-webhook-events-api-for-new-workout-add-field-workout/td-p/6479).Best regardsJan
I'm attempting to upload an Activity to the /uploads endpoint. (from Java) I've used the Garmin SDK to generate a Fit stream, and attempting to post. (The OAuth2 workflow is working fine, I've acquired an access token). First, the error:{"message":"Bad Request","errors":[{"resource":"Upload","field":"data","code":"empty"}]}What I don't understand is that according to the API docs there is no "data" field.The code (using Jakarta HTTP Client) InputStream fitStream = buildFitStream(user, save); try (FormDataMultiPart form = new FormDataMultiPart(); MultiPart entity = form.field("name", "Name") .field("description", "Description") .field("trainer", "true") .field("externalId", metaData.workoutID()) .field("data_type", "fit") .bodyPart(new StreamDataBodyPart("file", fitStream, "row.fit"))) { return request.post(Entity.entity(entity, entity.getMediaTy
how can i add the Strava Api to an Springboot web application?
If we look at the distance of each split, the splits are not exactly at 1 km mark.would like to know the difficulty (in terms of both hardware or technical related) in dividing the splits by exactly 1km each.
A little bit of a programming noob here, so forgive my ignorance!I am trying to pull down my strava activities through a get request in python. I have gone ahead and authorized the API etc. with my app. The first time that i set up the authorization, I believe I gave a read only scope (rather than the read_all permissions needed for the type of data that I want). I went ahead re-authorizing, this time careful to include read_all in the URL- but I'm still having issues. payload = { 'client_id': client_id, 'client_secret': client_secret, 'refresh_token': refresh_token, 'grant_type': "refresh_token", 'f': 'json' } res = requests.post(auth_url, data=payload, verify=False) print("On a run to get the token... ") auth_token_app = res.json()['access_token'] print('Token is:') print(auth_token_app) I'm able to get an access token with the above code, and have tested this out with both the original refresh token I had stored down and the new one, which I
What does average_grade_adjusted_speed means and how it is calculated?
How can I add an app to StravaApps?https://www.strava.com/appsI developed this Power Wind Pro an app for Garmin compatible with strava that estimates power with wind, speed, cadence, grade, temperature, and pressure calculations.https://sites.google.com/view/powerbikepro/home
Hi Team,Am using {{baseUrl}}/clubs/:id/members?page=<integer>&per_page=30 to fetch the members of a club. But in the response am getting just initial for the last name. Is it possible to fetch the full firstName and lastName of the members of a club.
Explore the core functionalities necessary for building a fitness mobile app akin to Strava, focusing on key features vital for user engagement, activity tracking, and social interaction.
We are planning for the implementation of the web hook subscription.A few questions pop up:1. in the https://www.strava.com/settings/api page: Do we need to change the authorization callback domain?2. Do our users to reconnect our app to Strava?3. Does a manual exsist that guides us from the current way of polling for results to the new webhook system? Our preference is that the users will not experience any negative issues only positive such as a quicker response after a training session. Any help is welcome.
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.