Curious about our API? Connect with our developers to share ideas, knowledge, and feedback
Recently active
Hi!In my web application there's a log out button. The problem is that it only logs the user out of my application, not Strava, thus the user can simply log back in again and after a quick round trip to the Strava log in page (where the user is still authenticated).Is there an API endpoint to call or a URL we can send the user to to log out of Strava? The Strava website sends a POST request to https://wwww.strava.com/session when logging out, but that requires a `authenticity_token` and is probably not something for 3rd party apps to use.Might not exist a solution to this, but I wanted to ask anyway. My log out button doesn't make much sense as it is now.
Hello all,I try to get comments of an activity using the "/activities/{id}/comments" route.It works but in the json response, I have the following :In the documentation, it is written that it is a SummaryAthlete :So it should contains :The resource state indicate that it is a Meta athlete.Is there a way to have a SummaryAthlete and not a meta Athlete ?Thanks a lor for reply,Geotinc
Hello,can somebody help me how i can give a kudos to a activities with an api call? or is there only get Statements?thanks
Hello,I had bought paid subscription on 13th of August 2024, still number of athletes allowed to connect my API shows only 1. It should have been 999. I am working on a project which is related to Strava and no other developer in my organization can connect to my Strava API. Please resolve this issue to the earliest.Thanks & Regards,Mohammedsajeed Shaikh
Dear Strava Team,I hope this message finds you well.Just to give you a heads-up, I am reaching out on behalf of the Pabbly Connect integration team to inform you about our automation software. Pabbly Connect is designed to facilitate seamless integration between multiple applications, and we are excited to offer integrations with over 2,000 applications. You can explore these integrations at this link: https://www.pabbly.com/connect/integrations/We have an existing integration with Strava, which you can view here: https://www.pabbly.com/connect/integrations/strava/. However, we are encountering issues while setting up the webhook. Currently, we can only configure a single webhook URL, and all data from multiple users is being sent to this single URL. We need to set up separate, specific webhook URLs for each user in our Strava integration to align with our OAuth application requirements.Could you assist us with this issue?
My app queries personal Koms every 30 mins starting 6am (CEST) up until 12pm and compares it to previous data to log lost/gained Koms.Everything works fine except the first query in the morning at 6am which has almost half the get-requests being returned with empty arrays even though their status is 200. The number of empty requests is non-deterministic, meaning sometimes It fetches 2200 of ca. 4000 Koms sometimes less, sometimes more.Here is a small excerpt of my server logs from 6am: <br> ** Fetching From Database: ids<br> ** Fetching Tokens - EXPIRED<br> ** Refreshing Tokens - SUCCESS<br> ** DatabaseID count: 4010<br> ** Fetching Kom Pages<br> ** Fetching Kom Page 1<br> ** Fetching Kom Page 2<br> ** Fetching Kom Page 3<br> ** Fetching Kom Page 4<br> ** Fetching Kom Page 5<br> ** Fetching Kom Page 6<br> ** Fetching Kom Page 7<br> ** Fetching Kom Page 8<br> ** Fetching Kom Page 9<br> **
Olá Equipe Strava, Espero que você esteja bem. Meu nome é Ramon, e estou explorando maneiras de integrar o Strava com o Relive usando ferramentas de automação como Make (anteriormente Integromat) ou Zapier. O objetivo é criar uma automação onde, sempre que uma atividade for registrada no Strava, os dados sejam enviados automaticamente para o Relive para gerar um vídeo sem intervenção manual. Gostaria de saber se o Strava oferece suporte para essa integração e quais são as melhores práticas para usar a API do Strava nesse contexto. Se houver alguma documentação ou orientação específica sobre como configurar essa automação, eu agradeceria muito se você pudesse compartilhar comigo. Agradeço desde já sua atenção e aguardo sua resposta. Atenciosamente,RamónTRANSLATION: Hello Strava Team, I hope you are well. My name is Ramon, and I am exploring ways to integrate Strava with Relive using automation tools like Make (formerly Integromat) or Zapier. The goal is to create an automati
Good afternoon,I'm having trouble with different pages being returned in the "/segment_efforts" query. Could there be a problem?https://www.strava.com/api/v3/segment_efforts?segment_id=1602541&per_page=10&page=2Thank You
Dear Strava Developer Support Team,I am currently working on a project that requires integrating with the Strava API using PHP. However, I noticed that your official developer site does not provide PHP-supported code examples.After searching, I found a PHP repository on GitHub that seems to be aligned with Strava’s API, but it currently has seven unresolved issues.Additionally, the code requires an "ACCESS TOKEN" to function correctly, but I couldn't find clear documentation on how to generate or retrieve this token specific to PHP implementations.Could you kindly provide guidance or official PHP code examples for integrating with your API? Furthermore, I would appreciate detailed instructions on how to obtain the necessary access token.
Hi Strava Dev Community,I’m currently building an app that leverages Strava's API to enhance the experience for inline skaters. Our main goals are to:Highlight Top Skating Segments: Feature the best segments in cities like Singapore, LA, and Barcelona.Reward Top Performers: Display the top 3 skaters per segment and award points to foster friendly competition.Boost Community Engagement: Encourage connections and engagement within the inline skating community.We’re focused on complementing Strava’s existing features without replacing the benefits of a Strava Pro subscription. I tried to use the fetch leaderboard segment API but I believe it's been disabled?Strava API response: 403 Forbidden Leaderboard data: { message: 'Forbidden', errors: [] } Error fetching leaderboard: { message: 'Forbidden', errors: [] }Having access to segment leaderboard data would greatly enhance our ability to do this. Is there any possibility for special access or recommended alternatives that align with Strava’
We've been experiencing consistent 403 errors (rate limit exceeded) since August 15th, despite consuming only 10% of our daily API quota. Our usage graph shows an inexplicable spike of 100x our normal traffic, resulting in both daily and 15-minute limit breaches. We've paused all API requests, but the graph continues to display high usage.An attached screenshot illustrates the anomalous activity. We suspect a potential DDoS attack is artificially inflating our usage. Has anyone else encountered similar issues? Any guidance or support would be greatly appreciated.
Calories burned is available when using the getActivityById call but not when using the getLoggedInAthleteActivities call. I am using the API to generate a dataset with ALL of my Strava activities and having calories available for the historic dataset would be ideal. Am I missing something or is there a reason calories have been omitted from the getLoggedInAthleteActivities call?Thanks!
Bonjour, Je souhaiterais savoir si lors des enregistrement d'activités vélo, Il serait possible de différencie les les segment et effort par type de vélo, VTT, GRAVEL,CYCLISTE, VTTE, car les effort et segment sont confondu pour tout type de vélo, ce qui fait n'es pas très comparable entre un vtt à gros crampons et cycliste sur route ou même vtte ?TRANSLATION: Hello, I would like to know if when recording cycling activities, It would be possible to differentiate the segments and effort by type of bike, MTB, GRAVEL, CYCLIST, MTB, because the effort and segment are combined for all types of bike, which makes it not very comparable between a mountain bike with big studs and a road cyclist or even a mountain bike?
Is there an email address to contact Strava and request a test account?
I tried it by creating a Webhook using a pho script but it was unable to verify the callback url for the webhook. in the Json return not verifiable. I need help for to fixed.
i tried it by creating a Webhook using a python script but it was unable to verify the callback url for the webhook.. I've gotten the webhook working through Zapier for the purpose of the app, but I'm worried that when I apply to have the app recognised by strava so more people can join it that they wont accept it if it doesn't use a coded in webhook..
Hello everyone!I have a question regarding when a user authorizes an application linked to strava to get his data and based on that, you get the id of the athlete of that user, his accesstoken and refresh token.My question is, when a user accepts the terms of the application he is joining, if he previously linked to another application, the tokens of that previous application will have expired, right? Because when it is linked to the new application it generates both new access token and refresh.Is there no way to persist minimizing the same refresh?Or any way to access the information of a user without the tokens of that same user?Perhaps using the tokens listed in the API config?The documentation always talks about the authenticated user, but in cases where a user is linked to several applications, it is difficult to always have the tokens due to the rotation that is generated when linking to a new application.
Good morning,I'm trying to obtain the times of each user on a segment, but it's not being possible. Firstly, because if I have the user log in on my platform to exchange the access token, I get an error that only one person can be connected. So, I conducted a test by making this request: https://www.strava.com/api/v3/segment_efforts?segment_id=35310022&start_date_local=2022-05-21T00:00:00Z&end_date_local=2022-05-21T23:59:59Z&per_page=3, which is executed correctly but I had to use the user's access token by creating an API in their profile... and obviously, for my program, I don't want that, to obtain the segment_effort. I would like to know if there would be a possibility to take the times of each user from a segment created with my user acting as an API, specifically using my own Strava API. Always assuming that the user has public visibility.Or what possible solutions are there for this problem.Thank you.
I'm leveraging Strava for displaying my user data, including the profile photo.The profile photo url that's returned is unique to the photo, so it's not updating the photo it returns automatically.What I figured, then, was that I could just listen to inbound events from the Webhooks and update the Photo URL reference on subscribed users, but I don't seem to be getting any events for user profile updates. Am I missing something? If not, it would be GREAT to have a permanent, static profile url that I just continue to reference.
Has anyone else noticed that that the rate limit headers sent with all API responses changed after the outage yesterday? Previously the headers were CamelCase (e.g. X-RateLimit-Limit) and now they are all lowercase (e.g. x-ratelimit-limit).Did I miss an announcement or is this just a surprise change? And I guess if you're reading this, heads up that the headers appear to have changed so if you have any rate limiting logic be sure to update it.
We have reached the 999 Athlete limit and have tried contacting support, resubmitting the app for verification, and we have not heard back on how to increase these limits.Is there a separate contact form or method to get this number increased?
Bad request when registering a push subscription. I checked output of my url and get the 200 with correct response within miliseconds. Could this be because my api is accessible over ipv6 only? ( no ipv4 available.. ) Cheers
Hello, after check API documentation I have not been able to find how to call go get the leader segments per one athlete. My question is:We need use the parameter: "id" (The identifier of the athlete)We need to get at least the following details per each leader segment:"name" (name of leader segment)"kom_rank" (kom rank of leader segment)"start_date" (date of leader segment) In short, we need to get this data that is shown on website by making an api call:https://www.strava.com/athletes/45686340/segments/leader Thanks for your helping, I will wait for your replies!!Regards,
Trying to create a push subscription in basic php for authorised users but getting HTTP 400 error Connection #0 to host www.strava.com left intact HTTP Status Code: 400 Error Response Body: Array ( [message] => Bad Request [errors] => Array ( [0] => Array ( [resource] => PushSubscription [field] => bad [code] => request ) ) ) Strava API Response: {"message":"Bad Request","errors":[{"resource":"PushSubscription","field":"bad","code":"request"}]} HTTP Status Code: 400 Error Response Body: Array ( [message] => Bad Request [errors] => Array ( [0] => Array ( [resource] => PushSubscription [field] => bad [code] => request ) ) )
Hi Developers, I am want to show static image for the path of the activity done by strava users. Through strava api I get two polylines one is for summary and other is complete. Now how can I show the path using mapbox as I have used static map api but not working. Is there anything regarding the URL encoding or decoding? If anyone has proper docs to generate a successfull URL then you should share here.Thanks and RegardsAtul Sharma
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.