Scraper APIBandcamp
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.
- 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; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
urlrequired | string | 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. |
name (in formats[]) | string | What is sold, as the page names it, e.g. Digital Album, 2LP Vinyl, CD. |
format (in formats[]) | string or null | The kind of item: digital, vinyl, cd, cassette or another Bandcamp names. |
price (in formats[]) | number or null | Its price in the currency of the release; for a name-your-price item, the least it can be bought for. |
in_stock (in formats[]) | 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. |
number (in tracks[]) | integer or null | The track's position on the release. |
title (in tracks[]) | string | The track's title. |
duration_seconds (in tracks[]) | integer or null | How long the track runs, in seconds. |
url (in tracks[]) | 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
# Start a run and wait up to 60 seconds for it to finish
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"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("bandcamp.release", {
"url": "https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-children",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("bandcamp.release", {
url: "https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-children",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "bandcamp.release", map[string]any{"url": "https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-children"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("bandcamp.release", Map.of("url", "https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-children"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run bandcamp.release --input url=https://boardsofcanada.bandcamp.com/album/music-has-the-right-to-childrenInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"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.
{
"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.
{
"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 lists every status and the reasons every scraper shares; the reasons of the Bandcamp scrapers are in their own section there.