Analytics
AI analytics
How AI assistants mention, rank and cite a domain. Only models with a configured integration return live data.
GET
/api/v1/websites/{id}/ai-visibilityRead keyOverview, queries, cited pages, competitors or categories
Authentication: Bearer API key in the Authorization header.
| Parameter | In | Type | Description |
|---|---|---|---|
| view | query | overview | queries | pages | competitors | categories | Default overview |
| model | query | all | openai | gemini | claude | Default all |
| days | query | integer | Overview window, default 30 |
Request
curl "https://rankspire.tech/api/v1/websites/cm1site9x0001/ai-visibility" \
-H "Authorization: Bearer $RANKSPIRE_KEY"Response
{
"data": { "latest": { "visibility": 62.4, "globalRank": 3120, "queries": 120, "mentions": 76, "top1": 17, "top3": 41, "citedPages": 22 },
"byModel": [{ "model": "openai", "visibility": 66.1, "mentions": 28 }] }
}