Forums » Bugs & Problems Search

loading a track analysis from an ID found with song search New Reply

Author Post
Posts: 23
Registered: Feb 27, 2009

Is it possible to load the track analysis of a track ID which was found via an EchoNest song search? (using http://developer.echonest.com/api/v4/song/search)

I figured it would be, but the song profile (http://developer.echonest.com/api/v4/song/profile?api_key=MY_API_KEY&format=json&id=SORZXLU12B3A1543F6) consistently seems to give a result based on the ID I found in search while track profile (http://developer.echonest.com/api/v4/track/profile?api_key=MY_API_KEY&format=json&id=SORZXLU12B3A1543F6) does not appear to recognize the track, even though the id is the same. hmm...

Posts: 917
Registered: Sep 08, 2008

volkerdassler:

Yes - just append the param bucket=audio_summary to the url to include the audio_summary for the song. The summary includes a url to a json representation of the full analysis.

Example:

http://developer.echonest.com/api/v4/song/profile?api_key=N6E4NIOVYMTHNDM8J&format=json&id=SORZXLU12B3A1543F6&bucket=audio_summary

Hope this helps

Paul

Posts: 23
Registered: Feb 27, 2009

Ah yes, that did the trick. Thanks Paul!

Reply to this Thread

You must log in to post a reply.