Skip to main content
Question

Strava API -Get Athlete Stats (getStats) not including all rides

  • August 19, 2023
  • 1 reply
  • 32 views

Forum|alt.badge.img+2

trying to get some details out of the Strava API - specifically year to date miles but its missing miles, which i think are either virtual or private rides

i can't see from the api docs if its possible or how to include these in the total

1 reply

Forum|alt.badge.img+2
  • Hub Starter
  • October 20, 2023

Indeed, no matter what scope do I set, I still don't get All-Time rides stats as presented on Strava from /v3/athletes/{id}/stats. And Swagger seems to break when selecting all scopes.


{"message":"Bad Request","errors":[{"resource":"Authorize","field":"scope","code":"invalid"}]}

What scope and query should be used to achieve the same as All-Time result (Rides fore example)?