Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
I think API write access for Activity privacy settings would be a useful addition to Strava because this would allow users to configure third-party apps to manage their Activity privacy settings with greater granularity than Strava offers through its current UI. I would like to be able to set both Activity visibility as well as Activity map visibility via API. Ideally, Strava would also provide the ability to configure these defaults in-app. However, in lieu of more granular control over privacy defaults within the app itself, this would be a significant improvement to Strava's privacy features and one that would have a significant positive impact on user Trust & Safety. For example, it would allow a user to programmatically hide the entire map for their commutes, walks, or runs—which may tend to occur in more predictable zones and within a tighter radius of their residences and places of work—while configuring different default map visibility settings for bike rides or ski activit
Is it in any way possible to get more API requests for an application?My application only has 1000 requests pr day with a limit of 100 pr 15 minutes.
I found this conversation here where a man named John said that he was able to bypass the limitations of the getClubActivitiesById endpoint by having people authenticate his app, allowing him full access to their activity details at the level they authorize. Is there any validity to this, or do you guys have any ideas as to what this would look like? I don't think that them authenticating your app would give you more access to their activities through the getClubActivitiesById endpoint, given there's a response data limitation there to such few fields. Theoretically, how would I get the extra details? Would I have to use the "List Athlete Activities" endpoint, but that endpoint doesn't have any extra parameters for the request URL? In an attempt to do this myself, I sent them a link like this: https://www.strava.com/oauth/authorize?client_id=<myClientId>&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=activity:read_
I couldn't figure out how to authenticate my account to change the scope of my api project does anyone know what im doing wrong. I started from using this https://developers.strava.com/docs/getting-started/ and then went to this url http://www.strava.com/oauth/authorize?client_id=[REPLACE_WITH_YOUR_CLIENT_ID]&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=readbut obviously with my client id and it sent me here which is not what's supposed to work.I was just wondering if anyone knows what i did wrong or how to change my scope of my api application?
Hi!First of all, congratulations on all the great work you are doing; it's amazing! We are delighted to be integrated with Strava, as it greatly enhances our user experience.We are managing well with the rate limits, but the one that concerns us the most is the Athletes Capacity. Currently, we already overcome 50% of our maximum capacity, and we are still in the Beta phase. This makes us a bit anxious because we don't want to provide a poor user experience for our athletes when we reach that limit.I apologize if this isn't the appropriate channel for addressing this "issue", please tell if we should follow any other path.Best regards,
Does anyone have insight into why my request might be failing? My access_token is indeed expired
Can you please update the clubs documentation at https://developers.strava.com/docs/reference/#api-Clubs. The data returned does not match the docs and there is some limit to the pagination effecting the number of activities that can be returned. Many users ran into both these issues and posted on the old Google groups.Hopefully when you document these it will become clear this endpoint needs to be improved as it's currently of very limited use.
I subscribed to Premium mostly for the extra features. But I find them not very user friendly. I've searching on how to display my Fitness & Freshness score somehow easily, so I can be reminded about it on a daily basis.Since is no available via API, would anyone here know where I can find an alternative?Thanks
Hello guys. We want to connect our swimming app to the Strava API.Everything is working well, except Webhook Events API. According to the documentation https://developers.strava.com/docs/webhooks/, we need to Create a subscription.On this step when we make the request:$ curl -X POST https://www.strava.com/api/v3/push_subscriptions -F client_id=XXXXXX -F client_secret=XXXXXX -F callback_url=https://api.openswim.fr/api/strava -F verify_token=STRAVAWe always get this error:{ "message": { "errors": [ { "code": "not verifiable", "field": "callback url", "resource": "PushSubscription" } ] }}When we check the Subsc
Hello,Do you provide any means to authenticate a Strava call on our webhook endpoint? Like an authentification header that we can configure as we want.Or perhaps you can provide me the IP adresses of your servers so that I can securize my endpoint through IP filtering?Thanks
Hello,in the first line of the following link https://developers.strava.com/docs/partner/strava-live-segments/ it is mentioned that:"Strava Live Segments is an API that allows users to compare their real time effort with Strava segment efforts on their device. To inquire about Strava Live Segments licensing, contact developers -at- strava.com with the subject line “Strava Live Segments Request” and include your API App ID."I did send an email requesting access to the Live segments API only to get an automtic reply redirecting me to this forum. Can someone help me understand what i have to do to get access to the live segments API?I understand that this is more of a private API using a diffetent endpoint (https://www.strava.com/api/v3/live/segments/:id) than the one mentioned here https://developers.strava.com/docs/reference/ (https://www.strava.com/api/v3/)Thanks
hello!My name is Tobias and I have an app for cyclists in which I am implementing a functionality in which users can upload activities in GPX format to their account. I am testing the api service and I am having an error that I cannot remove. According to all the documentation I was looking at the file I am sending is correct but the api tells me that it is not correct. I’m sending you the details of the tests I’m doing to see if you can help me figure this out. I appreciate your help.Have a good evening. The call is:curl --location 'https://www.strava.com/api/v3/uploads' --header 'Authorization: Bearer ....' --form 'activity_type="Ride"' --form 'name="Test Walk"' --form 'description="Test walk for cyclon"' --form 'trainer="0"' --form 'commute="0"' --form 'data_type="gpx"' --form 'file=@"ftYnBaTC2/strava.gpx"' the file GPX to send:<?xml version="1.0" encoding="UTF-8"?><gpxcreator="CyclonApp"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http
As for Garmin Connect, it offers the activity detailed api for developers to access the everysec detailed in a certain activity as a json. I wander whether Strava v3 API offer the same, because I cannot find this information in API Docs. The Activity Detailed is as follow:"samples": [{"startTimeInSeconds": 1695538280,"bikeCadenceInRPM": 0.0,"timerDurationInSeconds": 0,"movingDurationInSeconds": 0,"heartRate": 99,"elevationInMeters": 3.200000047683716,"speedMetersPerSecond": 1.8940000534057617,"latitudeInDegree": 22.55610477179289,"clockDurationInSeconds": 0,"longitudeInDegree": 113.87656951323152,"airTemperatureCelcius": 35.0,"totalDistanceInMeters": 0.029999999329447746}, {"powerInWatts": 0.0,"longitudeInDegree": 113.87656565755606,"totalDistanceInMeters": 1.9199999570846558,"startTimeInSeconds": 1695538281,"bikeCadenceInRPM": 0.0,"timerDurationInSeconds": 1,"movingDurationInSeconds": 1,"heartRate": 99,"elevationInMeters": 3.0,"speedMetersPerSecond": 1.8940000534057617,"latitudeI
We want to build an android application to read data of athletes after their authentication using V3 API. Default rate limit is 200 for 15 mint and 2000 for per day.How to increase this limit. Is there any paid plan for developers?
We made a web app and connected strava API to get the activity of athletes, We only get the activity of athletes who are associated with our strava app, but we don't get the activity of those who are not associated with our apps. Many people connect their Strava account with our web app, and when we are going to generate refreshing tokens it says bad request. Please let me know how we can get all of the activity of athletes who are connected to our web apps via strava. Do we need to any extra settings of the app for public mode?
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?
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.