Documentation Index
Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
API Key
Every request to the KeyAPI API must include your API key. You can find it in your dashboard.Bearer Authentication
KeyAPI uses Bearer authentication. Pass your API key in theAuthorization header.
Response Envelope
All endpoints return a consistent JSON envelope:| Field | Type | Description |
|---|---|---|
code | integer | 0 means success; non-zero indicates an error |
message | string | Human-readable status message |
data | object | array | The response payload |
Error Responses
| HTTP Status | Meaning |
|---|---|
400 | Invalid request parameters |
401 | Missing or invalid API key |
402 | Insufficient credits or payment required |
403 | API key does not have access to this endpoint |
429 | Too many requests |
500 | Internal server error |

