musiXmatch has partnered with The Echo Nest to provide easy integration with the two catalogues.
The Echo Nest developers will now be able to integrate easily with the musiXmatch web service and gain access to more than 6 million available lyrics.
musiXmatch developers will be able to access to The Echo Nest api using the musiXmatch ids.
Examples
From Echo Nest to musiXmatch
You can use retrieve the musiXmatch song IDs By using the id:musixmatch-WW bucket when making calls that return song info.
Request
Get the musiXmatch ID for the song ‘Creep’ by Radiohead
http://developer.echonest.com/api/v4/song/search?api_key=N6E4NIOVYMTHNDM8J&format=json&artist=radiohead&title=creep&bucket=id:musixmatch-WW&limit=true&bucket=tracks
The response includes a foreign_ids block for each song that includes the MusixMatch IDs like so:
{ "catalog": "musixmatch-WW", "foreign_id": "musixmatch-WW:song:2119618" },
You can use the id 2119618 as the musiXmatch track id to get the lyrics
From musiXmatch to Echo Nest
You can use a musiXmatch track ID to get info from the Echo Nest api about a song.
Request
Get the Echo Nest song from the musiXmatch track id 2119618
http://developer.echonest.com/api/v4/song/profile?api_key=N6E4NIOVYMTHNDM8J&id=musixmatch-WW:song:2119618&bucket=audio_summary