Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
Hi,I'm a university researcher in Statistics (and also a keen runner and Strava user). I want to reproduce the results of this research paper (published in 2022):https://link.springer.com/article/10.1007/s40279-022-01680-5In it, the authors state:"Availability of data The data supporting the findings of the current study are provided by Strava under a limited research license. The data are thus not publicly available. Requests to access these data should be directed to Strava."How/where could I request access to these same data?
Hello everyone, I'd like to ask whether there is any way to retrieve all segments for inline skating activity via Strava public API? Is that feature planned to be implemented? Currently according to the docs: https://developers.strava.com/docs/reference/#api-Segments-exploreSegmentsin the desired activity_type parameter we are allowed to use only one of the following values: running, riding. I would be grateful for any hint in this matter.Best,Aneta
Hello everyone,I would like to know if and how we could export the most used routes in Belgium by Strava athletes in a way to improve our cities.By using the API, could we get a full list and merge all the routes used by Strava athletes in Belgium? Allowing us then to suggest to municipalities to add some city furnitures on those most used routes such as water fountains, benches, wheel inflator tools,…Thanks for your help to improve our cities and encourage sports!
Hi, we discovered a strange behavior when uploading duplicate activities on Strava. We use the endpoint Post /uploads in order to upload activities on Strava and there is a case when for example a user tries to upload twice same activity and we have on our side the following handling: if the response from Strava is 400 and the message response contains "duplicate" we are providing to the user a message saying that "the activity is already uploaded", but we observed that for some accounts when we try to upload duplicates activities we receive 201 from Strava meaning "activity successfully uploaded".Strava accounts observed behavior:for new Strava accounts seems to receive the correct response 400 in case of duplicates (e.g Strava accounts created for example today or 3 days ago)for old Strava accounts we receive 201 in case of duplicate requests (e.g Strava accounts created one year ago or 3 months)but after some time (2 days - 1 week) also for the new accounts we received 201 in case o
Hi folks,Im trying to develop a Power BI dashboard for myself and my group of friends but I’m struggling with trying to get an API connection that returns all Strava activities updated as we add more in time.Probably any of you guys have done something similar before? Could you give me some advises?Help is much appreciated.
I have an app where I would like to get the ytd_run_totals of each member in my club. In order to do this, I understand each club member is supposed to authorize my app to be able to read their data. When the user clicks authorize and the athlete's authorization code is displayed in the proceeding url, is there a way to obtain this code programmatically? Or is the only way to obtain it by having the user communicate this to the developer?
Hi,I created a Strava plugin and am facing a severe issue related to open external links.The Strava Webview has some limitations that make the user experience very bad.Main issue: The scrolling behavior has a severe problem, especially scrolling down. Instead of scrolling it, it's closing the page. See the video here: https://files-us-east-1.t-cdn.net/files/WYYSMFdW2s6zTg7fEhey5There are other small things that this Webview is causing, like pull-to-refresh issues, the vertical size of the screen, and lack of href target _blank. Now that you are launching a messaging feature, this web review may cause problems. Other apps already upgraded to a more modern Webview, or they open the native user browser.Is there anything in the roadmap to upgrade it? Or at least remove that behavior of closing that webview when swiping down?
Tony5:07 PM (7 minutes ago) I use the API for a personal program to give me some summary data from my rides. The form requested to be completed ("apply to Strava's developer program) seems to be aimed a companies, not individuals and for commercial applications? I am not able to provide a company name or application. Please confirm I will not lose access to the API I use for personal stats? Thanks,Tony.
testhello
I'm working on a browser-based app using the Strava API that I hope to eventually make publicly available. Originally, I was planning on having all of the communication take place in Javascript in the user's browser. However, since the POST that exchanges the auth code for an access token requires the client secret, so far I have needed to hard-code my client secret in the browser-side JS.This doesn't seem secure, but I'm not sure what the easiest method to secure it is. My first thought was to host a separate API to retrieve access tokens. Once the browser gets an auth code back from Strava, it sends it to the API, and the API talks to Strava to exchange the code for a token, and then sends the token back to the browser.This seems a little convoluted, and even more so if I would need to implement TLS on my new API to secure that communication channel. Is there another recommended way to keep my client secret secure?
I have a few "Currently connected athletes".The problem is that they got deleted in my app's database. Meaning that I'm not able to access their refresh token or short lived access token, even though I have their permission.Is there a way to retrieve or regenerate their refresh token?So that I can create their profiles in my db again.Second option is having them "create a user" again in my app.Thanks for any suggestion!
Hey, I submitted a question through email to the developers inbox 3 weeks ago and still no answer. Does anyone know what kind of response time I should prepare for? And, if someone on the developers team at Strava reads this, it is regarding ticket #6141Thanks,Johan
Hello. I created a dashboard. I'm using API /clubs/{id}/activities .All is good, but i can't separate two people because they have same name and surname start with same letter. Therefore i got an issue. Pavel S. - it's a two different people.Could you add any id, guid or something else for separate two persons near with firstname?
Something I noticed some time back has been emoji changing from color to shadow/black & white. below is some code I have used in my web applications to enable color emoji to appear as we expect them, like country flags.<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Noto+Color+Emoji"><style>@font-face {font-family:Noto Color Emoji;unicode-range:U+1F1E6-1F1FF;}</style>
I am trying to upload an activity via the API with a custom name that contains special utf8 characters like an emoji. It seems that this is blocked by the API. Once I try that the whole activity won't be processed - but I don't get an API error back. or is something wrong on my side? I am using a standard multipart/form-data upload in Swift
oauth/callback/strava&state=ba59db78-5afc-4e45-bdf3-9f4b3ecbf1ed
I have developed a webapp ride analysis using advanced ECP-ExRec models. ECP = Extended Critical Power, ExRec = Acute anaerobic Exhaustion and Recovery.In this stand-alone app, the athlete browses for and uploads his data file in .fit formatI would like to integrate it into Strava as an authorized app. Is it possible to read the full content of a strava data file, such as timestamp, hr, power, alt, cad, etc...?To get an idea of the webapp https://glitch.typhooncycling.me
HelloI have applied for API limit rate for 3 weeks, but there has been no feedback. Now it has caused a lot of user complaints. Please review and respond as soon as possibleThanks
Como contornar quando esquecer de aposentar um componente em uma determinada data e já tiver feito várias atividades posterior a data de aposentar o componente? TRANSLATION: How to get around when you forget to retire a component on a certain date and you have already carried out several activities after the component's retirement date?
In addition to my question below I am also unable to use the dev playground when copying my correct client id and client secret. I have seen another with this issue, is it my side or strava's?Thanks
Hello! We are a Chinese company, and we have applied for Strava's developer API. We aim to use Strava user's exercise data through authorization and generate exercise trajectory videos on our Tooolive product, making this a very exciting endeavor.However, we have a few questions that we would like Strava to address:Can Chinese Strava users authenticate through OAuth2? We have received feedback from users about this issue. How can we resolve it?Is it possible to download exercise data from Strava's API in FIT format, or is it limited to GPX format? If FIT format export is possible, could you please provide guidance on how to do it?Thank you!.
Hi! I have a problem with my Telegram bot which uploads activity files to your Strava accounts.I've made it so you first publish the activity through the bot, and then you can change it's name/description/type etc.And here lies the problem: when the bot changes the type of an activity through the API, the default gear doesn't set automatically, so you have to log in the Strava app and change it manually.Is there a way to set shoes/bikes for the activity via the API?Also, I remember previously gear items had "primary" parameter, which, i think, corresponded with the Default equipment in the UI. But now, since developers added the default sports list to the gear, the "primary" parameter is always set to "false" and cannot be changed, hence the gear can't be set automatically when editing activity via API. Am I right or missing something?
Hello,I would want to implement a feature in my app that would allow athletes to share their activity to other accounts automatically based on the activity title. However I was disappointed to see that there is no endpoint on the open api for that. I was wondering if there is any plan to add this feature in the near future? Thanks
Good Day,I can not figure out how to get a list of Segments that an athlete has ridden. I can get the list of Activities in a given time period using the below. But, how do I then see if those Activities contain a certain segment? I can't figure out where/how to link an activity to a segment or link a segment to an activity or just search for a segment across an athlete's activities within a start/end date. https://www.strava.com/api/v3/athlete/activities?access_token=xxxxxxx&per_page=1&page=1&before=1704067200&after=1672531199The goal is that I want to see if an athlete has ever ridden a segment within a specified start/end date. So, " Did Bobby ride Segment A between StartDate and EndDate". Any guidance is greatly appreciated,Goalasso
I am unable to update the scope to activity:read of my Application as there seems to be a CORS error when the when a new auth token and refresh token are requested! Any help would be appreciated!
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.