Documentation Index
Fetch the complete documentation index at: https://dev.ranked.ai/llms.txt
Use this file to discover all available pages before exploring further.
API Keys
All API requests require a Bearer token in theAuthorization header.
Create an API Key
Go to Settings > API in your dashboard to create and manage API keys.
Key types
| Scope | Permissions |
|---|---|
| Read Only (default) | Fetch all data: keywords, audits, backlinks, prompts, content, reports |
| Read + Write | Everything above, plus: create reports, manage webhooks, update content preferences |
Key format
API keys follow the formatrk_live_ followed by a random string. Example:
Response format
All responses follow a consistent envelope:Success
Error
Error codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid API key |
FORBIDDEN | 403 | Valid key but insufficient permissions (e.g., read-only key attempting a write) |
NOT_FOUND | 404 | Resource not found |
VALIDATION_ERROR | 400 | Invalid request parameters |
RATE_LIMITED | 429 | Too many requests |
INTERNAL_ERROR | 500 | Server error |
Pagination
List endpoints supportlimit and offset query parameters:
- Default limit: 50
- Maximum limit: 1000 (keywords), 200 (prompts), 500 (projects)
- Offset: 0-based
meta.pagination object indicates total count and has_more flag.
Rate limits
| Window | Limit |
|---|---|
| Per minute | 100 requests |
| Per hour | 2,000 requests |
| Per day | 20,000 requests |
meta.rate_limit:
429 response. Wait until reset (Unix timestamp) before retrying.