FETCHAPI

Get Google's AI-generated answer for a keyword API

One call returns Google's AI-generated answer (AI Overview) for a search query, including text, product recommendations, and source references. Each item in the answer is a section of the AI response with supporting links and citations. The sample shows an AI answer about best running shoes for beginners with multiple reference sources.

1 live route on DataForSEO, from $0.004 per call. Every route below answered our last live test on 2026-10-06; the gateway re-tests them daily.

Get a keySee it in the catalogUse it from MCP

Price per call, by route

The upstream price you are metered at, cheapest first. A route without a published price says so.

ProviderEndpointPriceTested
Google AI Mode answerPOST serp/google/ai_mode/live/advanced$0.004$4.00 / 1k calls✓ 2026-10-06pricing ↗

What it returns

From a real call to the route: DataForSEO.

One call returns Google's AI-generated answer (AI Overview) for a search query, including text, product recommendations, and source references. Each item in the answer is a section of the AI response with supporting links and citations. The sample shows an AI answer about best running shoes for beginners with multiple reference sources.
result[].items[].items[].textAI-generated answer textresult[].items[].items[].typeType of element (ai_overview_element, link_element, etc.)result[].items[].items[].references[]Source citations for the answerresult[].items[].items[].references[].urlURL of the sourceresult[].items[].items[].references[].titleTitle of the sourceresult[].items[].items[].references[].sourceSource type (Reddit, Google, etc.)result[].items[].items[].links[]Product or content links in the answerresult[].keywordThe search query

Call it

HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.

POST /api/gw/dataforseo/serp/google/ai_mode/live/advanced$0.004 / call✓ working · tested 2026-10-068.56 s latency
Parameters
ParameterTypeNotes
keywordstr · bodyJSON body fielde.g. "best running shoes for beginners"
language_codestr · bodyJSON body fielde.g. "en"
location_codeint · bodyJSON body fielde.g. 2840
HTTP
curl -X POST "https://fetchapi.co/api/gw/dataforseo/serp/google/ai_mode/live/advanced" \
  -H "x-api-key: YOUR_KEY" -H "content-type: application/json" \
  -d '[{"keyword": "best running shoes for beginners", "language_code": "en", "location_code": 2840}]'
MCP
call_endpoint("dataforseo.serp_google_ai_mode", {}, [{"keyword": "best running shoes for beginners", "language_code": "en", "location_code": 2840}])
Real example answer (trimmed) · 2026-10-04
{
  "cost": 0.004,
  "time": "8.4558 sec.",
  "tasks": [
    {
      "id": "10040441-2697-0139-0000-b3ac500b98ec",
      "cost": 0.004,
      "data": {
        "os": "windows",
        "se": "google",
        "api": "serp",
        "device": "desktop",
        "keyword": "best running shoes for beginners",
        "se_type": "ai_mode",
        "function": "live",
        "language_code": "en",
        "location_code": 2840
      },
      "path": [
        "v3",
        "serp",
        "… 2 more"
      ],
      "time": "8.4040 sec.",
      "result": [
        {
          "type": "ai_mode",
          "items": [
            {
              "page": "…",
              "type": "…",
              "items": "…",
              "xpath": "…",
              "markdown": "…",
              "position": "…",
              "rectangle": "…",
              "rank_group": "…",
              "references": "…",
              "rank_absolute": "…"
            }
          ],
          "spell": null,
          "keyword": "best running shoes for beginners",
          "datetime": "2026-10-04 04:41:27 +00:00",
          "check_url": "https://www.google.com/search?q=best%20running%20shoes%20for%20beginners&hl=en&gl=US&udm=50&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "se_domain": "google.com",
          "item_types": [
            "ai_overview"
          ],
          "items_count": 1,
          "language_code": "en",
          "location_code": 2840,
          "refinement_chips": null,
          "se_results_count": 0
        }
      ],
      "status_code": 20000,
      "result_count": 1,
      "status_message": "Ok."
    }
  ],
  "version": "0.1.20260917",
  "status_code": 20000,
  "tasks_count": 1,
  "tasks_error": 0,
  "status_message": "Ok."
}

Related DataForSEO APIs

All 20 DataForSEO jobs →

One key for every API on this page.

Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.