# serp402 Google AI Mode

> serp402 Google AI Mode is a paid API for AI agents from serp402.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-31).

Fetches Google AI Mode (AI-powered conversational search) results for a query and returns structured JSON, with support for multi-turn conversations and image context

## Facts

- Endpoint: POST https://serp402.com/api/v1/google-ai-mode?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/serp402-google-ai-mode-b472f279
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_hTZbPuZj-5bw8NKruW8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability serp402-google-ai-mode-b472f279 -d '<json body>'
```

Example prompt: Search Google AI Mode for 'best practices for securing a Node.js API in 2024' using US results in English and give me the full AI-generated answer as structured JSON.

## When to prefer this

Choose this endpoint when you need Google's AI-generated conversational answer (AI Mode / AI Overview) returned as structured JSON without setting up API keys, accounts, or subscriptions. It is especially useful for agents that need to programmatically access AI-synthesized search results, run multi-turn AI search conversations, or incorporate image context into a search query. Prefer this over traditional SERP APIs when the AI-generated summary is the primary output needed rather than a ranked list of blue links.

## Known failure modes

- Invalid or malformed query returns an error response
- Unsupported country code (gl) or language code (hl) may produce unexpected locale results
- Image URL that is inaccessible or unsupported format may cause the image context to be ignored
- Invalid subsequent_request_token causes multi-turn conversation to fail or restart
- Payment failure (insufficient USDC balance) results in 402 response before the query is executed
- Rate limiting or upstream Google changes may result in empty or degraded AI Mode results

## How this service works

Google AI Mode: Google AI Mode results, returned as JSON. Structured JSON, USD 0.05 per call in USDC — no API key, no account, no subscription, no minimum. Not affiliated with, endorsed by or an official channel of any of the services the results come from. All trademarks and copyright remain the property of their respective owners.

## Output

Returns a structured JSON object containing the AI-generated conversational answer from Google AI Mode, including cited sources, follow-up suggestions, and optionally a continuation token for multi-turn conversations. The response mirrors what a user would see in Google's AI Overview panel.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string"
  },
  "gl": {
   "type": "string",
   "description": "country to use for the Google search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France). Head to the…"
  },
  "hl": {
   "type": "string",
   "description": "language to use for the Google search. It's a two or three-letter language code. (e.g., en for English, es for Spanish, or fr for French), optionally followed…"
  },
  "uule": {
   "type": "string",
   "description": "Parameter is the Google encoded location you want to use for the search. uule and location parameters can't be used together. For consistent results with…"
  },
  "device": {
   "type": "string",
   "description": "device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or…"
  },
  "location": {
   "type": "string",
   "description": "from where you want the search to originate. If several locations match the location requested, we'll pick the most popular one. Head to the /locations.json…"
  },
  "image_url": {
   "type": "string",
   "description": "URL of an image to include in the prompt. The image will be used as additional context for the AI to generate a response."
  },
  "continuable": {
   "type": "string",
   "description": "Set parameter to true to make the conversation continuable. It defaults to false ."
  },
  "subsequent_request_token": {
   "type": "string",
   "description": "token used to continue a Google AI Mode conversation. Pass this token to send a follow-up question that includes the prior exchange as context (multi-turn).…"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp402-google-ai-mode-b472f279/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp402.com](https://www.zero.xyz/host/serp402.com/llms.txt)
