Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Who Me Too'd this topic

Bug with offset for method "Get User's Top Artists and Tracks"

How can I get 150 items from method "Get User's Top Artists and Tracks" with 3 request? My queries found a bug with the offset value and couldn't get more than 100 items.

 

- If set limit 50 and offset 0 - response with 50 items
https://api.spotify.com/v1/me/top/tracks?limit=50&offset=0&time_range=medium_term

 

- If set limit 50 and offset 50 - response with 0 items

https://api.spotify.com/v1/me/top/tracks?limit=50&offset=50&time_range=medium_term

 

- If set limit 50 and offset 49 - response with 50 items

https://api.spotify.com/v1/me/top/tracks?limit=50&offset=49&time_range=medium_term

 

- If set limit 50 and offset 0-49-98 - response with 100 items

https://api.spotify.com/v1/me/top/tracks?limit=50&offset=0&time_range=medium_term

https://api.spotify.com/v1/me/top/tracks?limit=50&offset=49&time_range=medium_term

https://api.spotify.com/v1/me/top/tracks?limit=50&offset=98&time_range=medium_term

Who Me Too'd this topic