Google AI Mode API: AI Mode Answers, Citations & Sources
Google AI Mode scraper and MCP tool: send queries, get Google AI Mode's answer as JSON: markdown text and every cited source (URL, domain, title, snippet). No Google account, no browser. $0.008 per answer, plus $0.001 per run; empty or failed answers are free.
Typical uses
- AI search visibility (GEO / AEO): which sites does Google AI Mode cite for the queries your buyers type? Is yours one of them?
- Citation research: `sources` and `citedDomains` show the pages Google AI Mode relies on, in order.
- Content gaps: read what the answer says, and which competitors it cites, before writing your own page.
- Answers with sources for your app or agent: Google AI Mode as plain JSON, with the citations kept apart from the text.
- Weekly reports: schedule a run and send the rows to Google Sheets, Looker Studio, Slack, n8n, Make or Zapier.
Ready-to-run examples
- Google AI Mode answers for 5 buyer questions, with sources: Ask Google AI Mode the questions your buyers ask, here 5 about project management software, and get one row per question: the full answer and the pages it cites. Compare with ChatGPT and Gemini to see where your brand is recommended.
Pricing
Pay per use, no subscription, no monthly fee. The price depends on your Apify plan. Apify's free plan includes $5 of usage every month.
| You pay per | Free plan | Starter | Scale | Business |
|---|---|---|---|---|
| Google AI Mode answer One query that got a non-empty Google AI Mode answer: the answer as Markdown and the sources it cites. Empty answers, refused queries, failures and queries not asked are free. | $0.008 | $0.008 | $0.008 | $0.008 |
| Actor Start Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). | $0.001 | $0.001 | $0.001 | $0.001 |
Run it from your code
Get an API token in the Apify Console (Settings → Integrations), then:
curl -X POST \
"https://api.apify.com/v2/acts/plainrows~google-ai-mode-api/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"queries": [
"best standing desk for small spaces",
"Which CRM do small agencies recommend in 2026?"
],
"country": "US"
}'
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("plainrows/google-ai-mode-api").call(run_input={'queries': ['best standing desk for small spaces',
'Which CRM do small agencies recommend in 2026?'],
'country': 'US'})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row)
Use it in automations and AI agents
- n8n, Make, Zapier: use the official Apify integration and pick the Actor
plainrows/google-ai-mode-api. - MCP (Claude, Cursor, other AI agents):
https://mcp.apify.com?tools=plainrows/google-ai-mode-api
Full documentation, input options and output fields: https://apify.com/plainrows/google-ai-mode-api