Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
Hi! I'm trying to update the descrption of a event using the create webhook. I'm getting response 200 with the updated fields every time, but for some reason the change is only sometimes visible in the activity it self.Any pointers or ideas how to fix?
Hi everyone,I'm a beginner programmer. I am writing my master's thesis on "The motivational impact of the Strava social network on users' sports results."I created an application in Django that processes tokens, gets athletes and the activities (+comments, kudos) of people who decided to take part in the study and saves them in a database (postgresql).I experienced many difficulties when creating this application, first of all... the authorization code thanks to which I obtain access_token and refresh_token has a very short validity(I think it's only a few dozen seconds).Initially, I enrolled people in the database by texting each one individually and exchanging tokens, but after some time I started receiving "Bad Request" errors and I couldn't get their access_tokens, so their activities.For this reason, I decided to deploy this application from the local version to the server - I chose Azure (it's free for students). Deployment caused me a lot of problems and finally, I can't cope wi
Hi all,I've developed some app and while I was in development I had localhost as callback url, everything worked. Today I've deployed app on VPS on digitalocean droplet, I've bought domain and I am managing it through cloudflare (so I have https). When I try to to login to strava from my app which is deployed on that domain, I am redirected where I need to be redirected but when I take code that I got in redirect and try to get access token, I get an error:{"message": "Bad Request","errors": [{"resource": "AuthorizationCode","field": "code","code": "invalid"}]} If I set localhost for callback and get code that way and then try to get access token from postman, it works.In my settings I have my domain configured as callback domain. Can someone help?
I'm querying the Strava API with the getKudoersByActivityId request, and the SummaryAthlete objects that are being returned only have 'firstname' and 'lastname' fields. Is there a way to get more details of the athlete? I'm trying to get the profile pictures of every kudoer of an athlete.
I need to increase the number of athletes allowed to connect with the athletes in my organization, as we organize running activities. Additionally, I require access to other athletes' activity data that would enable my app to gather information for comparison and reward distribution purposes. What steps should I follow to achieve these objectives?
Hello all!,I'm using the Strava API to retrieve a list of activities for employees.API: https://developers.strava.com/docs/reference/#api-Activities-getActivityByIdI'm trying to figure out how to identify activities that are created by manually importing files on the Strava website (.tcx, .fit, .gpx). Some employees have exported activities, edited the files, and then re-uploaded them.Based on the information returned by the API, what should I rely on to determine this?I've tried to check the fields: external_id and device_name. For example, if the external_id is track(1).gpx and the device_name is Strava GPX, but upon closer inspection, if users are using Samsung or Amazfit watches, the external_id also has the value .gpx. I'm not sure if relying on device_name being Strava GPX ensures 100% certainty that the user uploaded the file on the website.Thank all.
I am making an app for the ios environment.The app supports Strava upload in gpx format.Most of the items you want are uploaded normally.However, Strava's Sport items will not be sent as desired.Below is an example.let params = ["name": StravaGPX_TitleName,"type": "(Sport[userData.Sport_Name])","sport_type": Sport[userData.Sport_Name].trimmingCharacters(in: .whitespaces),"description": "Uploaded from Masil-Tracker","data_type": "gpx"]Among the above"type": "Mountain Bike Ride""type": "MountainBikeRide""sport_type": "Mountain Bike Ride""sport_type": "MountainBikeRide"Even if you specify each oneThe Sport item on the Strava is saved as "Ride".Which code should I use to upload Strava gpxWill the items you want be designated in Strava's Sport items?
Our club uses the embed iframe html snippet to display our club's recent activity and leaderboard on our website. It was working great, but no longer dispalys any strava data, the frame is blank. Are embedded feeds no longer available?
I did a bulk export of my activity data the other day. The activities.csv file contains a numeric Bike field. Here's a little sample (I've already converted Distance to kilometers):"Activity Date","Activity Type","Kilometers","Bike""Mar 10, 2024, 6:03:02 PM","Ride","36.24","8208731.0""Mar 11, 2024, 5:09:48 PM","Ride","58.41","12267983.0""Mar 13, 2024, 4:34:40 PM","Ride","37.99","12267983.0""Mar 15, 2024, 8:31:56 PM","Ride","16.88","13980728.0""Mar 16, 2024, 1:40:17 PM","Ride","44.69","12267983.0"I haven't been able to figure out how the Bike field values map to any of my bikes. Looking in bikes.csv I see no id or key column which might be used to in a database join. My small searches in the API documenation yielded nothing either.I can manually map the numbers to my actual bikes by comparing individual records in activities.csv with what I see in my online activities, but that's clearly going to be suboptimal.There must be some way to map these values to actual bikes in an automated fa
Segue abaixo esta imagem como exemplo, estou conseguindo ter acesso ao meu token de acesso e também realizar solicitações das minhas atividades. Mas, o que não encontrei é uma forma de conseguir obter todas as parciais das minhas atividades. Alguém poderia me ajudar/orientar se é possível ter acesso via solicitação API do Strava. Se sim, me mande o link da documentação como exemplo, por favor. Obrigado! TRANSLATION: Below is this image as an example, I am able to access my access token and also make requests for my activities. But what I haven't found is a way to get all the partials of my activities. Could anyone help/guide me if it is possible to access via Strava API request. If so, send me the documentation link as an example, please. Thanks!
Hello,I'm using ActivityFix and I have created a rule that on the title add my average pace, it works but my problem is that pace is shown in the format hh:mm:ss which is very inconvenient, I was wondering if there is a way to show it in mm:ss Does anybody know ?Thanks
I searched the documentation and couldn't find how I can access partial km information.Example: 5km run1st km - 4.562nd km - 4.593rd km - 5.104th km - 5.235th km - 5.43There is a way to list all activities for a given period and have access to the following information that I included in the example above.
Tried 2 different laptops (Chromebook and Mac) and the 'create a route' section is not working. There is no map visible, the page just seems frozen. I've turned the computers off and back on again, but still no luck.Any idea to solve this? Never had a problem before
Hi! I started using strava again after summer two weeks ago but my phone keep restarting while running during an activity. This never happened to me before. Does anyone know a solution?
Hi, can anyone guide me about Strava integration in iOS mobile application? I am facing some difficulties while trying to authenticate the user with strava. I tried the sample code but didn't get desired results with it.
Olá, em meu projeto estou conseguindo ler as informações do usuário, porém não estou conseguindo acessar as atividades. Sempre recebo o "IsSuccessStatusCode" false. Detalhe vou deixar uma imagem do meu código para facilitar. Li a documentação mais vezes e ainda não entendi o que estou fazendo de errado, se alguém puder me auxiliar, por favor! TRANSLATION: Hello, in my project I am able to read user information, but I am not able to access the activities. I always get "IsSuccessStatusCode" false. In detail, I will leave an image of my code to make it easier. I read the documentation several times and I still don't understand what I'm doing wrong, if anyone can help me, please!
Hello,I am doing a project with the Strava API, and I would like to know if there is a way to obtain all the data from the dashboard of a segment. If this is not possible, how could I obtain the times of the first 20 users of a segment?Thx
Hello, we are developing application which use stravi api, can we get all data from these test users without wasting time for moderation staff?
I would like to increase the number of athletes allowed instead of 1. Please tell me how to do this. Following is my application information:- Client ID:122024- Overall Rate Limits: 200 requests every 15 minutes, 2,000 daily- Read Rate Limits: 100 requests every 15 minutes, 1,000 daily- Number of athletes allowed to connect: 1- Number of athletes currently connected: 1
I've seen this error listed a couple other times w/o any replies, so am going to try again. I had initially successfully created a webhook subscription, and was receiving events. After some time it seemed to stop so was going to delete/recreate the webhook subscription, but I cannot get the "View Subscription" request to work. I get the following error:Client ID: 46678Request: GET https://www.strava.com/api/v3/push_subscriptions?client_id=46678&client_secret={mySecret} <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE></HEAD><BODY> <H1>403 ERROR</H1>  
Hello,I'm reaching out to inquire about the data streams available through the Strava API.I have been working with the API recently and have found the available streams incredibly valuable for my analysis. However, I have encountered a discrepancy that I would like to address.When requesting streams using the following keys: time, latlng, altitude, heartrate, speed, distance, grade_adjusted_speed, cadence, velocity_smooth, watts_calc, watts, grade_smooth, total_elevation, velocityI have noticed that most of the times the "grade_adjusted_speed" is returned, but the speed is not returned. Also it doesn't seem there is an option to retrieve "pace".I would like to inquire if there is a specific stream or alternative method for retrieving pace-related data, such as pace per kilometer or mile. And whenever we have the grade adjusted speed to have the speed stream unadjusted also.Thank you !
What´s wrong with my activity? All segments marked?https://www.strava.com/activities/10930793232 I think it´s not unreal the ride with 62 km/h downhill or is there any other Problem?
I have written working code to access Athlete information. However when I change the code to try access activities, I get an authorization despite the only thing in my code changing is:get("https://www.strava.com/api/v3/athletes"toget("https://www.strava.com/api/v3/activities"
Hi I am trying to link my Strava runs to my Enthuse charity page but getting this error page?It says, this app has exceeded the limit of connected athletes. If you are a developer of this application, please contact Strava developer support for how to request a quota increase.Could someone help me please.ThanksKate
Hi all,Pretty new to all this and hit a road block: I don't understand how I authorize other users via Oauth and get their access and refresh tokens.I've done that step for myself using 'https://developers.strava.com/docs/getting-started/' Which had me to go to settings/api and manually copy my client ID and client secret. How does this process work for other users? This is likely a lack of knowledge on my part on webhooks or environment variables or something, and if this is the case, please just throw out the right words and I'll google them.So far where I'm at: my code is hosted on a server and I can fetch my own activities from Strava API. I understand that I'll need to redirect users to 'https://www.strava.com/oauth/authorize', but I don't know how to do that and pass along their client id and client secret if I don't (and shouldn't) have that info. Thanks,Talisman
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.