Switch language

Authentication

Authenticate Bitdeer AI API requests with a bearer API key.

All API requests must include a bearer token in the Authorization header.

GET /v1/models HTTP/1.1
Host: api-inference.bitdeer.ai
Authorization: Bearer $BITDEER_API_KEY

Get your API key

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

Usage examples

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

Key handling best practices

  • Never commit keys or bundle them into client-side code.
  • Load from environment variables or a secrets manager.
  • Rotate by creating a new key, deploying it, then revoking the old key.

Unauthorized responses

Missing or invalid credentials return 401 Unauthorized — see Errors for the response body shape.

Last updated on

On this page

Authentication · Bitdeer AI