Roundup
November 2026 · 9 min read
Best Google AI Overview and AI Mode APIs: 4 Tested and Compared
Google's AI Overview and AI Mode answers, with the sources they cite, as JSON you can store or pass to a model. This guide shows developers and SEO teams which API to use for each, so you can pick one and make a first call. We sent the same three queries through four APIs live and measured what came back and how fast.
Adam Ben-Ayoun
CTO, OpenWeb Ninja
Google AI Overview API · Google AI Mode API · SERP API · API Comparison

Is There an Official Google AI Overview API?
No. Google's developer docs offer two related products, and neither returns the AI Overview or AI Mode answer people see in Search:
- Custom Search JSON API: Google's overview page says it "is closed to new customers", and existing customers have until January 1, 2027 to move to an alternative. Its documented response is a list of results (title, link, snippet and similar fields) with no AI Overview field.
- Grounding with Google Search: the Gemini API docs say it "connects the Gemini model to real-time web content". You get Gemini's own answer with source citations, not Google Search's AI Overview.
Google's own AI Overview, asked in November 2026, says the same. To get these answers as data, developers use a SERP API, and the four below are the ones we ran live.
Quick Answer: Google AI Overview and AI Mode APIs at a Glance
OpenWeb Ninja, SerpApi, SearchApi and DataForSEO all return Google's AI Overview and AI Mode answers as JSON. Every test request returned an answer: 18 on November 4, 2026, and 6 on DataForSEO on November 6. SerpApi was fastest for AI Overviews (median 0.73 s), OpenWeb Ninja for AI Mode (2.02 s). DataForSEO has the lowest pay-as-you-go prices.
| Option | Data covered | Price per 1,000 requests | Free tier | Our live run (3 queries) |
|---|---|---|---|---|
| OpenWeb Ninja | AI Overview text and reference links; AI Mode answer, reference links and a session token for follow-ups | AI Overview $2.50 on Pro ($25 for 10,000). AI Mode $5.00 on Pro ($25 for 5,000) | 50 requests/mo on each API, no card | AI Overview: 3 of 3, 7 to 8 blocks, 9 to 12 sources, median 2.61 s. AI Mode: 3 of 3, 4 to 10 blocks, 0 to 3 sources, median 2.02 s |
| SerpApi | AI Overview inside the Google results (or by page_token); AI Mode text blocks, references and markdown | $25.00 on Starter ($25 for 1,000 searches) | 250 searches/mo, 50 an hour | AI Overview: 3 of 3, 9 to 15 blocks, 9 to 12 sources, median 0.73 s. AI Mode: 3 of 3, 8 to 9 blocks, 0 to 7 sources, median 4.60 s |
| SearchApi | AI Overview inside the Google results (or by page_token); AI Mode text blocks, reference links, markdown and a conversation token | $4.00 on Developer ($40 for 10,000 requests) | 100 requests on sign-up, no card | AI Overview: 3 of 3, 9 to 14 blocks, 9 to 12 sources, median 3.36 s. AI Mode: 3 of 3, 8 to 16 blocks, 0 to 8 sources, median 5.28 s |
| DataForSEO | AI Overview as an item in the organic results; AI Mode answer as markdown, items and references | AI Overview $2.00 live ($4.00 when an asynchronous overview loads). AI Mode $4.00 live, $1.20 in the 5-minute queue. Pay as you go, $50 minimum top-up | $1 trial credit for new accounts | AI Overview: 3 of 3, 7 to 8 blocks, 9 to 11 sources, median 6.44 s. AI Mode: 3 of 3, 6 to 10 blocks, 0 to 1 sources, median 4.68 s (tested November 6) |
Blocks are the text blocks each API parsed the answer into; sources are the cited links. Every request cost 1 request, search or credit on the first three accounts; DataForSEO bills each call in dollars ($0.002 per AI Overview and $0.004 per AI Mode answer in our run). The order follows the combined median time for one AI Overview plus one AI Mode answer (4.63 s, 5.33 s, 8.64 s, 11.12 s). All four were tested live with our own keys: the first three on November 4, 2026, DataForSEO on November 6. We build OpenWeb Ninja (#1), so read its row with that in mind.
How We Tested
- Three queries that show an AI Overview: "how does a heat pump work", "what is retrieval augmented generation" and "how to remove a red wine stain".
- Both endpoints on each API: one AI Overview request and one AI Mode request per query, 18 requests in all, in one session from one machine on November 4, 2026. Every figure in the tables on this page comes from that run, except DataForSEO's. Default settings (US, English), and
no_cache=trueon SerpApi. - The code below is what ran: each sample ran as shown, with our key and the query swapped in. Response time is the round trip of each request, timed around
fetch. - Re-checked before this update: we re-ran the OpenWeb Ninja, SerpApi and DataForSEO samples on November 6, 2026, to confirm they still work as shown. The outputs and responses under those samples come from that re-run, so their counts differ from the tables. SearchApi was not re-run: its sample, output and responses are from the November 4 run.
- DataForSEO, added November 6, 2026: the same 3 queries on both endpoints, run live with our research account on the same day as the re-check above (
location_code2840,language_codeen). Its AI Overviews opened with the same sentence as OpenWeb Ninja's for the same queries that day. Its figures are marked Nov 6 in the tables. - Same answer check: for each query, the first three returned the same AI Overview on November 4 (same opening sentence, and the same number of sources on two queries, 10 vs 11 on the third). Block counts differ because each API splits lists differently.
- AI Mode: answers are generated per request, so the wording differs between calls. We compare what each response contains.
- Sample size: three queries, one run each. Treat it as a smoke test, not a benchmark.
- Pricing: read from each provider's own pricing page on November 6, 2026.
| AI Overview query | OpenWeb Ninja | SerpApi | SearchApi | DataForSEO (Nov 6) |
|---|---|---|---|---|
| how does a heat pump work | 7 blocks, 12 sources, 2.75 s | 9 blocks, 12 sources, 0.69 s | 9 blocks, 12 sources, 4.57 s | 8 blocks, 9 sources, 4.73 s |
| what is retrieval augmented generation | 7 blocks, 9 sources, 2.61 s | 9 blocks, 9 sources, 1.00 s | 9 blocks, 9 sources, 3.27 s | 7 blocks, 11 sources, 6.44 s |
| how to remove a red wine stain | 8 blocks, 10 sources, 2.56 s | 15 blocks, 11 sources, 0.73 s | 14 blocks, 11 sources, 3.36 s | 8 blocks, 11 sources, 35.17 s |
| AI Mode query | OpenWeb Ninja | SerpApi | SearchApi | DataForSEO (Nov 6) |
|---|---|---|---|---|
| how does a heat pump work | 4 blocks, 0 sources, 2.02 s | 9 blocks, 0 sources, 4.60 s | 8 blocks, 0 sources, 5.89 s | 6 blocks, 0 sources, 4.68 s |
| what is retrieval augmented generation | 4 blocks, 3 sources, 1.86 s | 8 blocks, 7 sources, 1.91 s | 8 blocks, 7 sources, 5.28 s | 8 blocks, 1 source, 8.00 s |
| how to remove a red wine stain | 10 blocks, 3 sources, 2.05 s | 8 blocks, 0 sources, 6.87 s | 16 blocks, 8 sources, 3.64 s | 10 blocks, 0 sources, 3.40 s |
OpenWeb Ninja AI Overviews and Google AI Mode APIs
this siteBest for: the fastest AI Mode answers in our run, follow-up questions, and the lowest entry price per AI Overview
Two GET APIs on one key: the AI Overviews API takes a search query as q, and the Google AI Mode API takes a prompt. The code asks for an AI Overview, an AI Mode answer and a follow-up in the same conversation.
openwebninja_ai_answers.mjs
const headers = { "x-api-key": "YOUR_API_KEY" }; const q = "how does a heat pump work"; // AI Overview for a Google search const aio = await fetch( `https://api.openwebninja.com/ai-overviews/ai-overviews?${new URLSearchParams({ q })}`, { headers } ).then((r) => r.json()); console.log(aio.data.search_returned_ai_overviews, aio.data.text_parts.length, aio.data.reference_links.length); // AI Mode answer, then a follow-up in the same conversation const mode = await fetch( `https://api.openwebninja.com/google-ai-mode/ai-mode?${new URLSearchParams({ prompt: q })}`, { headers } ).then((r) => r.json()); console.log(mode.data.reply_parts[0].text); const followUp = await fetch( `https://api.openwebninja.com/google-ai-mode/ai-mode?${new URLSearchParams({ prompt: "Which one is cheaper to run?", session_token: mode.data.session_token, })}`, { headers } ).then((r) => r.json()); console.log(followUp.data.reply_parts[0].text);
Output of this code, re-run November 6, 2026 (long lines trimmed)
output
true 7 9 A heat pump works by transferring heat from one place to another using a chemical refrigerant, rather than generating heat directly through combustion or electricity. It acts like a reversible refrigerator, capable of providing both ... For the majority of homes, heat pumps are significantly cheaper to run than conventional heating and cooling systems.
Line 1 is the AI Overview flag, text parts and reference links. In this re-run the AI Mode answer had 5 reply parts and no sources.
AI Overview response from this re-run, trimmed
{ "status": "OK", "request_id": "e2a80133-17d7-4e20-8e06-e0322b3163e4", "parameters": { "q": "how does a heat pump work", "nfpr": "0", "gl": "us", "hl": "en", "device": "desktop" }, "data": { "text_parts": [ { "type": "paragraph", "text": "A heat pump works by moving heat from one place to another rather than burning fuel to create it. Think of it as a two-way air conditioner that can reverse its direction. YouTube·This Old House +3" }, ... 6 more ], "reference_links": [ { "title": null, "link": "https://www.youtube.com/watch?v=-vU9x3dFMrU", "snippet": null, "source": "youtube.com" }, ... 8 more ], "search_returned_ai_overviews": true } }
AI Mode response from this re-run, trimmed
{ "status": "OK", "request_id": "3609e891-b00d-4cc0-97e8-441068cb4f97", "parameters": { "prompt": "how does a heat pump work", "gl": "us", "hl": "en" }, "data": { "reply_parts": [ { "type": "paragraph", "text": "A heat pump works by transferring heat from one place to another using a chemical refrigerant, rather than generating heat directly through combustion or electricity. It acts like a reversible refrigerator, capable of providing both heating and cooling." }, ... 4 more ], "reference_links": [], "session_token": "Q21vd1lUZHBiREIxTlZvNVlWWkNVVlF6..." } }
- Parameters: AI Overviews:
q,location,gl,hl. AI Mode:prompt,session_token,locationoruule,gl,hl, and PDFattachments. - Free tier: 50 requests a month on each API, no credit card.
- Paid plans: AI Overviews from $25 for 10,000 (Pro) to $150 for 200,000 (Mega, $0.75 per 1,000), or $0.005 a request pay as you go. AI Mode from $25 for 5,000 to $150 for 75,000 ($2.00 per 1,000), or $0.008 a request.
- Our run (November 4): 6 of 6 answered, 1 request each on our usage meter. AI Overview median 2.61 s, AI Mode median 2.02 s. One follow-up call returned a 503 "Temporary error"; it was not billed, and a retry worked.
- AI Mode sources: fewer than the other two: 3 against 7 on both for "what is retrieval augmented generation", and 6 across the 3 queries against 7 (SerpApi) and 15 (SearchApi).
- AI Overview links: 28 of 31 were direct page URLs; 3 were google.com/goto redirects.
- For agents: both APIs have an llms.txt (AI Overviews, AI Mode), and the MCP server exposes the APIs as tools.
SerpApi Google AI Overview and AI Mode APIs
monthly plansBest for: the fastest AI Overviews in our run, inside a full Google results page
SerpApi returns the AI Overview as ai_overview in its Google search response (engine=google). Its AI Overview docs describe a second request with engine=google_ai_overview and a page_token that "expires within 1 minute of the search". AI Mode is engine=google_ai_mode. The code handles both cases.
serpapi_ai_answers.mjs
const apiKey = "YOUR_API_KEY"; const q = "how does a heat pump work"; const serp = (params) => fetch(`https://serpapi.com/search.json?${new URLSearchParams({ ...params, api_key: apiKey })}`).then((r) => r.json()); // AI Overview: inline in the Google results, or one more call with page_token let { ai_overview } = await serp({ engine: "google", q, no_cache: "true" }); if (ai_overview?.page_token && !ai_overview.text_blocks) { ({ ai_overview } = await serp({ engine: "google_ai_overview", page_token: ai_overview.page_token })); } if (!ai_overview) { console.log("No AI Overview for this query"); } else { console.log(ai_overview.text_blocks.length, ai_overview.references.length); } // AI Mode answer const mode = await serp({ engine: "google_ai_mode", q, no_cache: "true" }); console.log(mode.text_blocks[0].snippet);
Output of this code, re-run November 6, 2026
output
9 9 A heat pump works by transferring heat from one place to another using a chemical refrigerant, rather than generating heat directly through combustion or electricity. It acts like a reversible refrigerator, capable of providing both ...
Output with q set to "facebook login", a query with no AI Overview
output
No AI Overview for this query You can log in to your account directly on the Facebook Official Website.
In this re-run the AI Overview came in the first Google response (9 text blocks, 9 references). In an earlier re-run the same day, Google loaded it separately and the code made the page_token request. The AI Mode answer had 8 text blocks and no references.
AI Overview part of the Google response from this re-run, trimmed
{ "ai_overview": { "text_blocks": [ { "type": "paragraph", "snippet": "A heat pump works by moving heat from one place to another rather than burning fuel to create it. Think of it as a two-way air conditioner that can reverse its direction.", "reference_indexes": [1, 2, 3, 4] }, ... 8 more ], "references": [ { "index": 0, "title": "How Do Heat Pumps Work?", "link": "https://www.youtube.com/watch?v=iQaycSD5GWE", "source": "YouTube" }, ... 8 more ] } }
AI Mode response from this re-run, trimmed
{ "search_parameters": { "engine": "google_ai_mode", "q": "how does a heat pump work", "device": "desktop" }, "text_blocks": [ { "type": "paragraph", "snippet": "A heat pump works by transferring heat from one place to another using a chemical refrigerant, rather than generating heat directly through combustion or electricity. It acts like a reversible ..." }, ... 7 more ], "reconstructed_markdown": "A heat pump works by transferring heat from one place to another using..." }
- Parameters: AI Mode:
q,locationoruule,gl,hl,continuableandsubsequent_request_tokenfor follow-ups, andno_cache, per its AI Mode docs. - Free tier: 250 searches a month, 50 an hour.
- Paid plans: Starter $25 for 1,000 searches, Production $150 for 15,000 ($10.00 per 1,000), up to Searcher $725 for 100,000 ($7.25 per 1,000), from the pricing page on November 6, 2026. Only successful searches count.
- Our run (November 4): 6 of 6 answered, 1 search each. All 3 AI Overviews came in the first Google response. AI Overview median 0.73 s, AI Mode median 4.60 s.
- Response size: 82 to 86 KB, because the AI Overview comes with the whole results page.
- AI Overview links: all 32 were direct page URLs.
SearchApi Google AI Overview and AI Mode APIs
monthly plansBest for: the lowest entry price per AI Mode answer, with markdown and a conversation token
Works like SerpApi: the AI Overview comes in its Google search response (engine=google), and its AI Overview docs describe a google_ai_overview request with a page_token that expires "in less than 1 minute". AI Mode is engine=google_ai_mode, with the key in an Authorization header. This is the code from our November 4, 2026 run, with its output. Every SearchApi search we made returned an AI Overview, so it reads ai_overview directly; for queries without one, add the check from the SerpApi sample.
searchapi_ai_answers.mjs
const headers = { Authorization: "Bearer YOUR_API_KEY" }; const q = "how does a heat pump work"; const search = (params) => fetch(`https://www.searchapi.io/api/v1/search?${new URLSearchParams(params)}`, { headers }).then((r) => r.json()); // AI Overview: inline in the Google results, or one more call with page_token let { ai_overview } = await search({ engine: "google", q }); if (ai_overview?.page_token && !ai_overview.text_blocks) { ai_overview = await search({ engine: "google_ai_overview", page_token: ai_overview.page_token }); } console.log(ai_overview.text_blocks.length, ai_overview.reference_links.length); // AI Mode answer const mode = await search({ engine: "google_ai_mode", q }); console.log(mode.text_blocks[0].answer);
Output of this code, November 4, 2026 run
output
9 12 A heat pump works a bit like a refrigerator in reverse. Instead of creating heat, it simply moves heat from one place to another.
AI Overview part of the Google response, November 4 run, trimmed
{ "ai_overview": { "text_blocks": [ { "type": "paragraph", "answer": "A heat pump works by moving heat from one place to another instead of burning fuel to create it, acting like a two-way air conditioner that can both heat and cool your home.", "reference_indexes": [0, 1, 2] }, ... 8 more ], "markdown": "A heat pump works by moving heat from one place to another instead of ...", "reference_links": [ { "index": 0, "title": "What Is A Heat Pump And How Does It Work? - Carrier", "link": "https://www.google.com/goto?url=CAESpgEBxCJF1-zqiKeZqJB5MbEn...", "snippet": "What Is a Heat Pump And How Does a Heat Pump Work?...", "source": "Carrier", "favicon": "https://encrypted-tbn3.gstatic.com/favic...", "thumbnail": "https://encrypted-tbn3.gstatic.com/image..." }, ... 11 more ] } }
AI Mode response, November 4 run, trimmed
{ "search_parameters": { "engine": "google_ai_mode", "q": "how does a heat pump work", "gl": "us", "hl": "en" }, "text_blocks": [ { "type": "paragraph", "answer": "A heat pump works a bit like a refrigerator in reverse. Instead of creating heat, it simply moves heat from one place to another." }, ... 7 more ], "markdown": "A heat pump works a bit like a refrigerator in reverse. Instead of cre...", "pagination": { "conversation_token": "eyJtc3RrIjoiQVV0RXhmRDBUbDQ5eDhv..." } }
- Parameters: AI Mode:
q,locationoruule,gl,hl, andconversation_tokenfor follow-ups, per its AI Mode docs. A conversation "cannot be continued forever": it then returns a 400 error. - Free tier: 100 free requests on sign-up, no credit card.
- Paid plans: Developer $40 for 10,000 to BigData $250 for 100,000 ($2.50 per 1,000). Failed requests are not billed.
- Our run (November 4): 6 of 6 answered, 1 credit each. All 3 AI Overviews came in the first Google response. AI Overview median 3.36 s, AI Mode median 5.28 s.
- AI Overview links: 30 of 32 were google.com/goto redirects with the default setting. The docs say
link=resolvedreturns "the direct destination URL instead".
DataForSEO Google AI Overview and AI Mode APIs
pay as you goBest for: the lowest pay-as-you-go prices, and AI Mode in a cheaper 5-minute queue
You POST a JSON array of tasks, with your API login and password as Basic auth. The AI Overview comes as an ai_overview item among the organic results (serp/google/organic/live/advanced with load_async_ai_overview: true), and AI Mode has its own endpoint (serp/google/ai_mode/live/advanced). Every response reports its own cost. The code checks for a missing AI Overview and ran as shown on November 6, 2026.
dataforseo_ai_answers.mjs
const auth = "Basic " + Buffer.from("YOUR_LOGIN:YOUR_PASSWORD").toString("base64"); const q = "how does a heat pump work"; const post = (path, extra) => fetch(`https://api.dataforseo.com/v3/serp/google/${path}/live/advanced`, { method: "POST", headers: { Authorization: auth, "Content-Type": "application/json" }, body: JSON.stringify([{ keyword: q, location_code: 2840, language_code: "en", ...extra }]), }).then((r) => r.json()); // AI Overview: an ai_overview item among the organic results const serp = await post("organic", { load_async_ai_overview: true }); const aio = (serp.tasks[0].result[0].items ?? []).find((i) => i.type === "ai_overview"); if (!aio) { console.log("No AI Overview for this query", serp.tasks[0].cost); } else { console.log(aio.items.length, (aio.references ?? []).length, serp.tasks[0].cost); } // AI Mode answer const mode = await post("ai_mode", {}); const answer = mode.tasks[0].result[0].items[0]; console.log(answer.markdown.split("\n")[0], mode.tasks[0].cost);
Output of this code, November 6, 2026 (long lines trimmed)
output
7 3 0.004 A heat pump works by **transferring heat from one place to another using a chemical refrigerant** , rather than generating heat directly through combustion or ...
Output with q set to "gmail login", a query with no AI Overview
output
No AI Overview for this query 0.002 #### Quick results from the web: 0.004
The last number on each line is the cost in dollars. In this run the AI Overview loaded asynchronously, so it cost $0.004, with 7 items and 3 references; the AI Mode answer had 6 items and no references.
AI Overview item in the organic response, trimmed
{ "status_code": 20000, "tasks": [ { "cost": 0.004, "result": [ { "keyword": "how does a heat pump work", "items": [ { "type": "ai_overview", "asynchronous_ai_overview": true, "markdown": "A heat pump works by `moving heat from one place to another rather than creating it` , functioning like a two-way air ...", "items": [ { "type": "ai_overview_element", "title": null, "text": "A heat pump works by moving heat from one place to another rather than creating it, functioning like a two-way air conditioner that can ..." }, ... 6 more ], "references": [ { "source": "YouTube", "domain": "www.youtube.com", "url": "https://www.youtube.com/watch?v=-vU9x3dFMrU&t=11", "title": "How a Heat Pump Works | This Old House" }, ... 2 more ] }, ... 12 more ] } ] } ] }
AI Mode response, trimmed
{ "status_code": 20000, "tasks": [ { "cost": 0.004, "result": [ { "keyword": "how does a heat pump work", "items": [ { "type": "ai_overview", "markdown": "A heat pump works by **transferring heat from one place to another using a chemical refrigerant** , rather than ...", "items": [ ... 6 items ], "references": [] } ] } ] } ] }
- Parameters:
keyword,location_code,location_nameorlocation_coordinate, andlanguage_codeon both endpoints, per its organic and AI Mode docs. The AI Mode docs list no follow-up parameter. - Free tier: a $1 trial credit for new accounts.
- Prices: pay as you go, with a $50 minimum top-up. Organic results in live mode are $0.002 per SERP; the docs say load_async_ai_overview costs $0.002 extra, returned when the AI Overview is absent or not asynchronous. AI Mode is $0.004 live, $0.0024 in the priority queue (about 1 minute) or $0.0012 in the standard queue (5 minutes, guaranteed within 45).
- Our run (November 6): 6 of 6 answered. Each AI Overview call was billed $0.002 (the extra charge was returned) and each AI Mode call $0.004. AI Overview median 6.44 s (one call took 35.2 s), AI Mode median 4.68 s. AI Overview responses were 48 to 59 KB, because they include the organic results.
- AI Overview links: 25 of 31 were direct page URLs; 6 were google.com/goto redirects. For "facebook login" the ai_overview item had references set to null, with the links inside the markdown, which is why the code reads references with a fallback.
- Errors: one AI Mode call on November 6 returned status_code 40502 ("POST Data Is Empty") with cost 0, inside an HTTP 200 response. The retry worked. On a keyword list, a status_code check and a retry are most likely to be needed.
AI Overview or AI Mode: Which Endpoint Fits?
| AI Overview | AI Mode | |
|---|---|---|
| Input | A search query, as typed into Google | A question or prompt |
| When you get an answer | Only for queries where Google shows an AI Overview | For every prompt in our runs (12 of 12) |
| Follow-up questions | No | Yes on OpenWeb Ninja, SerpApi and SearchApi, with a session or conversation token; DataForSEO's docs list none |
| Response time in our run | Median 0.73 to 6.44 s | Median 2.02 to 5.28 s |
| A common use | Checking which pages Google cites for keywords you already track | Checking how Google answers questions about a brand or topic, and research sessions with follow-ups |
To find out which of your keywords show an AI Overview before you fetch it, the Real-Time Web Search API returns a has_ai_overviews flag with the organic results.
Queries With No AI Overview
Google shows an AI Overview for some queries and not others, so a keyword list will hit both. We sent "facebook login" to the first three APIs on November 4, 2026, a few seconds apart. DataForSEO showed an AI Overview for it on November 6, so it got "gmail login" instead.
| Option | What came back | Billed |
|---|---|---|
| OpenWeb Ninja | search_returned_ai_overviews: false, with empty text_parts and reference_links | 1 request, checked on our usage meter |
| SerpApi | No ai_overview key. The organic results (7) and related searches still came back | 1 search on our account. Its pricing FAQ says "Only successful searches are counted" and that empty result sets also count as 1 search |
| SearchApi | Google showed an AI Overview on SearchApi's search for this query, so we could not see its no-overview response | 1 credit on our account. Its pricing page says "Only successful searches with a 200 status code incur charges" |
| DataForSEO | "gmail login": no ai_overview item; the organic results and related searches came back | $0.002, the cost in the response. The extra $0.002 for load_async_ai_overview was returned, which its docs say happens when the AI Overview is absent |
The SerpApi and DataForSEO samples check for a missing AI Overview before reading it, so a keyword list does not stop on the first query without one. On November 6 they printed "No AI Overview for this query" for "facebook login" and "gmail login".
Which API Fits Your Use Case
- Tracking which pages Google cites: direct page URLs save a step. SerpApi returned them for all 32 AI Overview links, OpenWeb Ninja for 28 of 31, DataForSEO for 25 of 31; SearchApi needs
link=resolved. See our AI Mode brand tracking guide. - You already track organic rankings and want the AI Overview too: SerpApi, SearchApi and DataForSEO return it inside the full results page. On OpenWeb Ninja, the Real-Time Web Search API does the same in one call with
fetch_ai_overviews=true: 8 organic results and the AI Overview in about 9.6 KB in our November 4 check. Its docs say that uses two credits instead of one when an AI Overview is available. - Many queries a day: for 100,000 requests a month: OpenWeb Ninja $150 for AI Overviews (Mega) or $200 for AI Mode (Mega, then $0.002 each), SearchApi $250 (BigData), SerpApi $725 (Searcher), DataForSEO $200 for AI Overviews in live mode ($400 when asynchronous overviews load) or $120 for AI Mode in the 5-minute queue. SerpApi, SearchApi and DataForSEO prices include the organic results, so they are not like-for-like with a dedicated AI Overviews API.
- Follow-up questions in an LLM tool: OpenWeb Ninja, SerpApi and SearchApi support AI Mode follow-ups; DataForSEO's docs list no follow-up parameter. OpenWeb Ninja AI Mode was fastest (median 2.02 s) and shares a key with our ChatGPT, Gemini and Copilot APIs, but cited fewer sources (3 against 7 for "what is retrieval augmented generation"). If sources matter more than speed, compare them on your own prompts. See Give Your AI Agent Live Web Search.
- Answers for a specific city: All four take a location for both AI Overviews and AI Mode.
locationon OpenWeb Ninja (AI Overviews and AI Mode docs), SerpApi (Google Search and AI Mode docs) and SearchApi (Google Search and AI Mode docs);location_code,location_nameorlocation_coordinateon DataForSEO (docs linked in its section). SerpApi and SearchApi also takeuuleon both, and OpenWeb Ninja takes it for AI Mode. A common practice is to keep the city fixed between runs.
For organic results and the rest of the results page, see Best SERP APIs in 2026 and OpenWeb Ninja vs SerpApi. More SEO use cases: SEO and SERP research.
Sources
Prices read on November 6, 2026. Docs read on November 4, 2026 (DataForSEO on November 6).
- OpenWeb Ninja: AI Overviews API and pricing, Google AI Mode API and pricing, AI APIs, Real-Time Web Search API
- SerpApi: pricing, Google AI Overview API docs, Google AI Mode API docs, Google Search API docs
- SearchApi: pricing, Google AI Overview API docs, Google AI Mode API docs, Google Search API docs
- DataForSEO: pricing, Google Organic SERP pricing, Google AI Mode SERP API, organic live advanced docs, AI Mode live advanced docs
- Google: Custom Search JSON API overview, Custom Search response reference, Grounding with Google Search
FAQ
How do I access Google AI Overviews through an API?
Is there an official Google API for AI Overviews?
Is there a free AI Overview API?
How do I get Google AI Mode answers as JSON?
Can I ask AI Mode a follow-up question through the API?
Are the AI Overview and AI Mode results live?
Can I track ChatGPT and Gemini answers with the same key?

Written by
Adam Ben-Ayoun
CTO at OpenWeb Ninja
Adam leads engineering at OpenWeb Ninja, building the APIs and infrastructure that make public web data accessible to developers and AI agents.
Connect on LinkedInGet Google's AI Answers as JSON
50 free requests a month on each API, no credit card. AI Overviews, AI Mode, ChatGPT, Gemini and 50+ other APIs on one key.