Google AI Mode

Google AI Mode API for brand visibility checks

Send a prompt and a brand name. MentionsAPI runs the prompt in Google AI Mode and tells you whether the brand was named, where it ranked in the answer, the sentence around it, and every URL AI Mode cited. Copy this request, add your key, and run it:

300 free credits on signup, no card · Plans from $5/mo

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

What the response contains

This is the docs example, trimmed:

 response.json
{
  "id": "chk_a8d2c...",
  "mode": "ai_mode",
  "providers": {
    "ai_mode": {
      "mentioned": true, "rank": 2,
      "context": "**HubSpot CRM** offers a generous free tier...",
      "citations": [
        { "url": "https://www.hubspot.com/products/crm", "title": "HubSpot Products" },
        { "url": "https://blog.hubspot.com/sales/best-crm", "title": "Best CRM" }
      ],
      "sponsored": []
    }
  },
  "duration_ms": 5803,
  "cache_hit": false
}
FieldWhat it tells you
mentionedWhether the brand appears in the AI Mode answer. Matching is case-insensitive and tolerates small spelling differences.
rankThe brand's position among the brands named in the answer.
contextThe text around the mention, with the markdown AI Mode used.
citationsEach source AI Mode linked, with URL and title.
sponsoredPaid blocks shown inside the answer. They never count toward mentioned, rank or citations.
surface_presentSet to false when AI Mode showed no AI answer for the prompt, which is different from an answer that left your brand out.

AI Mode is not available everywhere. Pass region (us, uk, ca or au; default us). If AI Mode is unavailable in that region, the call still returns 200, reports surface_unavailable_in_region under errors.ai_mode, and refunds the credits.

Three ways teams use it

Inside an agent. Give your agent the request above as a tool. It sends a prompt and a brand and gets back a small JSON object it can reason over, instead of a page of HTML. MentionsAPI also runs a remote MCP server at https://api.mentionsapi.com/mcp with OAuth, so Claude and other MCP clients can call checks directly. Setup is in the MCP docs.

In a data pipeline. Schedule the check and send changes to your own endpoint, then load them into a warehouse. Creating a watch is free. Each run is billed at the mode's rate, so a daily AI Mode watch uses 35 credits per run.

 curl
curl https://api.mentionsapi.com/v1/watch \
  -H "Authorization: Bearer $MENTIONSAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "best CRM for small business",
    "brand": "HubSpot",
    "mode": "ai_mode",
    "interval": "daily",
    "webhook_url": "https://your.app/webhooks/mentionsapi",
    "webhook_secret": "whsec_at_least_16_chars_long_secret",
    "trigger_on": ["rank_changed", "mention_added", "mention_removed"]
  }'

In client reports. Agencies run the same prompt list for each client and chart mentioned and rank over time. To cover every live surface in one request, use mode: all_live. It checks AI Mode, AI Overviews, Bing Copilot and the live ChatGPT, Gemini and Perplexity interfaces for 165 credits.

AI Mode is not the Gemini API

Google's Gemini API offers Grounding with Google Search, which "connects the Gemini model to real-time web content". That is your own model call, with your own prompt and settings. With Gemini 3 and newer models it is billed per search query the model runs: 5,000 free searches a month, then $14 per 1,000. It is useful for building an assistant. It does not show you the answer a person sees in AI Mode on google.com, and that answer is the one your buyers read. Since 12 November 2026, AI Mode in Search has run on Gemini 4 Hydrogen.

Raw SERP data or a brand answer

SERP APIs can also fetch AI Mode. SerpApi, for example, has a Google AI Mode API, and its plans start at $25 a month for 1,000 searches. Choose one of those if you want the full raw response and plan to write your own brand matching. MentionsAPI returns the brand-level result directly: named or not, rank, citations, and paid blocks kept separate.

Why AI Mode needs its own measurement

Google says pages that appear in AI Overviews and AI Mode are counted in Search Console's Performance report under the "Web" search type, together with the rest of your search traffic. Search Console alone therefore cannot tell you whether AI Mode names your brand for a given prompt. Google also reported in May 2026 that AI Mode had passed 1 billion monthly active users.

Cost

An AI Mode check costs 35 credits, and failed upstream calls are refunded in full. The $5 monthly plan (1,000 credits) covers 28 checks. The $54 annual plan grants 12,000 credits up front. Top-ups are $4 per 1,000 credits on monthly plans and $3 per 1,000 on annual plans. The latency target for this mode is under 8 seconds at p95. Full rates are on the pricing page.

FAQ

Frequently asked questions

Does Google offer an AI Mode API?
Google offers the Gemini API with Grounding with Google Search, which grounds your own Gemini calls in web results. That is not the AI Mode answer people see in Google Search. MentionsAPI checks the AI Mode answer itself and returns it as JSON.
How much does an AI Mode check cost?
35 credits per call, with a full refund if the upstream call fails. New accounts get 300 free credits with no card, and $5 a month buys 1,000 credits.
Which countries can I check?
Set region to us, uk, ca or au. If AI Mode is not available in the region you choose, the response says so under errors.ai_mode and the credits are refunded.
What if AI Mode shows no answer for my prompt?
The response returns surface_present set to false and mentioned set to false. That means AI Mode showed no AI answer, which is different from an answer that did not name your brand.
Are ads inside AI Mode counted as mentions?
No. Paid blocks are listed under sponsored and are never counted toward mentioned, rank or citations.
Can I track a prompt every day?
Yes. Create a watch with POST /v1/watch and mode ai_mode. Creating it is free, each run costs 35 credits, and your webhook is called when a mention, rank or citation changes.

Run your first AI Mode check

Sign up for 300 free credits with no card, then send the request above with your own prompt and brand.