APIEndpoint 21 of 40AI Optimization / Visibility / AI Platforms

AI Visibility API

The AI visibility API for the new search stack.

ChatGPT, Claude, Gemini, and Perplexity are real traffic surfaces in 2026. They generate answers, not links. The dashboard era never built tools for this — AI visibility is a new category that requires a new shape of API. Your agent checks your mentions, citations, and sentiment across LLMs in one call.

POST /v1/ai/visibility · 10 credits / call

POST /v1/ai/visibilityabcplumbing.com · across 5 LLMs
AI Visibility Score
78out of 100
Rankings25%82
Reviews30%91
Profile completeness25%67
Citation consistency20%74
▌ Ask your agent

These prompts are the new brand-visibility workflow.

Connect Local SEO Data as an MCP server once (60 seconds, below). Then your agent monitors AI search for you. Replace bracketed domains with your own.

Weekly AI visibility scan

Check [mycompany.com]'s visibility across ChatGPT, Claude, Gemini, and Perplexity for our top 15 commercial queries. Flag any domain where our mention count drops more than 20% from last week.

Competitor AI tracking

Pull AI visibility for [mycompany.com] vs [competitor1.com] and [competitor2.com] for [industry keyword]. Tell me which competitor gets cited most often in ChatGPT responses.

AI Overview citation audit

Run AI visibility for [mycompany.com] across Google's AI Overview, ChatGPT, and Perplexity. Show me which specific queries cite us and which ones cite our competitors instead.

Sentiment-driven alerts

Check [mycompany.com] mentions in Claude and ChatGPT for [product name] queries. Surface the exact context — is it mentioned positively, neutrally, or in a competitor comparison.

Real response

What you get back

Live response from POST /v1/ai/visibility for an example plumbing company in Austin, TX.

response · application/json~7s · 10 credits
{
  "status": "success",
  "credits_used": 10,
  "data": {
    "domain": "abcplumbing.com",
    "total_mentions": 8,
    "total_impressions": 3400,
    "ai_search_volume": 12500,
    "platform_breakdown": {
      "chat_gpt": {
        "mentions": 5,
        "ai_search_volume": 7200,
        "impressions": 2200
      },
      "google": {
        "mentions": 3,
        "ai_search_volume": 5300,
        "impressions": 1200
      }
    },
    "top_sources": [
      { "domain": "yelp.com", "mentions": 12, "impressions": 8500 },
      { "domain": "homeadvisor.com", "mentions": 8, "impressions": 4200 }
    ]
  }
}
Returns

The visibility metrics that matter for AI search

Composite visibility score

Total mentions, impressions, and relative rank

Aggregated across all tracked LLMs (ChatGPT, Claude, Gemini, Perplexity). One number telling you how visible your domain is in AI-generated answers.

Per-LLM breakdown

Mentions and impressions by platform

See how you rank in ChatGPT separately from Claude, Gemini, or Perplexity. Each LLM has different training data and ranking signals.

Citation tracking

URLs cited alongside yours

When an LLM mentions your domain, we capture the query context, co-cited domains, and whether it was a direct link or inline mention.

Sentiment and context

How your brand is framed

Not just 'mentioned' vs 'not mentioned' — we capture positive, neutral, or competitive contexts so you know if the mention helps or hurts.

Built for

What AI-native operators ship with this

Weekly AI visibility dashboards

Agencies pull weekly snapshots for all 12 client domains, compare to baseline, flag drops in mentions or impressions. Built once in Claude, runs on schedule, no dashboard login required.

For agencies

Pre-pitch AI audits

Before the sales call, pull a prospect's AI visibility across ChatGPT and Google AI Overviews. Show them they're getting cited but not as often as competitors. Closes deals because the problem is quantified.

For consultants

Competitor AI benchmarking

Pull your top 5 competitors' visibility on your core keywords every month. Know which competitor appears in ChatGPT responses most often. Track when they gain or lose mentions.

AI Compare API

AI Overview-specific tracking

Google's AI Overviews now appear in 1 of 5 searches. This endpoint breaks out Google separately so you can optimize for Google AI surfaces specifically.

AI Overview API
vs. the alternatives

Why not just track mentions manually?

Checking ChatGPT, Claude, Gemini, and Perplexity by hand is slow and unrepeatable. Competitors charge $200–$2000 per month for 10–15 queries. We charge $0.05 per visibility scan, unlimited domains, unlimited keywords (within reason). Here's how the options stack up.

ApproachCost per scanLLMs trackedSetupAgent-ready
Manual checking (ChatGPT, Claude, etc.)$0 but ~30 min laborWhatever you checkNoneNo
Profound (enterprise)$499–$2000/mo (~$16–65 per query)10+ platformsSales call + onboardingDashboard only
Semrush AI Toolkit$745/mo + seats (~$24 per query)5 platformsDashboard UICSV export
SE Ranking AI Visibility$119–$299/mo (~$3–10 per query)4 platformsDashboardManual
Rankability$79–$300/mo (~$2–10 per query)4 platformsDashboard UIManual
Peec AI$99–$299/mo (~$3–10 per query)4 platformsDashboardManual
Local SEO Data AI Visibility API$0.05 per callChatGPT, Claude, Gemini, PerplexityAPI key + 1-line MCP configNative MCP, agent-first
Connect in 60 seconds

Use it from your agent

Two integration surfaces: MCP for clients that speak MCP, REST API for everything else.

Direct MCP integration

Drop-in support in Claude Desktop, OpenClaw, Hermes Agent, and any MCP-aware client.

Add to your client's MCP config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "localseodata": {
      "url": "https://mcp.localseodata.com",
      "headers": {
        "Authorization": "Bearer sk_live_..."
      }
    }
  }
}

REST API

For Perplexity Computer, ChatGPT Custom GPTs, custom agents, and any platform that calls REST endpoints directly.

Base URL:

api.localseodata.com

See the docs for endpoint reference and auth.

Quickstart

Your first call in three lines

Same call, three syntaxes. The domain field accepts any domain (yours or competitors). Keywords are max 10 per request. Location defaults to United States but accepts city-state format like 'Austin, TX'. Platforms defaults to both ChatGPT and Google; pass 'chat_gpt' or 'google' separately if you want one platform only.

terminal · curl
POST /v1/ai/visibility
curl -X POST https://api.localseodata.com/v1/ai/visibility \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "abcplumbing.com",
    "keywords": ["plumber austin", "emergency plumber austin", "plumbing repair"],
    "location": "Austin, Texas",
    "platforms": ["chat_gpt", "google"]
  }'
Pricing for this endpoint

$0.05 per visibility scan

Pay-as-you-go starts at $5. No monthly minimums. No per-seat licenses. No subscription required. Funds never expire.

Free tier
50
credits on signup (10 scans)
Starter · $5
100
credits, no expiration
Per-call cost
$0.05
per visibility scan
FAQ

Common questions

What is AI Visibility?+
AI Visibility is a score measuring how often and how prominently your domain appears in AI-generated answers across ChatGPT, Claude, Gemini, Perplexity, and Google AI Overviews. Think of it like a Google ranking but for LLMs — instead of 'position 1, position 2', you get 'mentioned in 8 ChatGPT responses' and 'cited 3 times in Google AI Overview'. The score rolls up mentions, impressions, and sentiment into a single comparable metric across platforms.
How is the AI Visibility score calculated?+
We execute a set of search queries (your keywords) across each LLM platform using our first-party infrastructure. We capture whether your domain was mentioned in the response, whether it was linked, the context (positive, neutral, or competitive), and the estimated impression volume for that query. We then aggregate across all keywords and all platforms into a composite score (0–100), with platform-specific breakdowns (ChatGPT score, Google score, etc.). The methodology is transparent because you're running production client work — you need to know where the data comes from.
Which LLMs do you track?+
We track ChatGPT (OpenAI), Claude (Anthropic), Gemini (Google), Perplexity (Perplexity AI), and Google AI Overviews. These are the major LLM surfaces driving real traffic in 2026. We can expand to Grok, DeepSeek, or other models based on demand — let us know if you need coverage beyond these five.
How is this different from traditional SEO visibility tools like Ahrefs or Semrush?+
Traditional SEO tools (Ahrefs, Semrush, SE Ranking) track your rankings for keywords on Google's 10 blue links. They tell you 'you rank position 3 for plumber Austin'. AI Visibility tools track a completely different surface: how often LLMs cite or mention you in synthesized answers. Most AI Visibility queries don't have a 'rank' — they have 'mentions' or 'citations'. A tool claiming to track both SEO and AI visibility equally usually does neither well. We focus on LLM visibility because that's the new surface that SEO tools don't cover.
Where does this data come from? How do you collect it?+
We operate first-party collection infrastructure — our agents run your keywords directly against ChatGPT API, Claude API (via Anthropic), Gemini API, Perplexity API, and Google AI Overviews (via web scraping). We do not rely on third-party data resellers. We capture the full response, parse it for mentions of your domain, extract context and sentiment, and store the results. Composite scoring is our own logic that weights mention frequency, position in the response, and citation status. Because we control the upstream, data freshness is within hours of query execution, not days.
How fresh is the data?+
Data is collected on-demand when you call the API. Each call executes your keywords live across ChatGPT, Claude, Gemini, and Perplexity, so the mentions and impressions reflect current LLM training and behavior. LLM responses can vary between calls, so we aggregate across multiple executions per keyword to get a stable signal. Full results are available within 5–10 seconds of the API call.
How does this compare to Profound, Semrush, Rankability, and Peec AI?+
Profound (starting $499/mo), Semrush AI Toolkit ($745/mo), Rankability ($79/mo), and Peec AI ($99/mo) all offer dashboards that track AI visibility. They're designed for human users logging in and reading reports. Our API is designed for agents — your Claude prompt calls this endpoint, gets JSON, and acts on it without a dashboard. Pricing-wise: Profound charges $16–65 per query when annualized; Semrush charges $24+ per query; Rankability charges $2–10 per query annualized; we charge $0.05 per call. If you're building agent workflows or need to call this 100+ times per month, API pricing wins. If you want a dashboard for your CEO to review weekly, those tools are better suited.
Can my AI agent use this directly?+
Yes, and this is exactly what we built for. Two integration paths: MCP: add Local SEO Data to your claude_desktop_config.json and your Claude agent calls this endpoint from any prompt. REST: any agent that can make HTTPS calls (ChatGPT Custom GPTs, Perplexity Computer, custom Python/Node agents) hits the API directly with your Bearer token. The agent receives structured JSON and can filter, alert, or act on it. No integration code needed — just write the prompt.
What does this cost compared to competitors?+
We charge $0.05 per visibility scan (one domain, up to 10 keywords per call). Profound costs $499–$2000/mo (roughly $16–65 per query when annualized). Semrush AI Toolkit is $745/mo ($24+ per query). SE Ranking starts at $119/mo ($3–10 per query annualized). Rankability starts at $79/mo ($2–10 per query). Peec AI starts at $99/mo. If you run 100 scans per month, we cost $5 total; Profound costs $500+. If you run 10 scans per month, we cost $0.50; Profound still costs $500. Pay-per-call eliminates the monthly minimum and per-seat fees that subscription tools impose.
What changed in 2026 that made AI Visibility tracking necessary?+
Three things: ChatGPT, Claude, Gemini, and Perplexity are no longer experimental — they're part of how people search. Google AI Overviews appear in 1 of 5 searches, and roughly 80% of consumers use them for at least 40% of their searches. Second, LLMs don't return 10 blue links; they return a single synthesized answer citing your domain (or not). Traditional SEO visibility metrics don't apply. Third, MCP (Model Context Protocol) became standard, making it practical for agents to call specialized APIs without bespoke integration code. The dashboard era was built for humans reading reports. The agent era needs APIs. AI Visibility is a 2026 native category because LLM visibility is now a real traffic surface and agents need a shape of data optimized for their workflows.

Track AI visibility in the same moment you query it.

50 free credits on signup. Your first visibility scan happens through your agent, not a dashboard.

▌ MADE FOR THE NEW LOCAL SEO STACK