# Google AI Mode answer

Google's AI Mode response with its text, tables, products and cited references: measure who gets cited for a query. Needs keyword. Served by DataForSEO.

Google AI Mode answer (live), by DataForSEO. Google's AI Mode response with its text, tables, products and cited references: measure who gets cited for a query. Price: $0.004 per request; x2 with pixel rectangles. Billed at the cost DataForSEO reports for the call; the quote is the upper bound.

- Tool ID: `dataforseo/google-ai-mode`
- Name in the catalog: Google AI Mode answer (live)
- Provider: [DataForSEO](/providers/dataforseo.md)
- Capability: [Google AI Mode & AI Overviews](/tools/ai-visibility/ai-mode.md)
- Price: usage based, the maximum is shown before a run
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

Billed at the cost the provider reports for the call, never above $0.5. Your agent sees the maximum before running.


```json
{
  "model": "reported",
  "costPath": "cost",
  "maxUsdDefault": 0.004,
  "maxUsdCap": 0.5,
  "multipliers": [
    {
      "when": {
        "field": "calculate_rectangles",
        "truthy": true
      },
      "factor": 2
    },
    {
      "when": {
        "field": "keyword",
        "regex": "\\b([aA][lL][lL][iI][nN][aA][nN][cC][hH][oO][rR]|[aA][lL][lL][iI][nN][tT][eE][xX][tT]|[aA][lL][lL][iI][nN][tT][iI][tT][lL][eE]|[aA][lL][lL][iI][nN][uU][rR][lL]|[cC][aA][cC][hH][eE]|[dD][eE][fF][iI][nN][eE]|[dD][eE][fF][iI][nN][iI][tT][iI][oO][nN]|[fF][iI][lL][eE][tT][yY][pP][eE]|[iI][dD]|[iI][nN][aA][nN][cC][hH][oO][rR]|[iI][nN][fF][oO]|[iI][nN][tT][eE][xX][tT]|[iI][nN][tT][iI][tT][lL][eE]|[iI][nN][uU][rR][lL]|[lL][iI][nN][kK]|[rR][eE][lL][aA][tT][eE][dD]|[sS][iI][tT][eE]):"
      },
      "totalFactor": 5
    }
  ],
  "requireCost": true
}
```

Pricing source: [https://dataforseo.com/pricing/google-serp/google-ai-mode-serp-api](https://dataforseo.com/pricing/google-serp/google-ai-mode-serp-api). $0.004 per request; x2 with pixel rectangles..

Price verification date: 2026-10-10.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "minLength": 1,
      "maxLength": 700,
      "description": "Search query. Operators such as site: or intitle: multiply the price by 5."
    },
    "location_code": {
      "type": "integer",
      "description": "Location code from DataForSEO (location_code (2840 United States, 2250 France, 2826 United Kingdom, 2276 Germany, 2724 Spain, 2380 Italy, 2124 Canada) or location_name such as \"Paris,Ile-de-France,France\"). One of location_code or location_name is required."
    },
    "location_name": {
      "type": "string",
      "maxLength": 200,
      "description": "Full location name, e.g. \"London,England,United Kingdom\" or \"France\"."
    },
    "language_code": {
      "type": "string",
      "maxLength": 10,
      "description": "Language code, e.g. en, fr, de. One of language_code or language_name is required."
    },
    "language_name": {
      "type": "string",
      "maxLength": 60,
      "description": "Language name, e.g. English."
    },
    "device": {
      "type": "string",
      "enum": [
        "desktop",
        "mobile"
      ],
      "default": "desktop"
    },
    "os": {
      "type": "string",
      "enum": [
        "windows",
        "macos",
        "android",
        "ios"
      ],
      "description": "windows or macos for desktop, android or ios for mobile."
    },
    "calculate_rectangles": {
      "type": "boolean",
      "default": false,
      "description": "Pixel positions (x2)."
    }
  },
  "required": [
    "keyword"
  ],
  "additionalProperties": false,
  "allOf": [
    {
      "anyOf": [
        {
          "required": [
            "location_code"
          ]
        },
        {
          "required": [
            "location_name"
          ]
        }
      ]
    },
    {
      "anyOf": [
        {
          "required": [
            "language_code"
          ]
        },
        {
          "required": [
            "language_name"
          ]
        }
      ]
    },
    {
      "not": {
        "properties": {
          "keyword": {
            "pattern": "\\b([aA][lL][lL][iI][nN][aA][nN][cC][hH][oO][rR]|[aA][lL][lL][iI][nN][tT][eE][xX][tT]|[aA][lL][lL][iI][nN][tT][iI][tT][lL][eE]|[aA][lL][lL][iI][nN][uU][rR][lL]|[cC][aA][cC][hH][eE]|[dD][eE][fF][iI][nN][eE]|[dD][eE][fF][iI][nN][iI][tT][iI][oO][nN]|[fF][iI][lL][eE][tT][yY][pP][eE]|[iI][dD]|[iI][nN][aA][nN][cC][hH][oO][rR]|[iI][nN][fF][oO]|[iI][nN][tT][eE][xX][tT]|[iI][nN][tT][iI][tT][lL][eE]|[iI][nN][uU][rR][lL]|[lL][iI][nN][kK]|[rR][eE][lL][aA][tT][eE][dD]|[sS][iI][tT][eE]):[\\s\\S]*\\b([aA][lL][lL][iI][nN][aA][nN][cC][hH][oO][rR]|[aA][lL][lL][iI][nN][tT][eE][xX][tT]|[aA][lL][lL][iI][nN][tT][iI][tT][lL][eE]|[aA][lL][lL][iI][nN][uU][rR][lL]|[cC][aA][cC][hH][eE]|[dD][eE][fF][iI][nN][eE]|[dD][eE][fF][iI][nN][iI][tT][iI][oO][nN]|[fF][iI][lL][eE][tT][yY][pP][eE]|[iI][dD]|[iI][nN][aA][nN][cC][hH][oO][rR]|[iI][nN][fF][oO]|[iI][nN][tT][eE][xX][tT]|[iI][nN][tT][iI][tT][lL][eE]|[iI][nN][uU][rR][lL]|[lL][iI][nN][kK]|[rR][eE][lL][aA][tT][eE][dD]|[sS][iI][tT][eE]):"
          }
        },
        "required": [
          "keyword"
        ]
      }
    },
    {
      "not": {
        "properties": {
          "keyword": {
            "pattern": "%[0-9a-fA-F]{2}"
          }
        },
        "required": [
          "keyword"
        ]
      }
    }
  ]
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "dataforseo/google-ai-mode",
  "input": {
    "keyword": "what is the model context protocol",
    "location_code": 2840,
    "language_code": "en"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://docs.dataforseo.com/v3/serp/google/ai_mode/live/advanced/)

[REST inspection](https://api.agentik.cc/v1/tools/dataforseo/google-ai-mode) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/dataforseo/google-ai-mode) · [Agent index](/llms.txt)
