AI Visibility
Brand Visibility
Track how often your brand appears in AI-generated answers across ChatGPT, Perplexity, Claude, and Gemini.
POST
$0.25/call/v1/seo/ai-visibilityUsage
const res = await fetch('https://api.yepapi.com/v1/seo/ai-visibility', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
brand: 'vercel',
competitors: ['netlify', 'cloudflare pages'],
}),
});
const { data } = await res.json();
console.log(data);curl -X POST https://api.yepapi.com/v1/seo/ai-visibility \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"brand": "vercel", "competitors": ["netlify", "cloudflare pages"]}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
brand | string | Yes | Your brand name to track | — |
competitors | string[] | No | Competitor brands to compare | [] |
Response
{
"ok": true,
"data": {
"brand": "vercel",
"engines": [
{
"engine": "perplexity",
"mentionRate": 0.85,
"sentiment": "positive",
"rank": 1
},
{
"engine": "chatgpt",
"mentionRate": 0.72,
"sentiment": "positive",
"rank": 1
},
{
"engine": "claude",
"mentionRate": 0.68,
"sentiment": "positive",
"rank": 2
},
{
"engine": "gemini",
"mentionRate": 0.55,
"sentiment": "neutral",
"rank": 3
}
],
"competitors": [
{ "brand": "netlify", "averageMentionRate": 0.45 },
{ "brand": "cloudflare pages", "averageMentionRate": 0.38 }
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data | object | Response payload |
data.brand | string | The brand name that was tracked |
data.engines | object[] | Visibility data for each AI engine |
data.engines[].engine | string | AI engine name (perplexity, chatgpt, claude, or gemini) |
data.engines[].mentionRate | number | How frequently the brand is mentioned (0 to 1) |
data.engines[].sentiment | string | Overall sentiment of mentions (positive, neutral, or negative) |
data.engines[].rank | number | Brand ranking position relative to competitors on this engine |
data.competitors | object[] | Competitor comparison data |
data.competitors[].brand | string | Competitor brand name |
data.competitors[].averageMentionRate | number | Average mention rate across all engines for this competitor |
Under the Hood
Powered by our visibility tracking engine. We normalize the response format and add cross-engine comparison metrics. We query multiple AI engines and normalize the results.