Skip to main content
Answered

API for /activities truncates "elapsed_time" if activity is greater than 24hrs

  • April 5, 2023
  • 1 reply
  • 8 views

Forum|alt.badge.img+1

Activities via: https://www.strava.com/api/v3/activities

Shows "elapsed_time" in seconds but if the activity is longer than 24hours it seems to only contain the remainder after the first 24hours

e.g.

https://www.strava.com/activities/3886452961/overview27:52:15
/activities returns:
"elapsed_time": 13935 = 3:52:15

https://www.strava.com/api/v3/activities/3886452961 returns:

"elapsed_time": 100335 = 27:52:15
 
Is this known/expected behaviour?
Seems like a possible bug?

 

Best answer by SkippyVasquez

Hey agilezulu,

Thank you for the post. Can you please contact developers@strava.com.

 

1 reply

SkippyVasquez
Strava
Forum|alt.badge.img+21
  • Strava
  • 109 replies
  • Answer
  • May 3, 2023

Hey agilezulu,

Thank you for the post. Can you please contact developers@strava.com.