API of Music store 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.
It is intended for labels and merchandise fulfillment partners who need to interact with their Bandcamp accounts.
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.
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.
Access tokens expire after one hour, after which a refresh token can be used to obtain a new access token.
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.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers