## apple_music/search

`GET /v1/apple_music/search`

Search Apple Music artists, albums, and tracks by keyword.

*Search Apple Music*

| Parameter | Required | Description |
| --- | --- | --- |
| `query` | yes | Search terms — e.g. `daft punk` |
| `type` | no | Restrict results: artist, album, or track (omit for all music) — e.g. `artist` |
| `limit` | no | Max results, 1-50 (default 25) — e.g. `25` |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. — e.g. `1` |

**Cost:** 3 credits at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/apple_music/search?query=daft%20punk" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "count": 0,
  "items": [
    {
      "album": {
        "id": "example",
        "title": "example",
        "url": "https://example.com/example"
      },
      "artist": {
        "id": "example",
        "name": "example",
        "url": "https://example.com/example"
      },
      "artwork_url": "https://example.com/example",
      "currency": "example",
      "disc_number": 0,
      "duration_ms": 0,
      "explicit": false,
      "genre": "example",
      "id": "example",
      "kind": "example",
      "media_kind": "example",
      "preview_url": "https://example.com/example",
      "price": 0,
      "release_date": "2026-09-01T12:00:00Z",
      "title": "example",
      "track_number": 0,
      "url": "https://example.com/example"
    }
  ]
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/apple_music/search#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/apple_music/search.json)
