Forums » Bugs & Problems Search

/artist/similar with seed_catalog returns artists in catalog New Reply

Author Post
Posts: 4
Registered: Sep 29, 2011

When I try to search for similar artists and use a seed_catalog, it appears to return artists that are already in the catalog as part of the list. Is there any way to work around around- basically, I want to get a list of new artists, based on what someone has already played- without showing them artist they already know.

Thanks!

Posts: 914
Registered: Sep 08, 2008

Hi untogether - currently there's no direct way to do this with the artist/similar api. However, you can come close using the playlist API. Create a catalog-radio playlist, give the seed_catalog as input, and set the 'adventurousness' parameter to 1 ( max adventurousness should result in a playlist with no/minimal overlap with the seed catalog). If you set the distribution to wandering and the variety to 1 you should get a playlist with no few or no repeated artists too. Here's an example call:

http://developer.echonest.com/api/v4/playlist/static?api_key=N6E4NIOVYMTHNDM8J&results=20&type=catalog-radio&seed_catalog=CAAIBSW13663560DED&adventurousness=1&variety=1&distribution=wandering

Hope this helps -- Paul

Posts: 4
Registered: Sep 29, 2011

Thanks Paul, that looks great!

Reply to this Thread

You must log in to post a reply.