Forums » Feature Requests Search

"tracks" bucket for similar artists AND/OR multiple artist_id for song search New Reply

Author Post
Posts: 4
Registered: Jul 07, 2012

I want to get track information for a bunch of similar artists, given a single artist. Right now I have to request similar artists, then do a song search with the "tracks" bucket for each of those artists to get the track data. That's a lot of requests..

If there was a "tracks" bucket for similar artists I could do this with one request. Alternatively, if song search accepted multiple artist_ids, then I could do this with two requests.

It looks like I can get something like this with dynamic/methods API (which is really cool btw), but this maxes out at 5 results and doesn't give me control of the artists I load.

Posts: 914
Registered: Sep 08, 2008

Hi mtytel - You shouldn't expect to see a 'tracks' bucket for the artist similarity call any time soon. Perhaps the static playlist api will give you what you want. For example, here's a static playlist with a single seed with 30 tracks in the result, all by mostly different artists:

http://developer.echonest.com/api/v4/playlist/static?api_key=N6E4NIOVYMTHNDM8J&artist=weezer&format=json&results=30&type=artist-radio&bucket=id:7digital-US&bucket=tracks&limit=true&variety=1&distribution=wandering

Hope this helps -- Paul

Posts: 4
Registered: Jul 07, 2012

Ah cool, the static playlists are more powerful than I thought.
I think the type/distribution/adventurousness controls are enough to do what I wanted.

Thanks a bunch, Matt

Reply to this Thread

You must log in to post a reply.