# Bandcamp Discover API Documentation

Fetch the Bandcamp Discover feed: curated albums and tracks with title, artist, band, price in major units (12.0 = 12.00) and currency. Supports cursor-based pagination. A valid empty result is a successful response.

- **Documentation:** [https://scrappa.co/docs/bandcamp-api/bandcamp_discover](https://scrappa.co/docs/bandcamp-api/bandcamp_discover)
- **API group:** Bandcamp API
- **Endpoint:** `GET https://scrappa.co/api/bandcamp/discover`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `cursor` | string | No | Pagination cursor. Default: *. |
| `size` | integer | No | Results per page, 1-60. Default: 5. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bandcamp/discover?size=5"
```

## Example response

```json
{
    "success": true,
    "data": {
        "items": [
            {
                "position": 1,
                "title": "MIRROR MODULATION",
                "url": "https://flavorfoley.bandcamp.com/album/mirror-modulation",
                "artist": "FLAVOR FOLEY",
                "band_name": "FLAVOR FOLEY",
                "band_url": "https://flavorfoley.bandcamp.com",
                "band_id": 3910613538,
                "price": 6.9,
                "currency": "USD"
            }
        ],
        "result_count": 6490818,
        "has_more": true,
        "next_cursor": "abc123"
    },
    "meta": {
        "endpoint_family": "discover_feed",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is invalid. This response is not billable. |
| 503 | Upstream Unavailable | Bandcamp is temporarily unavailable. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
