Google AI Overview

Fetch Google's AI Overview plus the full SERP, with cited sources

POSThttps://api.anakin.io/v1/wire/task

Fetch the AI Overview Google shows above organic results, plus the surrounding SERP — organic results, People-Also-Ask, knowledge panel, and more. Highly geo-dependent. Run it with the google_ai_overview action on POST /v1/wire/task.

Catalog: google_ai_mode · action_id: google_ai_overview · Credits: 2 / call · Auth: none


Request Body

{
  "action_id": "google_ai_overview",
  "params": { "query": "best CRM for small teams", "country": "us" }
}
ParameterTypeDescription
action_id requiredstringSet to google_ai_overview
params.query requiredstringThe search query (max 2048 chars)
params.countrystring2-letter ISO country for the search locale (239 supported). Default us
params.locationstringLocation override: lat,lng[,radius_m] or a canonical place
params.uulestringReady-made Google UULE cookie value (overrides location)
params.pageintegerSERP page (1–10). Page 1 = AI Overview + organic. Default 1
params.htmlbooleanReturn a link to the full SERP snapshot instead of inline HTML. Default false
params.paa_aioverviewbooleanHydrate People-Also-Ask items with their own AI-Overview markdown. Default false
params.devicestringUser-agent profile (desktop, desktop_chrome, mobile, …). Default desktop

Code Examples

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "google_ai_overview",
    "params": { "query": "best CRM for small teams", "country": "us" }
  }'

Response

202 Accepted
{ "status": "processing", "job_id": "…", "poll_url": "/v1/wire/jobs/…" }

Poll GET /v1/wire/jobs/{id} until status: "completed":

200 OK
{
  "status": "completed",
  "credits_used": 2,
  "execution_ms": 16797,
  "data": {
    "status": "ok",
    "data": {
      "overview_text": "…", "overview_markdown": "…",
      "sources": [
        { "url": "https://…", "title": "…", "domain": "…", "snippet": "…", "hostname": "…", "source_type": "web" }
      ],
      "claim_references": [], "organic": [], "featured_snippet": {}, "knowledge_panel": {},
      "related_questions": [], "related_searches": [], "top_stories": [], "videos": [],
      "products": [], "discussions": [], "what_people_are_saying": [],
      "serp_layout": [], "device": "desktop", "page": 1
    },
    "meta": { "action_id": "google_ai_overview", "catalog_slug": "google_ai_mode", "envelope_version": "v1" }
  }
}
FieldTypeDescription
data.data.overview_textstringThe AI Overview text (also overview_markdown). null when Google serves no overview
data.data.sourcesarrayAI Overview citations — { url, title, domain, snippet, hostname, source_type }
data.data.claim_referencesarrayPer-claim source mapping — the sharpest GEO signal
data.data.organicarrayOrganic SERP results
data.data.related_questionsarrayPeople-Also-Ask items
data.data.serp_layoutarrayOrder of SERP modules on the page

Google doesn't serve an AI Overview for every query/geo — check overview_text for null before relying on it (the SERP modules are still returned). Use location/uule for city-level targeting. Billed only on success.