Skip to content

Bandcamp API

3 endpointsMusic & AudioGlobalsocial:read3 real examples

Returns Bandcamp album and track metadata and search results for artists, albums, tracks and fans.

View as Markdown
GET/bandcamp/albumMetadata of one Bandcamp album, with its tracks in order.
GET/bandcamp/trackMetadata of one Bandcamp track: its artist, album and duration.
GET/bandcamp/searchArtists, albums, tracks and fans that match a search, from Bandcamp's search box (a few best matches).

album

GET/v1/bandcamp/album

Metadata of one Bandcamp album, with its tracks in order.

scope social:read5 unitscached 1 h

Parameters

url
string
required
Bandcamp album URL, such as https://artist.bandcamp.com/album/name.
e.g. https://radiohead.bandcamp.com/album/in-rainbows
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
artiststring
artistUrlstring
durationSecondsinteger (int64)
imageUrlstring
labelstring
releaseDatestring
titlestring
trackCountinteger (int64)
tracksAlbumTrack[]
durationSecondsinteger (int64)
positioninteger (int64)
titlestring
urlstring
urlstring
curl "https://api.hoshime.com/v1/bandcamp/album?url=https%3A%2F%2Fradiohead.bandcamp.com%2Falbum%2Fin-rainbows" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "artist": "Radiohead",
    "artistUrl": "",
    "durationSeconds": 0,
    "imageUrl": "https://f4.bcbits.com/img/a0552435637_10.jpg",
    "label": "Radiohead",
    "releaseDate": "2007-12-28",
    "title": "In Rainbows",
    "trackCount": 10,
    "tracks": [
      {
        "durationSeconds": 0,
        "position": 1,
        "title": "15 Step",
        "url": ""
      },
      {
        "durationSeconds": 0,
        "position": 2,
        "title": "Bodysnatchers",
        "url": ""
      }
    ],
    "url": "https://radiohead.bandcamp.com/album/in-rainbows"
  },
  "meta": {
    "cached": false,
    "endpoint": "album",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "bandcamp",
    "requestId": "req_2Xb9kQ…",
    "units": 5
  }
}

track

GET/v1/bandcamp/track

Metadata of one Bandcamp track: its artist, album and duration.

scope social:read5 unitscached 1 h

Parameters

url
string
required
Bandcamp track URL, such as https://artist.bandcamp.com/track/name.
e.g. https://radiohead.bandcamp.com/track/nude
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
albumTitlestring
albumUrlstring
artiststring
artistUrlstring
durationSecondsinteger (int64)
imageUrlstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/bandcamp/track?url=https%3A%2F%2Fradiohead.bandcamp.com%2Ftrack%2Fnude" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "albumTitle": "In Rainbows",
    "albumUrl": "",
    "artist": "Radiohead",
    "artistUrl": "",
    "durationSeconds": 0,
    "imageUrl": "https://f4.bcbits.com/img/a0552435637_10.jpg",
    "title": "Nude",
    "url": "https://radiohead.bandcamp.com/track/nude"
  },
  "meta": {
    "cached": false,
    "endpoint": "track",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "bandcamp",
    "requestId": "req_2Xb9kQ…",
    "units": 5
  }
}
esc
↑↓ move↵ open