The Free Music Archive Partnership

The Echo Nest has linked our IDs to The Free Music Archive, making it easy for Echo Nest developers to access The Free Music Archive content. The Free Music Archive is an interactive library of high-quality, legal audio downloads presented by a group of established audio curators. The project is spearheaded by WFMU, the most renowned freeform radio station in America. Radio has always offered the public free access to new music. The Free Music Archive is a continuation of that purpose, designed for the age of the internet.

Available Assets
Every mp3 in The Free Music Archive is pre-cleared for certain types of uses that would otherwise be prohibited by copyright laws that were not designed for the digital era. These uses vary and are determined by the rightsholders themselves who feel that allowing a degree of free cultural access is beneficial not only to their own pursuits, but to our society as a whole.

Inspired by Creative Commons and the open source software movement, the FMA provides a legal and technological framework for curators, artists, and listeners to harness the potential of music sharing.

See the FMA Free Music Archive FAQ for licensing details.

Rights & Responsibilities

The Free Music Archive offers free downloads under Creative Commons and other licenses. Visit the track page to discover what you can and cannot do with each track.

For every copyrighted work uploaded to the Archive, a Curator has received permission from the rightsholders to make that work available for free public download. Some rightsholders only want their works downloaded for personal use. Other rightsholders have also given permission for their music to be used in a variety of other ways, from simply being re-hosted on your website, to being remixed or incorporated into your film.

Getting Started

When making calls to the Echo Nest API, use the parameter: bucket=id:fma. This will return foreign ids into the Free Music Archive database.

As an example, the band 'Carsick Cars' has an FMA ID of 3841. To find biographies for Carsick Cars using our API and the FMA ID, you would issue a query like this:

http://developer.echonest.com/api/v4/artist/biographies?api_key=FILDTEOIK2HBORODV&id=fma:artist:3841&format=json&results=1&start=0

Note that the id parameter is of the form catalog:entity:id; in this case, 'fma' is the catalog; artist is the entity, and 3841 is the artist ID in the FMA catalog.

You can also retrieve artist information and receive their IDs in the Free Music Archive name space. To do this, you use the bucket=id:fma parameter on any call that returns artists, or tracks. As an example, to find artists similar to Radiohead, with FMA foreign IDs returned, issue a call like this:

http://developer.echonest.com/api/v4/artist/similar?api_key=FILDTEOIK2HBORODV&id=fma:artist:3841&bucket=id:fma&limit=true
Example results:
{
    "response": {
        "artists": [
            {
                "foreign_ids": [
                    {
                        "catalog": "fma", 
                        "foreign_id": "fma:artist:6986"
                    }
                ], 
                "id": "ARR0KBC1187FB38177", 
                "name": "P.K.14"
            }
        ], 
        "status": {
            "code": 0, 
            "message": "Success", 
            "version": "4.2"
        }
    }
}

Note that for each artist returned, there is a new foreign_ids block that includes a foreign_id of the form catalog:entity:id.

Similarly, you can retrieve FMA track IDs by including the id:fma parameter on any call that returns tracks.

http://developer.echonest.com/api/v4/song/search?api_key=FILDTEOIK2HBORODV&format=json&results=10&sort=song_hotttnesss-desc&bucket=id:fma&limit=true&bucket=tracks
Example results:
{
    "response": {
        "songs": [
            {
                "artist_id": "AR7J9AP1187FB5BD64", 
                "artist_name": "Adele", 
                "audio_md5": "e96ef9f2fdd596b549574ee81c390e5f", 
                "id": "SORFCTI127CF88D209", 
                "title": "Chasing Pavements", 
                "tracks": [
                    {
                        "catalog": "fma", 
                        "foreign_id": "fma:track:11764", 
                        "foreign_release_id": "fma:release:2898", 
                        "id": "TRRSUGA131BAB7306B"
                    }
                ]
            }, 
            {
                "artist_id": "ARF8HTQ1187B9AE693", 
                "artist_name": "Daft Punk", 
                "audio_md5": "5e31a9d776e710d771d25b99c643ce17", 
                "id": "SOGSGTG127E9433647", 
                "title": "One More Time", 
                "tracks": [
                    {
                        "catalog": "fma", 
                        "foreign_id": "fma:track:11775", 
                        "foreign_release_id": "fma:release:2898", 
                        "id": "TRRSPHK131BAB73076"
                    }
                ]
            }
        ], 
        "status": {
            "code": 0, 
            "message": "Success", 
            "version": "4.2"
        }
    }
}