|
Hello mswinson,
When you make a fingerprint query using song/identify, the fingerprint will be matched directly against The Echo Nest's database, not our partners'. However, by using the "bucket" parameter in the request, you can get supplementary results in a different ID space, more detailed information about the actual tracks, etc. In this sense, some of the relationships or mappings between The Echo Nest's catalogs and our partners' are given by Project Rosetta Stone: http://developer.echonest.com/docs/v4/index.html#rosetta
For example, to get results in the Spotify ID space:
http://developer.echonest.com/api/v4/song/identify?api_key=N6E4NIOVYMTHNDM8J&code=eJzVm [ ... fingerprint goes here ... ] AKDG9u4=&version=4.12&bucket=tracks&bucket=id:spotify-WW
{"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": [{"tracks": [{"catalog": "spotify-WW", "foreign_id": "spotify-WW:track:5hNd3UB2VG6M38kqgTHE3o", "id": "TRFIUKB13386518855"}, {"catalog": "spotify-WW", "foreign_id": "spotify-WW:track:4GY9Bfm57wr5m8Kw8hiB98", "id": "TRGKEAC13386472064"}, {"catalog": "spotify-WW", "foreign_id": "spotify-WW:track:7oR6vPgaw4QlXXmJ8IfKMg", "id": "TRMQCXW13386526041"}, {"catalog": "spotify-WW", "foreign_id": "spotify-WW:track:5H1R9pIQ8UFxSxW27wrppr", "id": "TRQHWUO1338645C953"}, {"catalog": "spotify-WW", "foreign_id": "spotify-WW:track:5XaUQtpPVrY6pCSPZYjd39", "id": "TRXOMLH13386500508"}], "score": 172, "title": "Accidents Will Happen", "message": "OK (match type 6)", "artist_id": "AROCZUC1187B9AD05B", "artist_name": "Elvis Costello", "id": "SOADJAU12A8C13C656"}]}}
Andrew
|