Skip to main content

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.

Base URL

https://app.ranked.ai/api/v1

Authentication

All requests require a Bearer token:
curl https://app.ranked.ai/api/v1/projects \
  -H "Authorization: Bearer rk_live_your_api_key"
Create API keys from Settings > API in your dashboard.

How it works

All data in the API is organized by project. A project represents one website you’re tracking.
GET /projects                              → list your projects (get project IDs)
GET /projects/{projectId}/rankings/keywords → keyword data for that project
GET /projects/{projectId}/audits/latest     → audit data for that project
GET /projects/{projectId}/prompts           → AI visibility for that project
...
Step 1: Call GET /projects to get your project IDs. Step 2: Use a project ID in all other endpoints to fetch keywords, audits, backlinks, content, prompts, and reports for that specific project. Step 3 (optional): Set up webhooks with a project ID to receive notifications when data changes for that project.
Each API key can access all projects owned by the account that created it. If you manage multiple client websites, they’ll all appear in the projects list.

Endpoints

Projects

MethodPathDescription
GET/projectsList your SEO projects

Keywords

MethodPathDescription
GET/projects/{id}/rankings/keywordsList keyword positions
GET/projects/{id}/rankings/keywords/{keywordId}/historyPosition history for a keyword

AI Visibility

MethodPathDescription
GET/projects/{id}/promptsList AI visibility prompts
GET/projects/{id}/prompts/{promptId}Prompt detail with per-model data
GET/projects/{id}/prompts/{promptId}/historyResponse history with citations

Audits

MethodPathDescription
GET/projects/{id}/auditsList audit tasks
GET/projects/{id}/audits/latestMost recent completed audit
GET/projects/{id}/audits/{auditId}/issuesIssues for a specific audit
MethodPathDescription
GET/projects/{id}/backlinksTracked backlink targets
GET/projects/{id}/backlinks/summaryAggregated backlink metrics
GET/projects/{id}/backlinks/domainsReferring domains
GET/projects/{id}/backlinks/historyDaily new/lost history
GET/projects/{id}/backlinks/anchorsAnchor text analysis

Content

MethodPathDescription
GET/projects/{id}/contentContent calendar items
GET/projects/{id}/content/{contentId}Content detail with body
GET, PATCH/projects/{id}/content/preferencesContent preferences

Reports

MethodPathDescription
GET, POST/projects/{id}/reportsList or create report links
GET, DELETE/projects/{id}/reports/{reportId}Get or delete a report

Webhooks

MethodPathDescription
GET, POST/webhooksList or create webhook subscriptions
GET, PATCH, DELETE/webhooks/{webhookId}Manage a webhook
POST/webhooks/{webhookId}/testSend a test delivery
POST, PATCH, and DELETE endpoints require an API key with Read + Write permissions.