Combining the Discogs and The Echo Nest APIs

May 22, 2012

Today we announced that Discogs artist IDs have been added to the Rosetta Stone name mapping system allowing developers to easily create apps that use both The Echo Nest and the Discogs API.   

Discogs is a user-built database containing information on artists, labels and their recordings.  Discogs users can search for information about music, track their music collection, buy and sell music and extend the Discogs database with new information. Discogs also provides an API that allows developers to get access to the rich data in the Discogs database.

With this new Rosetta Stone integration developers now can easily access to both the Discogs and The Echo Nest data.  For example, by adding the ‘discogs’ bucket to the Echo Nest artist profile method,  a developer can retrieve the Discogs ID for any artist like so:

This returns a foreign_ids block that includes the Discogs artist ID for Radiohead:

      "catalog": "discogs",
      "foreign_id": "discogs:artist:3840"

This ID can be used with the Discogs API to retrieve detailed information about Radiohead from the Discogs API:

Likewise, if you have a Discogs artist ID, you can use it with any Echo Nest method that takes an artist ID as an input parameter. For example, the following method call will retrieve recent blog posts about Donna Summer based on her Discogs ID:

Discogs has been building their music database for many years. They have broad and deep coverage for many thousands of artists.  Their API makes all this data available under a CC0 No Rights Reserved license which means that there are no restrictions on what you can do with their data.  We are quite excited to be working with Discogs and look forward to seeing all the apps that developers build on top of our combined APIs.