tageditor/dbquery/api.md

669 B

MusicBrainz API

Available at http://musicbrainz.org/ws/2

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"
    

Misc

  • enable JSON response: &fmt=json

See also