Skip to main content
Question

ytd_run_totals not showing data for the stats API call

  • December 18, 2024
  • 0 replies
  • 33 views

Forum|alt.badge.img

Hi Strava Support,

I am facing one issue for a bunch of athletes in my team with the API for last few days. Its not happening for every athlete, just hand full. My rest api call for stats is not returning data for the ytd_run_totals . This was working earlier for couple of years now. For example below is the call
https://www.strava.com/api/v3/athletes/someid/stats

{
"biggest_ride_distance": 10119.7,
"biggest_climb_elevation_gain": 27.599999999999994,
"recent_ride_totals": {
"count": 2,
"distance": 1315.5,
"moving_time": 360,
"elapsed_time": 430,
"elevation_gain": 2.0,
"achievement_count": 0
},
"all_ride_totals": {
"count": 9,
"distance": 17241.799926757812,
"moving_time": 6208,
"elapsed_time": 7701,
"elevation_gain": 81.0
},
"recent_run_totals": {
"count": 14,
"distance": 165286.099609375,
"moving_time": 60536,
"elapsed_time": 64121,
"elevation_gain": 137.55283403396606,
"achievement_count": 0
},
"all_run_totals": {
"count": 152,
"distance": 1056855.2845458984,
"moving_time": 343658,
"elapsed_time": 370923,
"elevation_gain": 2772.0
},
"recent_swim_totals": {
"count": 0,
"distance": 0.0,
"moving_time": 0,
"elapsed_time": 0,
"elevation_gain": 0.0,
"achievement_count": 0
},
"all_swim_totals": {
"count": 0,
"distance": 0,
"moving_time": 0,
"elapsed_time": 0,
"elevation_gain": 0
},
"ytd_ride_totals": {
"count": 0,
"distance": 0,
"moving_time": 0,
"elapsed_time": 0,
"elevation_gain": 0
},
"ytd_run_totals": {
"count": 0,
"distance": 0,
"moving_time": 0,
"elapsed_time": 0,
"elevation_gain": 0
},
"ytd_swim_totals": {
"count": 0,
"distance": 0,
"moving_time": 0,
"elapsed_time": 0,
"elevation_gain": 0
}

}

Can you please let me know what is that got changed or needs change to get this fixed

Regards
Roni

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings