音
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/album | Metadata of one Bandcamp album, with its tracks in order. |
| GET | /bandcamp/track | Metadata of one Bandcamp track: its artist, album and duration. |
| GET | /bandcamp/search | Artists, albums, tracks and fans that match a search, from Bandcamp's search box (a few best matches). |
album
GET
/v1/bandcamp/albumMetadata of one Bandcamp album, with its tracks in order.
scope social:read5 unitscached 1 h
Parameters
urlstring required | Bandcamp album URL, such as https://artist.bandcamp.com/album/name. e.g. https://radiohead.bandcamp.com/album/in-rainbows |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
artist | string |
artistUrl | string |
durationSeconds | integer (int64) |
imageUrl | string |
label | string |
releaseDate | string |
title | string |
trackCount | integer (int64) |
tracks | AlbumTrack[] |
durationSeconds | integer (int64) |
position | integer (int64) |
title | string |
url | string |
url | string |
curl "https://api.hoshime.com/v1/bandcamp/album?url=https%3A%2F%2Fradiohead.bandcamp.com%2Falbum%2Fin-rainbows" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bandcamp/album?url=https%3A%2F%2Fradiohead.bandcamp.com%2Falbum%2Fin-rainbows", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bandcamp/album?url=https%3A%2F%2Fradiohead.bandcamp.com%2Falbum%2Fin-rainbows", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/trackMetadata of one Bandcamp track: its artist, album and duration.
scope social:read5 unitscached 1 h
Parameters
urlstring required | Bandcamp track URL, such as https://artist.bandcamp.com/track/name. e.g. https://radiohead.bandcamp.com/track/nude |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
albumTitle | string |
albumUrl | string |
artist | string |
artistUrl | string |
durationSeconds | integer (int64) |
imageUrl | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/bandcamp/track?url=https%3A%2F%2Fradiohead.bandcamp.com%2Ftrack%2Fnude" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bandcamp/track?url=https%3A%2F%2Fradiohead.bandcamp.com%2Ftrack%2Fnude", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bandcamp/track?url=https%3A%2F%2Fradiohead.bandcamp.com%2Ftrack%2Fnude", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }
search
GET
/v1/bandcamp/searchArtists, albums, tracks and fans that match a search, from Bandcamp's search box (a few best matches).
scope social:read1 unitcached 5 minpaginated
Parameters
querystring required | Search text. e.g. lofi beats |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
7 fields
bandId | string |
bandName | string |
id | string |
imageUrl | string |
name | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/bandcamp/search?query=lofi+beats" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bandcamp/search?query=lofi+beats", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bandcamp/search?query=lofi+beats", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "bandId": "2929173621", "bandName": "Akira The Don", "id": "2366858632", "imageUrl": "https://f4.bcbits.com/img/4026553902_3.jpg", "name": "LOFI BEATS", "type": "album", "url": "https://akirathedon.bandcamp.com/album/lofi-beats" }, { "bandId": "2929173621", "bandName": "Akira The Don", "id": "4094592826", "imageUrl": "https://f4.bcbits.com/img/2812708276_3.jpg", "name": "LOFI BEATS IMMORTAL", "type": "album", "url": "https://akirathedon.bandcamp.com/album/lofi-beats-immortal" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "bandcamp", "requestId": "req_2Xb9kQ…", "units": 1 } }