dataforseo_x_serp-google-ai-mode-live-advanced $0.005 per call

Google AI Mode results for a keyword, live. Google AI Mode SERP API provides search results from the AI Mode feature of Google Search. (DataForSEO · Google Keyword Data)

For AI agents: call dataforseo_x_serp-google-ai-mode-live-advanced
POST https://toll402.dev/v1/p/dataforseo.x.serp-google-ai-mode-live-advanced
{
 "language_code": "en",
 "location_code": 2840,
 "keyword": "what is google ai mode"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "keyword": {
   "type": "string",
   "description": "keyword required field you can specify up to 700 characters in the keyword field all %## will be decoded (plus character ‘+’ will be decoded to a space character) if you need to use the “%” character for your keyword , pl",
   "examples": [
    "what is google ai mode"
   ]
  },
  "location_code": {
   "type": "integer",
   "description": "search engine location code required field if you don't specify location_name  or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you",
   "examples": [
    2840
   ]
  },
  "language_code": {
   "type": "string",
   "description": "search engine language code required field if you don't specify language_name ; if you use this field, you don't need to specify language_name ; you can receive the list of available languages of the search engine with their language_code &",
   "examples": [
    "en"
   ]
  },
  "device": {
   "type": "string",
   "description": "device type optional field return results for a specific device type can take the values: desktop , mobile default value: desktop"
  },
  "location_name": {
   "type": "string",
   "description": "full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate y"
  },
  "language_name": {
   "type": "string",
   "description": "full name of search engine language required field if you don't specify language_code ; if you use this field, you don't need to specify language_code ; you can receive the list of available languages of the search engine with their languag"
  },
  "os": {
   "type": "string",
   "description": "device operating system optional field if you specify desktop in the device field, choose from the following values: windows , macos default value: windows if you specify mobile in the device</code"
  },
  "tag": {
   "type": "string",
   "description": "user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response"
  },
  "calculate_rectangles": {
   "type": "boolean",
   "description": "calculate pixel rankings for SERP elements in advanced results optional field pixel ranking refers to the distance between the result snippet and top left corner of the screen; Visit Help Center to learn more&gt"
  },
  "browser_screen_width": {
   "type": "integer",
   "description": "browser screen width optional field you can set a custom browser screen width to calculate pixel rankings for a particular device; can be specified within the following range: 240-9999 ; by default, the parameter is set to: 1920 for desktop"
  },
  "browser_screen_height": {
   "type": "integer",
   "description": "browser screen height optional field you can set a custom browser screen height to calculate pixel rankings for a particular device; can be specified within the following range: 240-9999 ; by default, the parameter is set to: 1080 for deskt"
  },
  "browser_screen_resolution_ratio": {
   "type": "integer",
   "description": "browser screen resolution ratio optional field you can set a custom browser screen resolution ratio to calculate pixel rankings for a particular device; can be specified within the following range: 0.5-3 ; by default, the parameter is set t"
  },
  "location_coordinate": {
   "type": "string",
   "description": "GPS coordinates of a location required field if you don't specify location_name &nbsp;or location_code if you use this field, you don't need to specify location_name or location_code location"
  }
 },
 "additionalProperties": true,
 "description": "POST body is a JSON array that must contain exactly one task object (Live endpoints do not support multi-task arrays). Extra elements return per-task status 40000 \"You can set only one task at a time\" ($0 on the rejected tasks) while HTTP stays 200 — one keyword per call."
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI