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

API endpoint for getting multiple Albums (with tracks) from multiple Artists

API endpoint for getting multiple Albums (with tracks) from multiple Artists

My web app is using the Spotify API to get all of the albums by multiple artists.

I have to call https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-albums

The number of artists can easily be in the hundreds.

 

Because (somewhat unintentionally) my app is optimized for concurrency, it tries to make a lot of these requests at the same time and the rate limit cap is reached.

 

This cap is reached when its just me testing it - 1 user. I know I can apply for my rate limit to be increased but I think the main problem isn't the rate limit but that I can't get the albums from multiple artists in a single call so the app is making more requests than it should have to.

 

I understand that there might be a limit to how many you can request at once. It's really frustrating that I'm going to have to intentionally throttle my app because of this.

Reply
0 Replies

Suggested posts