401, 402, 403, or 423.
Send the key
- Discovery (
GET /api/v1), the OpenAPI redirect,GET /api/v1/platforms, andGET /api/v1/healthare public. - Every other
/api/v1/*endpoint needs the Bearer token. - Remote MCP at
/api/v1/mcpneeds the same Bearer token. The?token=query form is a legacy path. Avoid it, because URL secrets land in logs and shell history.
Know the key format
- A key is
oxi_sk_live_followed by 64 hex characters, 76 characters in total. - The server stores an HMAC-SHA256 hash. It never stores the plaintext.
- Each account holds one active key. A second create request returns
409 Conflict. - The dashboard shows the full key once. Later it shows only the prefix and the first four hex characters.
Create a key
- Log in at 0xinsider.com.
- Open Developers.
- Click Generate token.
- Copy the key before you leave the page.
Rotate a key
- Open Developers.
- Click Rotate. The page shows the new key once.
- Update every consumer:
.envfiles, deployed secrets, CI secrets, and MCP client configs.
Fix an auth error
401 invalid_api_key
401 invalid_api_key
- Send
Authorization: Bearer oxi_sk_live_.... A header withoutBearerfails. - Count the characters. A full key has 76. A shorter value is a partial copy.
- After a rotation the account has one valid key. Update every consumer that still holds the old one.
402 subscription_required
402 subscription_required
The key is valid, but the account has no active Pro subscription. Re-subscribe at Pricing. The same key resumes.
403 forbidden
403 forbidden
The account was deleted, or the request IP is blocked. Contact support@0xinsider.com.
423 account_locked
423 account_locked
The account is locked. Contact support@0xinsider.com.
402 body looks like this:
Manage keys from the dashboard
The dashboard uses these first-party routes. They use the session cookie, not an API key, and accept only 0xinsider origins.Related
Errors lists everyerror.code. Rate Limits explains the budgets a key shares.