Skip to main content

API Key Authentication

The Bit2Connect Public API uses API keys for authentication. You can generate and manage your API keys from your project dashboard.

Getting Your API Key

  1. Log in to your Bit2Connect Dashboard
  2. Navigate to your project settings
  3. Go to the API Keys section
  4. Click Generate New API Key
  5. Copy and securely store your API key

Using Your API Key

Include your API key in the X-API-KEY header for all requests to the Public API:
Keep your API keys secure and never expose them in client-side code or public repositories.

Authentication Method

The public API uses the X-API-KEY header for authentication:

API Key Header

The public API only accepts the X-API-KEY header. Bearer tokens are reserved for dashboard authentication and should not be used with the public API.

API Key Format

All Bit2Connect API keys start with the prefix b2co_ followed by a unique identifier:

Error Responses

Invalid API Key

Rate Limit Exceeded

Insufficient Permissions