tageditor/dbquery/api.md

973 B

MusicBrainz API

  • Regular meta data is available at http://musicbrainz.org/ws/2 and http://mb.videolan.org/ws/2.
  • Cover art is available at http://coverartarchive.org.

Most useful queries

  • artist by name
     /artist/?query=artist:$artist_name&inc=releases
    
  • albums of artist
     /artist/$artist_id?inc=releases
    
  • songs of album
     /release/$album_id?inc=recordings
    
  • song by name, album and artist
     /recording?query="$song_name" AND artist:"$artist_name" AND release:"$release_name"
    
  • album by name
    /release?query="$album_name"
    
  • cover art by album ID
    /release/$album_id/front-500
    
  • lyrics: TODO

Misc

  • enable JSON response: &fmt=json

See also

Other sources for meta data

TODO