Skip to main content
Answer

Problems paging the query "/segment_efforts"

  • August 22, 2024
  • 2 replies
  • 35 views

Terraco
Forum|alt.badge.img+2

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=2

Thank You

Best answer by ActivityFix

According to the API Documentation there is no page parameter (https://developers.strava.com/docs/reference/#api-SegmentEfforts-getEffortsBySegmentId). Try using start_date_local and end_date_local instead.

2 replies

ActivityFix
Superuser
Forum|alt.badge.img+24
  • Superuser
  • Answer
  • August 22, 2024

According to the API Documentation there is no page parameter (https://developers.strava.com/docs/reference/#api-SegmentEfforts-getEffortsBySegmentId). Try using start_date_local and end_date_local instead.


Terraco
Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • August 22, 2024

Thank you! 

I thought that it was possible to enter the page parameter in all queries and now I see that it is not. 😅