API keys
All authenticated endpoints require a Bearer token in theAuthorization header:
Key format
Keys follow the formatoxi_sk_live_ followed by 64 hex characters (76 characters total). Example:
Generating a key
- Log in at 0xinsider.com
- Go to Developers
- Click Generate Key
- Copy the key immediately — it’s shown only once
Key security
- Keys are hashed (HMAC-SHA256) before storage. We never store plaintext keys.
- Only the key prefix (
oxi_sk_live_XXXX) is stored for display. - One active key per account. Regenerating revokes the previous key.
- If compromised, regenerate immediately at 0xinsider.com/developers.
Key management endpoints
| Action | Method | Endpoint |
|---|---|---|
| Create key | POST | /api/keys |
| List keys | GET | /api/keys |
| Revoke key | DELETE | /api/keys/{id} |
| Regenerate | POST | /api/keys/regenerate |