Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
It would be nice to be able to plot a route over an area without a referenced path... This is the feature that often prevents me from plotting MTB routes with your tool, whereas this feature is available on other applications, such as https://www.openrunner.com/Another good idea to take from openrunner: the fact of being able to superimpose several courses on the same map...
Posted in general, now in Developer Discussions.Hello! I've used free version and now in 30 day trial, enjoying Strava as I prepare for the upcoming end-of-July 500 mile ride across Iowa, RAGBRAI. I'm from USA, but the activity I'm seeing of other riders is from Brazil, Turkey, and Spain. Surprised I do not see any from USA. I've checked my profile and it looks okay.It labels me as Mont Blanc - not sure what that means, anyway I'm in the USA.Any ideas?Thanks!
(I'm just trying to post, please ignore this post)
I am using List Athlete Activities from Strava API. When the uploaded activity is received as a response value, Is it possible to distinguish whether the data was uploaded from garmin by the value of external_id?
Hello everyone,I'm writing on behalf of an Italian bike brand.I know from Giant bikes ios app you can directly add your bike to Strava gears.I haven't found a way to manage (add/remove) gears using public v3 apis, you can only read gears.Is there a way to access those kind of apis? Must we setup a partnership between Strava and the brand?
Can anyone tell me if there are plans to add weather information besides temperature to the activities API? I know Strava's front-end displays basic weather information like feels-like and precipitation about the time an activity took place but that doesn't make its way to the API in any way I can tell.It also seems like the "average_temp" field does not show up consistently in the API. Is there a reason for this? I suspected it was older activities that did not have the data, but I cannot identify rhyme or reason why some have it and others do not.Thanks!
Hi there,I have just had my submission approved for the Strava Developer program. In the e-mail, it included that I now have rate limits that are higher than they previously were, which is great. However, it included that my "athlete capacity" is now only 99 - whereas previously it was unlimited for all API applications.I already have 96 athletes connected - you can see how many you have once approved. This limit of 99 is far too low and I am extremely concerned. It reads as though my application, among many others, has/have just been broken for new users. I have a bunch of questions: What happens if I reach the 99 athlete limit and another tries to connect? What is the error message so that this can elegantly be handled?How am I supposed to deauthorize an athlete? My application is a visualization app which has very few concurrent users. However, it may have many connected athletes as they will connect, use the application, and likely forget about it. This seems like an obvi
Hello,When i try to view or edit the subscription webhook of my app i have a 403 error 403 ERRORThe request could not be satisfied.Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.Generated by cloudfront (CloudFront) Request ID: 4cwuvOFIyTkqtHY2tqelKD6UZqOHYK6VEM0cBvNFwAghFuRrlUcYHA==
Today I did 2 hrs weights and cardio, logged activity with HRM and Wahoo app. Result posted to Strava, Time 2:05hrs, av.HR 130, max.HR 155, calories 1513.Yesterday Zwift cycle. Result posted to Strava, Time 1:25hrs, av.HR 145, max 162, calories 713.Relative Effort yesterday 135, fitness +2, stronger effort than usual, right at the top of the red zone.Relative Effort today 3, and right at the bottom in the pale blue zone?Seriously?? I sweated and put in just as much today as yesterday but you ‘dumb down’ on weights and don’t count it for “effort”. Your metric is surely wrong?
I am setting up oAuth flow in postman and all works ok until it calls the token URL at which point it fails with a 404 as per the below. If anyone has some ideas on this help would be much appreciated: ▶POST https://www.strava.com/api/v3/token 137 ms▶Network▶Request HeadersContent-Type: application/x-www-form-urlencodedAuthorization: Basic MTEyOTM1OmIyOTUxMjZiYmIwYTBkZThkNzVjNDdkYWMwZDc3NDJkYTI1ZWIzZDY=User-Agent: PostmanRuntime/7.32.3Accept: */*Cache-Control: no-cachePostman-Token: 5338b39b-26c7-4e29-8522-37083712d01dHost: www.strava.comAccept-Encoding: gzip, deflate, brConnection: keep-aliveContent-Length: 133Cookie: _strava4_session=oi9vk4mpurrq5ere7c9msr25p75menc6▶Request Body grant_type: "authorization_code" code: "e2632985384fd78ff6d482d42fedb3cfcb20cf7d" redirect_uri: "https://oauth.pstmn.io/v1/callback"▶Response HeadersContent-Type: application/json; charset=utf-8Transfer-Encodin
Couldn't delete, but edited comment. Can ignore, thanks.
Hello all,I've made an app using the Strava API where you can create unique prints using your activities. I would like to get it listed here: https://www.strava.com/apps/printsDoes anyone know who I should contact?Happy riding!Luk
Hello Strava Community Hub,I am currently working with the Strava API v3, attempting to automate kudos creation for specific activity IDs using a valid access token. Despite the token having all necessary scoped permissions, I continually receive a `401 Unauthorized` error with the message `"Authorization Error"`. The access token is valid and not expired.### Error Details:```{"message":"Authorization Error","errors":[]}```### Steps to Verify Access Token:1. Checked that the access token is set correctly in my application.2. Verified that the access token is not expired.3. Confirmed that the token has all necessary scoped permissions for writing (required for creating kudos).### Reproduction Steps:If you would like to reproduce this error, please follow these steps (replace `<redacted>` with your actual valid access token):```sh% curl -X POST https://www.strava.com/api/v3/activities/9646819174/kudos -H "Authorization: Bearer <redacted>"```After executing this command, the r
Hello every body, i'm trying to create an App where a will agregate my sport data and i was wandering if the is a way to authenticate without being redirected(using a redirection link for getting the code).Thank in advance
The documentation for SummarySeĝment states that activity_type can be either Run or Ride. But the actual return value can also be other activity types, so it probably would have to be an instance of ActivityType.
Overnight we've seen 100% failure of the /api/v3/uploads endpoint. A post to that route returns the following raw HTML. However, the Strava status page says things are 100% operational?
After working for some time with the API, I'm wondering if this is something feasible. The SummaryXXX model looks not only more complete but usable (as they both include identifiers).In case this is not possible, or causes some sort of breaking change, it would be nice to have info, such as identifiers, gear used, activity stats, etc. on the ClubXXX models.Thanks in advance.
Hello.I noticed this evening, when downloading my data using Strava API (through Postman), that the location_city and location_state parameters are set to 'null'.As I have given my token full access, I get also the detailled info for the segments, and there, the city and state parameters are set properlyI am fairly certain that it was not the case before, so I' m wondering if something has changed.Thank you.
I wonder why any segments with the slightest negative grade does not work on live segments? I understand steep segments for safety, but I like to bike several segments that are quite long but with 0-5% negative grade. They are a bit up and down, but no steep or dangerous parts. None of these work with live segments because of the descent, but I can't understand why. I believe it used to work a while ago.
This activity was started at 10:12 and ended at 10:18 and the result was uploaded at 10:22 via API to Strava. How can I achieve that 10:12 is displayed on the Strava-Website instead of 10:22? start_date and start_date_local are set.
Trying to set up a web page for my sister-in-law, using my own python code and web page as a template.I can get her stats ok, but I get a 401 error returned when I try to get her activities. At the bottom of this message is what I get returned when I try to get her last five activities (I have replaced the Bearer code with **bleep**).I have her client_id, client_secret, refresh_token, access_token, athelete_id, grant_type, (authorization code) and the corrected paths for her stats file, auth file and activities file in a .env file and have double, triple and quadruple checked them for accuracy- what am I missing?I don't understand why stats works, but activities doesn't. My own running web page is here-https://vk7krj.com/running.htmlThe stripped-down version with just the strava bits for Sue is here-https://vk7krj.com/Sues%20running.htmlHer activities are currently showing some old ones of mine as placeholders.. Any help/ideas greatly appreciated.Ken.*************************
Can anyone please provide me a list of activity types for the GPX files? The example below has a number 4... which, as its my GPX, means hiking.I thought it would line up with the FIT activity value but far from it, and by the looks of it, some activities like WheelChair and RollerSki arent even in FIT. <?xml version="1.0" encoding="UTF-8"?><gpx creator="StravaGPX iPhone" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" xmlns="http://www.topografix.com/GPX/1/1"><metadata><time>2023-03-05T09:15:23Z</time></metadata><trk><name>8 Wainwrights around Hayeswater</name><type>4</type><trkseg>
In my app, athletes can connect their Strava, Garmin Connect and COROS accounts to, among other things, capture completed activities. So if they've connected both Strava and, say, Garmin, then when they complete workouts, we'll receive activity records from both accounts. Problem is we only want the workout to appear once in their calendars, and to accomplish this, I've used date/time and other logic to try to detect duplicates. But that isn't foolproof since start time, distance and completion time can all be different for the same workout.Is there anything available in the Activity record that would definitively say which device activity record it's associated with, or is there a more robust way to associate the two records? I see there's an external_id field, but sometimes it references a ping record, sometimes it references a FIT file, and sometimes it's empty. It used to contain the Garmin activity ID which directly referenced the ID in Garmin's record, and that was perfect, but i
Hi, I am trying to make a program that as soon as I upload an activity, changes the title, the description, and most importantly the map type from the regular orange line, to the "support Ukraine" map type.I have been playing around with the API, using the get request to see an activity, but there is no entry for the map type. Is this even possible? Best,J
Hi, I have been working on a simple web application to track running performance. Currently I am using the MySQL database. I have a form taking in Time of run as a string. I was running into issues trying to store the run time as a time via MySQL. I joined Strava hoping I could inspect the HTML with hopes of helping me with my issue.First, I observed that information is being stored as JSON objects. I also observed that the inputs of the form we're taking in the time for a run as a number. I was hoping to engage in a conversation with a developer to assist me as I try to solve my issue and continue building my application. My questions are can I accomplish my goal with MySQL as my database or will I need to convert to a NoSQL database? Does my information need to be input as a JSON object? What steps should I take to accomplish storing "duration" of a run in my Web Application?
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.