AI Compare
Compare your domain's AI visibility against 2-5 competitors in a single request. See who gets more mentions, impressions, and higher rankings across AI platforms.
When to use this
You want to know if ChatGPT recommends your competitor more than you. This compares multiple domains side-by-side so you can see exactly where you stand in AI search.
POST
/v1/ai/compareCost: 10 credits ($0.05)
Rate Limit: Varies by plan
Response: ~5-10 seconds
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| domains | string[] | Yes | Domains to compare (2-5) |
| keywords | string[] | Yes | Keywords to compare across (max 10) |
| location | string | No | Location (e.g. "Austin, TX"). Default: United States |
Example Request
curl -X POST https://api.localseodata.com/v1/ai/compare \
-H "Authorization: Bearer sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"domains": ["abcplumbing.com", "xyzplumbing.com", "bestplumber.com"],
"keywords": ["plumber austin", "emergency plumber"],
"location": "Austin, Texas"
}'Example Response
JSON
{
"status": "success",
"credits_used": 10,
"data": {
"keywords": ["plumber austin", "emergency plumber"],
"by_domain": [
{
"domain": "abcplumbing.com",
"total_mentions": 12,
"total_impressions": 4800,
"ai_search_volume": 2400
},
{
"domain": "xyzplumbing.com",
"total_mentions": 8,
"total_impressions": 3100,
"ai_search_volume": 2400
},
{
"domain": "bestplumber.com",
"total_mentions": 3,
"total_impressions": 900,
"ai_search_volume": 2400
}
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| domain | string | Domain being compared |
| total_mentions | integer | Total AI mentions for this domain across all keywords |
| total_impressions | integer | Estimated impressions from AI mentions |
| ai_search_volume | integer | Combined AI search volume for the keywords |
Notes
- Like a competitive gap analysis, but for AI visibility instead of backlinks.
- Compare up to 5 domains at once to see the full competitive landscape.
- Combine with /v1/ai/visibility for per-keyword breakdown of your own domain.