# Deezer



Deezer's catalog — search any track for a playable preview, and read the chart the world is streaming.



## Deezer Search

Search Deezer's full catalog — every track with a playable 30-second preview URL.

- Method: `GET`
- Path: `/v1/entertainment/music/search`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `q` | string | required | Search terms. |
| `limit` | integer | optional | 1 to 50 tracks. |
| `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/entertainment/music/search \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "query": "eminem",
    "total": 4506,
    "tracks": [
      {
        "id": 916424,
        "title": "Without Me",
        "artist": "Eminem",
        "album": "The Eminem Show",
        "durationS": 290,
        "previewUrl": "https://cdns-preview-d.dzcdn.net/stream/…/preview-0.mp3",
        "artworkUrl": "https://e-cdns-images.dzcdn.net/images/cover/…/500x500.jpg",
        "link": "https://www.deezer.com/track/916424"
      }
    ]
  },
  "meta": { "request_id": "req_7Q2fK4mZ", "as_of": "2026-08-22T04:05:00.000Z", "age_seconds": 42, "next_update_at": "2026-08-23T04:05:00.000Z" }
}
```

## Deezer Charts

The editorial chart — what the world is streaming right now, with previews.

- Method: `GET`
- Path: `/v1/entertainment/music/charts`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `limit` | integer | optional | 1 to 50 tracks. |
| `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/entertainment/music/charts \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "tracks": [
      {
        "id": 2815601962,
        "title": "Bongos",
        "artist": "Cardi B",
        "album": "Bongos - Single",
        "durationS": 173,
        "previewUrl": "https://cdns-preview-d.dzcdn.net/stream/…/preview-0.mp3",
        "link": "https://www.deezer.com/track/2815601962"
      }
    ]
  },
  "meta": { "request_id": "req_7Q2fK4mZ", "as_of": "2026-08-22T04:05:00.000Z", "age_seconds": 42, "next_update_at": "2026-08-22T05:05:00.000Z" }
}
```