Switch language

Authentication

Get and use your Bitdeer AI API key.

All Bitdeer AI API requests require a bearer token in the Authorization header.

Get your API key

  1. Log in to Bitdeer AI Console.
  2. Navigate to Models → API Keys (direct link).
  3. Click Generate API Key, label it, and copy it immediately — the secret is only shown once.

Never commit API keys to source control. Use environment variables or a secrets manager.

Use the key

curl https://api-inference.bitdeer.ai/v1/models \
  -H "Authorization: Bearer $BITDEER_API_KEY"

Key management

  • Load keys from environment variables at runtime.
  • Rotate by creating a new key, deploying it, then revoking the old one.
  • Missing or invalid keys return 401 Unauthorized — see Errors.

Last updated on

On this page

Authentication · Bitdeer AI