Skip to main content

Get API Keys

To call Onbeam from the docs playground or your backend, you need an API key.

Create a key

  1. Sign in to your Onbeam dashboard
  2. Go to API settings
  3. Create a new API key
  4. Copy it and store it securely

Use it in requests

Send your key in the x-api-key header:
curl https://api.onbeam.io/wallet/smart-account \
  -H "x-api-key: $ONBEAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ownerAddress":"0x1234567890abcdef1234567890abcdef12345678","chainId":80002}'
In the docs, open any endpoint page and paste your key into the auth field in Try It.