Manage API Keys

Create, configure, rotate, and revoke your GoldenClaw API keys

Create an API Key

1. Open the API Keys Page

Navigate to your Dashboard → API Keys.

2. Configure the Key

Click Create New Key and set:

  • Name — a descriptive label (e.g., prod-trading-bot, dev-market-data)
  • Scopes — select the permissions your key needs (see guide below)

3. Copy Your Key

Your key is shown only once. Copy it immediately and store it in a password manager or environment variable.

One-time visibility

API keys cannot be viewed again after creation. If you lose a key, revoke it and create a new one.

Scope Selection Guide

Choose scopes based on your use case:

Use CaseRequired Scopes
Market data + indicatorsmarket:read, indicators:read
Portfolio monitoringmarket:read, account:read, trade:futures:read
Futures tradingmarket:read, account:read, trade:futures:write
Spot tradingmarket:read, account:read, trade:spot:write
Full access (all markets)All 9 scopes

Write scopes (trade:spot:write, trade:futures:write, trade:coinm-futures:write) require a Plus or Pro plan. See Authentication for the complete scope reference.

Revoke a Key

  1. Go to Dashboard → API Keys
  2. Find the key to revoke
  3. Click Revoke and confirm

Revocation is immediate. Any requests using the revoked key will return 401 Unauthorized.

Rotate a Key

Best practice — rotate keys periodically to limit exposure:

  1. Create a new key with the same scopes
  2. Update your application or MCP config with the new key
  3. Verify the new key works
  4. Revoke the old key

Naming Conventions

Use descriptive names that identify environment and purpose:

  • prod-trading-bot — production trading automation
  • staging-market-data — staging environment, read-only
  • dev-testing — local development and testing

This makes it easy to identify which key to revoke if compromised, and which application is consuming requests.