For developers building AI-visibility tools

An AI visibility API for the new search results page

An AI visibility API is a programmatic measurement layer for how often, how prominently, and with what framing a brand appears in language-model answers. POST /v1/check returns five fields per engine: mentioned, rank, context, citations, and fan_out.

The new search results page is a paragraph of AI-generated prose with three citations. If your brand is not in that paragraph, you don't exist in the buyer's first impression. AI visibility is the new SEO ranking, and like rankings, you can't improve what you can't measure.

MentionsAPI gives you those five fields on each check, per engine: mentioned, rank, context, citations, and fan_out.

It's the data layer for the next generation of GEO and AEO tools. Built so you don't have to wire up four LLMs to ship one report.

300 free credits · Plans from $5/mo · Calls debit credits

Credit-based·300 free credits · $5/mo → 1,000 credits · $54/yr → 12,000

Visibility metrics that actually work

Ranking by 'mention count' is naive. A paragraph that says your name three times in passing is worse than one that names you once as the recommendation. rank is that position in the answer.

The fields come back per engine, per query. Roll them up however you like. By day, by competitor cohort, by intent category.

Each engine object has mentioned, rank, context, citations, and fan_out. rank is the brand’s position in that answer. citations are the URLs that engine cited.

Track visibility over time without re-querying

We store every raw answer for 90 days by default. That means you can add a new competitor to your track_brands list and re-run extraction over historical data without spending a single LLM call. To compare two brands on one query now, POST /v1/compare with query, brand_a, and brand_b. Each side returns mentioned and rank per provider, plus mention_count and a delta.

Need indefinite retention for trend reports, longitudinal analyses, and the occasional 'when did Claude start citing us?' debugging session? Email [email protected]. We'll set you up with an extended-retention arrangement.

The retention store is the longitudinal asset. Tools that started measuring AI visibility in early 2026 will have year-over-year baselines by the time most agencies are still figuring out what to track.

Citation rate is its own KPI

Even when an AI doesn't name you, it might cite a page on your site as a source. That's a different funnel than mentions: clicks come from citations, brand awareness comes from mentions. We split them out so you can optimize for both.

Practically: a B2B brand might rank well on mention-rate (the model recommends them) but poorly on citation-rate (the model never links to their docs). The remediation is different. Better naming hits prompt-mention; better technical content hits citation-rate. Splitting the metrics lets your customers see which lever to pull.

What a check returns per engine

For each engine, POST /v1/check returns mentioned, rank, context, citations, and fan_out. mentioned is whether the brand was named. rank is its position in the answer, or null when it was not. context is the surrounding excerpt. citations are that engine’s cited URLs. On mode:quick, fan_out is an empty array.

For confidence intervals on aggregate metrics. 'is our mention rate 22% across this prompt set, or 28%?'. The methodology page documents how we compute Wilson 95% confidence intervals over the rolling sample. If you're shipping numbers to a customer's executive deck, the CI bounds are the difference between 'data' and 'a number to argue about'.

Latency profile for visibility calls: cached mode: quick returns p50 ~140 ms / p99 ~600 ms; uncached mode: quick p50 ~3.8 s / p99 ~7.4 s. The classifier inference step adds ~30-60 ms per provider, mostly amortized in the cache. For dashboard refreshes that need to land in under a second, design for cache hits. Repeat queries against your prompt list will mostly cache after the first run.

Call it from an MCP server

MentionsAPI ships an MCP (Model Context Protocol) server so Claude Code, Cursor, and Windsurf can call the API as native tools: mentions_check, mentions_watch, mentions_discover, and mentions_compare. The hosted server is https://api.mentionsapi.com/mcp, with OAuth, so claude.ai and Claude Desktop connect with no install and no key copying. A local process, npx -y @mentionsapi/mcp@latest, forwards your bearer token and turns MCP calls into the same HTTPS requests. The docs state that no data is processed locally and that your API key is the only secret.

The server is free to install. Each tool call is billed at the underlying endpoint’s credit rate — the same wallet as a direct API call. Editor setup is in the MCP docs. What the server is for is on MCP server for AI brand visibility.

When a visibility API fits (and when it doesn't)

Use it when you're shipping a tool that compares brand presence over time across providers. GEO dashboards, AEO reports, agency client portals, internal CMO dashboards. The combination of mentioned, rank, context, citations, and fan_out, plus 90-day raw-answer retention, is the pattern that makes longitudinal reporting viable without exploding your LLM bill.

Use it specifically when your customers will ask 'what was our mention rate last month?' and 'how did that change after our content launch?' Both questions need a longitudinal store; both are expensive to back-build if you didn't capture data at the time. Starting on the API now compounds.

Skip it for one-shot reports where you only need a snapshot. A consultant running a single 'how does AI describe our category?' analysis can pay a third party for a one-time report cheaper than wiring up a monitoring loop. Skip it also if your reporting needs to match exactly what users see in chatgpt.com. Our API returns API-mode data; it diverges from the live UI on roughly 80-96% of prompts. Pair with mode: perplexity_live (85 credits) on the prompts where parity actually matters, or use the delta-report tool to characterize the gap.

If you are comparing MentionsAPI to a dashboard product, start with MentionsAPI vs OtterlyAI.

FAQ

Frequently asked questions

What is an AI visibility API?
An AI visibility API measures how often and how prominently your brand appears in AI-generated answers. POST /v1/check returns five fields per engine: mentioned, rank, context, citations, and fan_out.
How do I measure my brand's visibility in ChatGPT?
POST /v1/check with mode, query, and brand. A quick check returns providers.chatgpt with mentioned, rank, context, citations, and fan_out. The same call covers Claude, Gemini, and Perplexity. providers, when set, uses those public names (chatgpt, claude, gemini, perplexity).
Can I track visibility over time?
Yes. Every raw answer is stored for 90 days by default, so you can re-run extraction with new brand names without re-querying the LLM. To compare a competitor on the same query, POST /v1/compare with query, brand_a, and brand_b. Each side returns mentioned and rank per provider, plus mention_count and a delta. For longer retention (longitudinal trend reports), email [email protected] for an extended-retention arrangement.
How is this different from a closed AI-visibility dashboard?
Closed dashboards (Profound, BrandRadar) are UI-only with no raw data export, usually cover one LLM, charge $300+/month per seat, and require re-querying the LLM to add a new tracked brand. MentionsAPI is API-first, covers all four providers, costs 5-165 credits per call on a $5/mo plan, and lets you re-extract on stored answers without burning new credits.
What does one check return per engine?
Each engine object has mentioned, rank, context, citations, and fan_out. rank is null when the brand was not mentioned. On mode:quick, fan_out is an empty array.
How much does scheduled visibility tracking cost?
Polling repeat prompts is cheap because ~70-80% of repeat agency prompts hit cache. Per-call: 5 credits cache hit, 150 credits fresh quick fan-out, 165 credits all_live across every live UI surface. Credit-based plans from $5/mo; top-up packs when you need more.
Does the API match what real users see in ChatGPT?
Not exactly. We measured the gap on 1,000 prompts: ChatGPT API answers had at least one meaningful drift versus chatgpt.com on 96% of prompts (citations, brand-set order, or ranking). For prompts where parity matters, layer in mode: perplexity_live (85 credits) on those specific calls. For most monitoring workloads, the API-mode signal is directionally correct and an order of magnitude cheaper.
How do I track citations vs. mentions?
A mention is the brand named in the answer: the engine object sets mentioned and rank. A citation is a URL on citations for that same engine. Track the two fields separately.
Code example

Measure visibility for a single prompt

Drop in your API key and you're live. Same response shape across every provider.

 check.mjs
const visibility = await fetch("https://api.mentionsapi.com/v1/check", {
  method: "POST",
  headers: { Authorization: "Bearer lvk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "Content-Type": "application/json" },
  body: JSON.stringify({
    mode: "quick",
    query: "Top design tools for product teams in 2026?",
    brand: "Figma",
  }),
}).then(r => r.json());

const chatgpt = visibility.providers.chatgpt;
console.log(chatgpt.mentioned, chatgpt.rank, chatgpt.citations.length);
Compare

MentionsAPI vs. AI-visibility SaaS dashboards

 The other wayMentionsAPI
Closed dashboardsUI-only, no exportAPI-first, raw data access
Closed dashboardsSingle LLM (usually GPT)All 4 major providers
Closed dashboardsRe-query for new brandsRe-extract on stored answers
Closed dashboards$300+/mo for one seatCredit-based plans from $5/mo; cache hits from 5 credits
Pricing

Start free. Subscribe for $5/mo. Calls debit credits.

Build your AI visibility tracker on credits. /v1/check?mode=quick is 150 credits fresh / 5 cached (4 LLMs in parallel), /v1/check?mode=perplexity_live is 85 credits (UI scrape with full citations + fan_out). 300 free credits on signup; plans from $5/mo.

Stop wiring up four SDKs.

One API key, four answer engines, structured responses. 300 free credits on signup, plans from $5/mo.