## spotify/search

`GET /v1/spotify/search`

Search the Spotify catalog: matching artists, tracks, albums and playlists with ids and links.

*Catalog search*

| Parameter | Required | Description |
| --- | --- | --- |
| `query` | yes | Artist, track, album or playlist name. — e.g. `daft punk` |
| `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:** 2 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/spotify/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
{
  "albums": [
    {
      "artist": "example",
      "id": "example",
      "name": "example",
      "type": "example",
      "url": "https://example.com/example",
      "year": 0
    }
  ],
  "artists": [
    {
      "id": "example",
      "name": "example",
      "url": "https://example.com/example",
      "verified": false
    }
  ],
  "playlists": [
    {
      "description": "example",
      "id": "example",
      "name": "example",
      "url": "https://example.com/example"
    }
  ],
  "tracks": [
    {
      "album": "example",
      "artist": "example",
      "duration_ms": 0,
      "id": "example",
      "name": "example",
      "url": "https://example.com/example"
    }
  ]
}
```

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