# Bandcamp Artist API Documentation

Retrieve a public Bandcamp artist or label profile by URL: name, location, currency, bio and discography. The url parameter must be a bandcamp.com artist page. Other hosts return a 422 validation error.

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

## 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 |
| --- | --- | --- | --- |
| `url` | string | Yes | Full Bandcamp artist URL. Example: https://omunit.bandcamp.com. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bandcamp/artist?url=https%3A%2F%2Fomunit.bandcamp.com"
```

## Example response

```json
{
    "success": true,
    "data": {
        "name": "Om Unit",
        "url": "https://omunit.bandcamp.com",
        "location": "Bristol, UK",
        "currency": "GBP",
        "is_label": false,
        "discography": [
            {
                "title": "Ambient Breakbeat Sample Pack",
                "url": "https://omunit.bandcamp.com/album/ambient-breakbeat-sample-pack"
            }
        ]
    },
    "meta": {
        "endpoint_family": "artist_profile",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The url parameter is missing, invalid or not a bandcamp.com URL. No upstream request is made. This response is not billable. |
| 404 | Artist Not Found | The requested Bandcamp artist was not found. 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)
