cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Can't find segments

osco55
Mt. Kenya

Hello everyone, I'am discovering the Strava API and i have already an issue with the fonctionnality "explore segments"

This is my code :

http get "https://www.strava.com/api/v3/segments/explore?bounds=[48.750242,5.116399597167978,48.79404419496171..." "Authorization: Bearer my_token"

I ran it in the command prompt and none segments are found. Can you help me ?

1 ACCEPTED SOLUTION

osco55
Mt. Kenya

Issue resolved, i put datas locations in a array but i didn't need

the right request for example :

https://www.strava.com/api/v3/segments/explore?bounds=48.75115481403026,5.120762279830107,48.7956441...

View solution in original post

2 REPLIES 2

osco55
Mt. Kenya

Issue resolved, i put datas locations in a array but i didn't need

the right request for example :

https://www.strava.com/api/v3/segments/explore?bounds=48.75115481403026,5.120762279830107,48.7956441...

Elliott
Community Manager Community Manager
Community Manager

Hey @osco55 - it's possible that there are no segments in the location that you're requesting data for. 

We'd recommend first doing a test on an area where you know there are a lot of segments.