Public APIs
Bandcamp favicon

Bandcamp

Music

API of Music store Bandcamp.

Bandcamp's website screenshot

About Bandcamp

The Bandcamp API lets labels and merchandise fulfillment partners interact programmatically with their Bandcamp accounts, covering account data, sales reports, and merch orders. Access requires registering with Bandcamp by email, describing the intended use, after which a client ID and client secret are issued via the API Access tab of the account settings page.

Authentication uses OAuth 2.0: a POST request to the oauth_token endpoint with client credentials returns an access token (valid for one hour) and a refresh token, which is used to obtain new access tokens once the original expires. Each API user must have individual credentials tied to their own Bandcamp login; shared credentials are not supported and can result in suspension of API access. Client credentials can be revoked and regenerated from the API Access tab or the partners page if lost or compromised.

This API is intended for Bandcamp labels and fulfillment partners managing account, sales, and order data rather than for general public or consumer use.

Key features

  • OAuth 2.0 authenticated API access for labels and merch fulfillment partners
  • Account API for managing account data
  • Sales Report API for retrieving sales data
  • Merch Orders API for retrieving merchandise orders
  • Access token and refresh token flow via the oauth_token endpoint

Frequently asked questions

Who is the Bandcamp API for?

It is intended for labels and merchandise fulfillment partners who need to interact with their Bandcamp accounts.

How do I get access to the Bandcamp API?

You must contact Bandcamp and describe your intended use, after which they create a client with a client ID and client secret found on the API Access tab of your Settings page.

What authentication method does the API use?

It uses OAuth 2.0, with access tokens obtained via a POST to the oauth_token endpoint using your client ID, client secret, and grant type.

How long do access tokens last?

Access tokens expire after one hour, after which a refresh token can be used to obtain a new access token.

Can I share API credentials among multiple users?

No, each API user must have their own credentials tied to their own Bandcamp login, and sharing credentials may result in permanent suspension of API access.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product