litescrape_google_serp_ai_mode $0.001 per call
Get Google AI Mode answer. Returns the answer Google AI Mode generates for a question, as ordered text blocks, with the sources it cited (Litescrape · Google Keyword Data)
For AI agents: call litescrape_google_serp_ai_mode
POST https://toll402.dev/v1/p/litescrape.google.serp.ai_mode
{
"q": "what is the best espresso machine for a small kitchen",
"location": "Austin, Texas",
"google_domain": "google.com",
"gl": "us",
"hl": "en"
}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": {
"q": {
"type": "string",
"description": "Question to ask, up to 2,048 characters. Required on every turn, including follow-ups.",
"examples": [
"what is the best espresso machine for a small kitchen"
]
},
"continuable": {
"type": "boolean",
"description": "Return a subsequent_request_token so this answer can be followed up, when Google offers a continuation.",
"default": false
},
"subsequent_request_token": {
"type": "string",
"description": "Token from a previous continuable response. Send it with a new q to continue that conversation; reuse the same gl, hl and location. Expires after 30 minutes. Cannot be combined with image_url."
},
"image_url": {
"type": "string",
"description": "Public http or https URL of an image to include in the question, up to 2,048 characters. The image may be at most 20 MB. Cannot be combined with subsequent_request_token."
},
"location": {
"type": "string",
"description": "Human-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.",
"examples": [
"Austin, Texas"
]
},
"uule": {
"type": "string",
"description": "Pre-encoded Google location token. Mutually exclusive with location."
},
"google_domain": {
"type": "string",
"description": "Google domain used for the request.",
"default": "google.com",
"examples": [
"google.com"
]
},
"gl": {
"type": "string",
"description": "Two-letter country code used to localize results.",
"examples": [
"us"
]
},
"hl": {
"type": "string",
"description": "Language code such as en, en-GB, or de.",
"default": "en",
"examples": [
"en"
]
},
"device": {
"type": "string",
"description": "Google device layout. Each device is served Google's real layout for it.",
"default": "desktop",
"enum": [
"desktop",
"tablet",
"mobile"
]
},
"timeout": {
"type": "number",
"description": "Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and "
}
},
"additionalProperties": true,
"required": [
"q"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}