> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.onbeam.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get API Keys

> Create an API key and use it in the Mintlify Try It playground.

# 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:

```bash theme={null}
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**.
