# MusicBrainz

Search the open music encyclopedia's recordings — stable ids, credited artists, lengths, and first releases.

- Method: `GET`
- Path: `/v1/music/musicbrainz/recordings`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `q` | string | required | Search terms — artist, title, or both. |
| `limit` | integer | optional | Recordings per page, 1 to 50. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/music/musicbrainz/recordings \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "query": "paranoid android",
    "total": 11553,
    "recordings": [
      {
        "id": "f08d8370-97d9-41a1-b4ff-5688515bd166",
        "title": "Paranoid Android",
        "artist": "Radiohead",
        "length": 365,
        "release": "Goffertpark Nijmegen, Netherlands 2000-09-16",
        "release_date": "2000"
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-22T14:50:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-23T14:50:00.000Z"
  }
}
```