AI Top Sources API
Which domains do LLMs trust for your keywords.
In the LLM era, ranking means being one of 3–6 sources an AI system cites in its answer. When someone asks ChatGPT 'best plumber in Austin,' the system synthesizes an answer and cites 4–6 domains. Getting onto that list is part of how you drive real traffic in 2026. The dashboard era never built tools to see which domains win that citation race. This endpoint returns the domains ChatGPT, Claude, Gemini, and Perplexity cite most often for your keywords — ranked by mention frequency. Use it to identify link-building targets, understand your industry's citation authority hierarchy, and spot where your own domain ranks against competitors.
POST /v1/ai/top-sources · 5 credits / call
ABC Plumbing is highly rated in Austin with 4.8 stars and excellent same-day service.
Top-rated Austin plumbers include ABC Plumbing for emergency service.
For licensed plumbers in Austin, ABC Plumbing has strong reviews.
ABC Plumbing — 24/7 emergency response, 500+ reviews.
These prompts identify your link-building priorities in LLM eyes.
Connect Local SEO Data as an MCP server once (60 seconds, below). Then your agent discovers which domains LLMs trust for your market. Replace bracketed keywords with your own.
Pull the top 10 domains LLMs cite most for [your industry keyword]. Filter to domains with domain authority > 50. These are your link-building whitelist — get cited there and you'll gain authority in AI eyes.
Run AI Top Sources for [your keyword] across ChatGPT, Claude, and Gemini. Show me the rank of [mycompany.com] vs [competitor1.com] and [competitor2.com]. Which competitor appears in the top 5 most-cited domains?
Pull the top 20 most-cited domains for [industry keyword] and [related keyword]. Are the same domains dominant across both? Which new sources are emerging in the citation landscape? This tells me where the LLM authority bar is for our market.
Compare top-cited domains for [keyword] across all four LLMs. Which domains appear in ChatGPT but not Gemini? Which ones are cited by every LLM? Find the gaps where we can shift domain preferences by improving our positioning.
What you get back
Live response from POST /v1/ai/top-sources for 'personal injury lawyer Denver' across ChatGPT and Google AI.
{
"status": "success",
"credits_used": 5,
"data": {
"keyword": "personal injury lawyer Denver",
"location": "Denver, Colorado",
"ai_search_volume": 2100,
"top_domains": [
{
"domain": "nolo.com",
"mentions": 42,
"ai_search_volume": 2100,
"citation_count": 18
},
{
"domain": "avvo.com",
"mentions": 38,
"ai_search_volume": 2100,
"citation_count": 16
},
{
"domain": "justia.com",
"mentions": 35,
"ai_search_volume": 2100,
"citation_count": 15
},
{
"domain": "martindale.com",
"mentions": 28,
"ai_search_volume": 2100,
"citation_count": 12
},
{
"domain": "denverinjurylaw.com",
"mentions": 12,
"ai_search_volume": 2100,
"citation_count": 5
}
]
}
}The citation authority map for any keyword
How many times each domain is cited
Not all top-ranked domains are cited equally. We capture how many times each domain appears in LLM responses for your keyword, giving you the pecking order of authority in AI eyes.
Citation volume and consistency
See which domains appear in ChatGPT answers, which in Claude, which in Gemini. Each LLM has different training data — a domain trusted by Claude may not appear in Perplexity responses. Track per-LLM separately.
High-authority citation targets
Domains cited frequently by LLMs are flagged as high-authority in AI's worldview. Getting a link or citation on one of these domains signals authority to AI systems — a more direct ROI than traditional backlink building.
Where you stand against competitors
See your position in the top-cited domains list. If you rank #15 on a keyword, you know exactly which 14 competitors or authorities outrank you in AI citations. This is your visibility gap.
What AI-native operators ship with this
Link-building strategy prioritization
Traditional SEO link builders target high-domain-authority sites. In 2026, LLM visibility operators target high-citation-frequency sites. Pull AI Top Sources for your core keywords and build a whitelist of domains that appear in 30+ LLM responses. These are your link targets.
→ For link buildersCitation gap analysis
Run AI Top Sources for your keyword and pull the same keyword for competitors. See which domains cite your competitors but not you. These are the citation gaps in your market positioning. Close them via PR, content strategy, or partnerships.
→ Citation Audit APIGEO and AEO strategy
Generative Engine Optimization (GEO) and Answer Engine Optimization (AEO) require understanding which domains the engines trust. This endpoint is the data layer for GEO strategy — tell your content team which authoritative sources to cite, which domains to target for mentions, and how to position against competitors in AI eyes.
→ For content strategistsAuthority repositioning
If your domain doesn't appear in the top 10 most-cited sources for your keywords, you need to reposition. Use this endpoint weekly to track whether you're climbing the citation ranks. Pair with AI Mentions to understand which queries mention you and which don't.
→ AI Mentions APIWhy not track top sources manually or via traditional tools?
Checking which domains ChatGPT, Claude, Gemini cites for your keywords by hand is tedious and unrepeatable. Competitors charge $200–$2000 per month for source tracking. We charge $0.025 per call, unlimited keywords. Here's how the options stack up.
| Approach | Cost per source check | LLMs tracked | Link-building data | Agent-ready |
|---|---|---|---|---|
| Manual checking (ChatGPT individually) | $0 but ~15 min labor per keyword | Whatever you check manually | You see the sources | No |
| Ahrefs / Semrush backlink tools | $99–$999/mo (~$3–30 per query) | Google ranking data only | Traditional backlink targets | Limited |
| Profound source tracking | $499–$2000/mo (~$16–65 per query) | 10+ platforms | Citations, sources, authority | Dashboard only |
| AthenaHQ | $300–$1000/mo (~$10–33 per query) | ChatGPT, Claude, Gemini, Perplexity | Citation framing, narrative positioning | Dashboards + limited API |
| Otterly.ai source tracking | $29–$99/mo (~$0.97–3.30 per query) | 4 LLMs | Domain citations only | UI export |
| BrightEdge source insights | $500+/mo + seats | Limited LLM coverage | Enterprise only | Dashboard |
| Local SEO Data AI Top Sources API | $0.025 per call | ChatGPT, Claude, Gemini, Perplexity | Domain citations, mention frequency | Native MCP, agent-first |
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.comSee the docs for endpoint reference and auth.
Your first call in three lines
Core parameters: `keyword` (the topic to analyze) and optional `location` (e.g. 'Denver, CO', defaults to United States). You can specify which LLM platforms to query — default is both ChatGPT and Google (AI Overview). The `limit` parameter caps results (default 10, max 20). One call = 5 credits ($0.025). Returns the top-cited domains for your keyword, ranked by mention frequency.
curl -X POST https://api.localseodata.com/v1/ai/top-sources \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"keyword": "personal injury lawyer Denver",
"location": "Denver, Colorado",
"platforms": ["chat_gpt", "claude", "gemini", "perplexity"],
"limit": 10
}'$0.025 per top-sources query
Pay-as-you-go starts at $5. No monthly minimums. No per-seat licenses. No subscription required. Funds never expire.
Common questions
What is the AI Top Sources API?+
POST /v1/ai/top-sources; one call costs 5 credits (~$0.025). This is the data layer underneath link-building strategy and generative engine optimization (GEO). If you want to know which domains ChatGPT trusts most for 'best pizza Brooklyn' or 'personal injury lawyer Denver,' this endpoint answers that.How is this different from AI Visibility and AI Mentions?+
Which LLMs do you track?+
How should I use this for link-building?+
How fresh is the top-sources data?+
Can I track top sources for competitor keywords?+
Where does this citation data come from?+
How does this compare to Profound, AthenaHQ, Otterly, and Peec AI?+
Can my AI agent use this directly?+
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 (domain, mentions, ai_search_volume) and can filter, rank, alert, or feed it into your link-building workflow. No integration code needed — just write the prompt.What does it cost compared to competitors?+
What changed in 2026 that made AI source tracking necessary?+
How does generative engine optimization (GEO) use this endpoint?+
Often used in the same agent prompt
AI Visibility
Your domain's overall visibility score across ChatGPT, Claude, Gemini, and Perplexity.
POST /v1/ai/mentionsAI Mentions
Every mention of your brand in LLM responses with question, answer, and sentiment context.
POST /v1/ai/top-pagesAI Top Pages
Specific pages (not just domains) that LLMs cite most. More granular than top sources.
POST /v1/ai/compareAI Compare
Compare your domain vs competitors on AI visibility, mentions, and citations.
Find your link-building targets in LLM eyes.
50 free credits on signup. Your first top-sources query happens through your agent, not a dashboard.