Catalog/music-recording

Data

MusicBrainz recording (track) search API

Search recordings (individual tracks) via MusicBrainz (keyless), optionally scoped to an artist, returning length in ms and m:ss, deduped ISRCs, the releases the track appears on, earliest release date, and top tags. Answers 'how long is track X','what is the ISRC of this song','which albums contain this recording','when was this track first released'.

Price$0.01per request
MethodPOST
Route/v1/data/music-recording
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
musictrackrecordingsongisrcdurationmusicbrainzmetadata
API URLhttps://x402.hexl.dev/v1/data/music-recording
Integration docs
Example request
{
  "query": "Smells Like Teen Spirit",
  "artist": "Nirvana",
  "limit": 5
}
Example response
{
  "query": "Smells Like Teen Spirit",
  "total": 1,
  "recordings": [
    {
      "id": "8f3471b5-7e21-4a3a-bb2c-1234567890ab",
      "title": "Smells Like Teen Spirit",
      "artist": "Nirvana",
      "lengthMs": 301000,
      "duration": "5:01",
      "isrcs": [
        "USGF19942501"
      ],
      "releases": [
        "Nevermind"
      ],
      "firstReleaseDate": "1991-09-10",
      "tags": [
        "grunge"
      ],
      "disambiguation": null,
      "score": 100,
      "url": "https://musicbrainz.org/recording/8f3471b5-7e21-4a3a-bb2c-1234567890ab"
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "examples": [
        "Smells Like Teen Spirit"
      ]
    },
    "artist": {
      "type": "string",
      "examples": [
        "Nirvana"
      ]
    },
    "limit": {
      "type": "number",
      "default": 10,
      "examples": [
        10
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}