Skip to main content
Solved

Return detailed representation for multiple activity ids


cem8301
Forum|alt.badge.img+4

I would like a faster method of querying a detailed representation for a list of Strava activities. I can make a single query via:

/activities/{id}

However, I have 1000 activities and need to make a seperate call for each acitivity id. And this takes too long.

It would be nice to be able to query on a list of activity ids. Is this possible?

Side note: The same question was stated nicely on another forum. I did not write it, but will link for clarity.

Best answer by ActivityFix

Depending on which data you need from the activity, getLoggedInAthleteActivities returns a good amount of data and can give you up to 200 activities at a time. It isn't the full detailed representation but has most of the key top-level data like distance, speed, time, etc...

Otherwise at the moment the only option is what you said with retrieving each activity individually.

View original
Did this topic help you find an answer to your question?

2 replies

ActivityFix
Superuser
Forum|alt.badge.img+24
  • Superuser
  • 249 replies
  • Answer
  • January 31, 2024

Depending on which data you need from the activity, getLoggedInAthleteActivities returns a good amount of data and can give you up to 200 activities at a time. It isn't the full detailed representation but has most of the key top-level data like distance, speed, time, etc...

Otherwise at the moment the only option is what you said with retrieving each activity individually.


cem8301
Forum|alt.badge.img+4
  • Author
  • Hub Rookie
  • 2 replies
  • January 31, 2024

@ActivityFix I'm looking to get segment_efforts and their rank data, which are not part of the general activities output 😕😕 


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