Announcements

Help Wizard

Step 1

NEXT STEP

Get request for multiple tracks audio features

Get request for multiple tracks audio features

My Question or Issue

Hi!

 

I'm trying to get the audio features for multiple tracks, but can't get the request right.

I've looked through the documentation for getting multiple tracks, as well as the similar documentation for getting a single track. According to the documentation, the query that I'm trying looks like

 

https://api.spotify.com/v1/audio-features/id1,id2

 

But it won't work, and returns the error 400: Bad Request. Any idea what I'm doing wrong?

Reply
1 Reply

It works with https://api.spotify.com/v1/audio-features?ids=id1%2Cid2, so there are two changes: replace the last / with ?ids= and replace each comma with %2C.

Suggested posts