# bandcamp.release

An album or a track on Bandcamp: artist, release date, tracks with durations, tags, label, credits, cover, and what is sold with prices.

Bandcamp release, one of the Bandcamp scrapers.

| | |
| --- | --- |
| Id | `bandcamp.release` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/bandcamp.release/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | The address of an album's or a track's page, e.g. `https://radiohead.bandcamp.com/album/in-rainbows`. Limit: at least 1 characters, at most 400 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `url` | string | The release's page on Bandcamp. |
| `kind` | string | `album` or `track`. |
| `item_id` | integer or null | Bandcamp's id of the album or track. |
| `title` | string | The title. |
| `artist` | string or null | The artist or band the release is by. |
| `artist_url` | string or null | The artist's page on Bandcamp. |
| `album` | string or null | For a track: the album it is on. Null for an album or a single. |
| `album_url` | string or null | For a track: the album's page. |
| `release_date` | string (date-time) or null | When the release came out, as its page states, in UTC. |
| `label` | string or null | The record label, where the page names one. |
| `tags` | array of string | The tags the release carries, e.g. `electronic`, `ambient`. |
| `credits` | string or null | The credits line, e.g. `1998, Warp Records`. |
| `about` | string or null | The artist's text about the release. |
| `image` | string or null | The cover art. |
| `currency` | string or null | The currency the release is sold in, e.g. `USD`, `GBP`. |
| `price` | number or null | The price of the download; for a name-your-price release, the least it can be bought for (0 for a free one). |
| `name_your_price` | boolean or null | True when the buyer may pay more than the price. |
| `formats` | array of object | Everything the page sells of this release: the download and any vinyl, CD or cassette, with prices. |
| `formats[].name` | string | What is sold, as the page names it, e.g. `Digital Album`, `2LP Vinyl`, `CD`. |
| `formats[].format` | string or null | The kind of item: `digital`, `vinyl`, `cd`, `cassette` or another Bandcamp names. |
| `formats[].price` | number or null | Its price in the currency of the release; for a name-your-price item, the least it can be bought for. |
| `formats[].in_stock` | boolean or null | For a physical item: true when it can be ordered now. Null for a download. |
| `duration_seconds` | integer or null | For a track: how long it runs, in seconds. |
| `track_count` | integer or null | For an album: how many tracks it has. |
| `tracks` | array of object | For an album: its tracks in order. Empty for a track. |
| `tracks[].number` | integer or null | The track's position on the release. |
| `tracks[].title` | string | The track's title. |
| `tracks[].duration_seconds` | integer or null | How long the track runs, in seconds. |
| `tracks[].url` | string or null | The track's own page, where it has one. |
| `upc` | string or null | The album's barcode number, where the page gives one. |
| `isrc` | string or null | The track's ISRC code, where the page gives one. |
| `fetched_at` | string (date-time) | When the release was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/bandcamp.release/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-children"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "bandcamp.release",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "url": "https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-children"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "url": "https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-children",
      "kind": "album",
      "item_id": 3297123711,
      "title": "Music Has The Right To Children",
      "artist": "Boards of Canada",
      "artist_url": "https://boardsofcanada.bandcamp.com",
      "album": null,
      "album_url": null,
      "release_date": "1998-04-20T00:00:00Z",
      "label": "Warp Records",
      "tags": [
        "Alternative",
        "Electronic"
      ],
      "credits": "1998, Warp Records",
      "about": null,
      "image": "https://f4.bcbits.com/img/a3351001335_10.jpg",
      "currency": "GBP",
      "price": 9,
      "name_your_price": true,
      "formats": [
        {
          "name": "Music Has The Right To Children",
          "format": "digital",
          "price": 9,
          "in_stock": null
        },
        {
          "name": "2LP Vinyl",
          "format": "vinyl",
          "price": 28,
          "in_stock": true
        }
      ],
      "duration_seconds": null,
      "track_count": 18,
      "tracks": [
        {
          "number": 1,
          "title": "Wildlife Analysis",
          "duration_seconds": 75,
          "url": "https://boardsofcanada.bandcamp.com/track/wildlife-analysis"
        },
        {
          "number": 2,
          "title": "An Eagle In Your Mind",
          "duration_seconds": 385,
          "url": "https://boardsofcanada.bandcamp.com/track/an-eagle-in-your-mind"
        }
      ],
      "upc": "0801061005535",
      "isrc": null,
      "fetched_at": "2026-11-19T18:07:39.020854Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `formats`: 4 items, the first 2 shown.
- Shortened: `tracks`: 18 items, the first 2 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Bandcamp scrapers](https://docs.enrichednow.com/results-and-statuses.md#bandcamp) are in their own section there.
