> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MusicBrainz

> Open music encyclopedia providing structured metadata for artists, albums, tracks, and recordings with unique identifiers (MBIDs) used across the music industry.

Open music encyclopedia providing structured metadata for artists, albums, tracks, and recordings with unique identifiers (MBIDs) used across the music industry. Best for music catalog enrichment, artist discography lookups, and linking music data across platforms. The canonical open-source music metadata database — unlike TMDB (film/TV), MusicBrainz covers the full music domain with industry-standard identifiers.

1 example endpoint available through Lava's AI Gateway. See the [MusicBrainz API docs](https://musicbrainz.org/doc/MusicBrainz_API) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://musicbrainz.org/ws/2` is supported. Open music encyclopedia API. Construct URL as [https://musicbrainz.org/ws/2/\&#123;entity\&#125;?query=\&#123;query\&#125;\&fmt=json](https://musicbrainz.org/ws/2/\&#123;entity\&#125;?query=\&#123;query\&#125;\&fmt=json). Entities: artist, release, recording, release-group, label, work, area. The endpoints below are curated examples.</Info>

## Endpoints

### Search for artists

**GET** `https://musicbrainz.org/ws/2/artist/?query=radiohead&fmt=json` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://musicbrainz.org/ws/2/artist/?query=radiohead&fmt=json', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fmusicbrainz.org%2Fws%2F2%2Fartist%2F%3Fquery%3Dradiohead%26fmt%3Djson" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
