I need to look up artist/album/track information for song titles.
Is there a free database I could download or a open source web service/api I could use?
Join Stack Overflow to learn, share knowledge, and build your career.
I need to look up artist/album/track information for song titles.
Is there a free database I could download or a open source web service/api I could use?
Try the last.fm api at http://www.last.fm/api.
If that doesn't work for you, you can look at the various APIs listed in this search result: http://www.programmableweb.com/category/music/api
This is a Silverlight tutorial, but since this is an HTTP REST API, it could seem agnostic to you to get started: http://www.devx.com/VisualStudio/Article/40158.
last.fm is worthless for album info. It does not even return the release date, e.g., Metallica's multi-platinum self-titled album.
– Tom Russell
Dec 22 '17 at 10:24
I'd go with musicbrainz.
I would personnally recommend Discogs, which is free and doesn't limit the per day usage. However, it limits the amount of requests to one per second per IP address.
The API is quite clear and documented. It uses JSON over HTTP, and has wrappers for various programming environnements (Python, Ruby, Perl, .NET, PHP).
Plus, it has data about a massive amount of artists, releases and labels.
Yes! The Echo Nest. Pretty hot startup outside Boston that just got more funding. Their API lets you search by artist, album, track, and more.
echonest.com (without subdomain) doesn't resolve. Also, they were bought by Spotify, so I guess that funding is no longer an issue. :-)
– Steve Tjoa
Jul 2 '15 at 17:25
FreeDB is free, but may or may not have an API. It is user-generated content.
And apparently Gracenote is the new CDDB (but probably not free). I guess they finally figured out that they didn't want to limit their database to CDs.