Google Ai mode API
Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.
$2.00/1k req, pay per request, no subscription.
What is AnyAPI at getanyapi.com, and what does it offer?
AnyAPI is a unified marketplace for scraping and data APIs. It gives you one API key and one USD wallet to call hundreds of underlying providers across platforms like Instagram, TikTok, LinkedIn, Google Search, and Amazon.
AnyAPI normalizes each provider's response into a consistent schema and automatically falls back to a backup provider if the primary one fails, so you get more reliable uptime than calling a single vendor directly. There are no subscriptions; you pay per successful request.
{"title": "AnyAPI - any API, one wallet","url": "https://getanyapi.com/"}
Pricing and providers
Google Ai mode API pricing: one API, 2 interchangeable providers
The cheapest provider serves first. If it fails, the next one takes over in the same call.
Try it
Get Google ai mode in one request
This sample shows 8 of 9 fields. See every field
{
"found": true,
"data": {
"prompt": "What is AnyAPI at getanyapi.com, and what does it offer?",
"answer": "AnyAPI is a unified marketplace for scraping and data APIs. It gives you one API key and one USD wallet to call hundreds of underlying providers across platforms like Instagram, TikTok, LinkedIn, Google Search, and Amazon. AnyAPI normalizes each provider's response into a consistent schema and automatically falls back to a backup provider if the primary one fails, so you get more reliable uptime than calling a single vendor directly. There are no subscriptions; you pay per successful request.",
"answerMarkdown": "AnyAPI is a unified marketplace for scraping and data APIs. It gives you **one API key** and **one USD wallet** to call hundreds of underlying providers across platforms like Instagram, TikTok, LinkedIn, Google Search, and Amazon.\n\nKey points:\n- Normalizes each provider's response into a consistent schema\n- Automatically falls back to a backup provider on failure\n- No subscriptions, pay per successful request",
"citations": [
{
"title": "AnyAPI - any API, one wallet",
"url": "https://getanyapi.com/"
},
{
"title": "AnyAPI Documentation",
"url": "https://docs.getanyapi.com/"
},
{
"title": "AnyAPI Pricing",
"url": "https://getanyapi.com/pricing"
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-11-22 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- promptstring
What is AnyAPI at getanyapi.com, and what does it offer?
The question or prompt to answer with Google AI Mode.
Response
JSON, one example value per field.
The normalized answer, or null when no answer was found. Google composes the answer at search time rather than serving a stored one, so the same prompt can return different wording and a different set of citations on each call. Treat a response as one observation of the answer, not as a stable document.
- answerstring
AnyAPI is a unified marketplace for scraping and data APIs. It gives you one API key and one USD wallet to call hundreds of underlying providers across platforms like Instagram, TikTok, LinkedIn, Google Search, and Amazon. AnyAPI normalizes each provider's response into a consistent schema and automatically falls back to a backup provider if the primary one fails, so you get more reliable uptime than calling a single vendor directly. There are no subscriptions; you pay per successful request.
The answer as plain text, as Google generated it for this search. Length and coverage vary between searches on the same prompt. Populated whenever the provider has data for the entity.
- answerMarkdownstring
AnyAPI is a unified marketplace for scraping and data APIs. It gives you **one API key** and **one USD wallet** to call hundreds of underlying providers across platforms like Instagram, TikTok, LinkedIn, Google Search, and Amazon. Key points: - Normalizes each provider's response into a consistent schema - Automatically falls back to a backup provider on failure - No subscriptions, pay per successful request
The answer in Markdown when Google returns a Markdown rendering, otherwise the same text as answer. Populated whenever the provider has data for the entity.
- promptstring
What is AnyAPI at getanyapi.com, and what does it offer?
The prompt answered by the upstream search experience. Populated whenever the provider has data for the entity.
The sources Google cited for this search, in the order it returned them. Google recomputes the set per search, so counts and membership vary between calls on the same prompt.
- titlestring
AnyAPI - any API, one wallet
The cited source title.
- urlstring
https://getanyapi.com/
The cited source URL.
- foundboolean
true
Whether Google AI Mode returned an answer.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
About the Google Ai mode API
The AnyAPI Google Ai mode API returns Google ai mode data as normalized JSON from one POST call to /v1/run/google.ai_mode. Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $2 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 97.7% of Google ai mode calls through AnyAPI succeeded, with a median response time of 8.5 seconds across 97,232 measured calls.