Connect your Bandcamp artist account to EcomCentral using OAuth2 access token authentication to browse your discography and release details.
Bandcamp is a music marketplace that lets artists sell music and merchandise directly to fans. Artists retain high revenue shares and maintain direct relationships with buyers. EcomCentral connects to Bandcamp's public API to browse your discography (albums, tracks, and merch packages) and view release details including tracklists and physical package information.
Your Band ID is a numeric identifier for your Bandcamp artist account. There are two ways to find it:
band_id"band_id"http://localhost for testing)?access_token=…)
on every API call. Keep it private and do not share it publicly.
| Key | Required | Description | Example |
|---|---|---|---|
band_id |
Required | Your numeric Bandcamp Band ID. Found in artist settings or developer portal. | 987654 |
access_token |
Required | OAuth2 access token from the Bandcamp developer OAuth2 flow. Appended as a query param on every request. | eyJhb… |
bandId for the band ID;
accessToken or token for the access token.
| Operation | Method | Endpoint |
|---|---|---|
| Test connection | GET |
/band/3/info?band_id={band_id}&access_token={token} |
| Discography (products) | GET |
/band/3/discography?band_id={band_id}&access_token={token} |
| Release detail (tracklist) | GET |
/band/3/tralbum_details?band_id={band_id}&tralbumId={id}&access_token={token} |
access_token as a URL query parameter
(not an Authorization header). The discography endpoint returns a bare JSON array;
all other endpoints return plain JSON objects.
| Feature | Supported | Notes |
|---|---|---|
| Test Connection | ✅ | Hits /band/3/info — confirms band_id and access_token are valid |
| Orders | ❌ | Use Bandcamp Artists dashboard to view and export orders |
| Order Detail | ❌ | Not available via the public API |
| Products (Discography) | ✅ | Albums, tracks, and merch packages from /band/3/discography |
| Product Detail (Tracklist) | ✅ | Full tracklist, duration, and physical package info via /band/3/tralbum_details |
| Stock Management | ❌ | Digital content has no stock concept; physical packages are read-only via public API |
| Push Tracking | ❌ | Digital delivery is automatic; physical order tracking is managed on Bandcamp |
The access token is wrong, expired, or has been revoked. OAuth2 tokens have a limited lifetime — refresh your token via the Bandcamp OAuth2 flow and update your EcomCentral connection credentials. Make sure you copy the full token without any leading or trailing whitespace.
The access token is valid but does not belong to the band identified by band_id.
Verify that the Band ID you entered matches your Bandcamp artist account. Each OAuth2 token
is scoped to the account that authorized it.
Bandcamp's public API enforces rate limits. If you receive 429 Too Many Requests, wait a few seconds and try again. EcomCentral does not cache API responses — repeated rapid refreshes of the discography view may trigger rate limits.
If the discography returns no items, verify that you have published releases on your Bandcamp page. Drafts and unpublished releases may not appear in the API response.
https://bandcamp.com/api/band/3/info?band_id=YOUR_BAND_ID&access_token=YOUR_TOKEN