# OpenWeb Ninja — Realtime SERP AI Mode Search

> OpenWeb Ninja — Realtime SERP AI Mode Search is a paid API for AI agents from x402.openwebninja.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Fetches AI-mode (AI-generated answer) results from Google Search for a given natural language prompt, payable per call via x402 (USDC, no API key required).

## Facts

- Endpoint: GET https://x402.openwebninja.com/realtime-serp-data/ai-mode/ai-mode
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openweb-ninja-realtime-serp-ai-mode-search-455392fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gJLCnY78vDDldlaQIzTOY

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 openweb-ninja-realtime-serp-ai-mode-search-455392fc
```

Example prompt: Search Google's AI mode for 'best practices for reducing LLM hallucinations in production' and return the AI-generated answer, using English results from the US.

## When to prefer this

Choose this endpoint when you need Google's AI-generated answer overlay (AI Mode / AI Overviews) rather than traditional blue-link SERP results. Ideal for agents that want synthesized, AI-summarized answers to natural language questions using real-time web data, without needing a Google account, API key, or browser. Prefer this over standard SERP endpoints when the goal is a consolidated AI answer rather than a ranked list of URLs.

## Known failure modes

- Missing required 'prompt' query parameter returns a 400 or schema validation error
- Payment failure via x402 (insufficient USDC balance, wrong chain) results in a 402 response with no data
- Google AI Mode may return empty or no AI answer for certain queries (low-confidence or restricted topics)
- Rate limiting or downstream Google blocking may return error or empty result
- Invalid 'gl' or 'hl' locale codes may cause unexpected results or errors

## How this service works

40+ public web-data, SERP, e-commerce, real-estate, finance and AI-search APIs, payable per call over x402 (USDC on Base, Polygon, Arbitrum). No account or API key required. Most endpoints $0.003; AI-model endpoints $0.005.

## Output

Returns a JSON object containing the AI-generated answer and supporting content from Google's AI Mode SERP for the given prompt, including synthesized response text and potentially source citations or structured answer elements.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "gl": {
       "type": "string",
       "default": "us"
      },
      "hl": {
       "type": "string",
       "default": "en"
      },
      "prompt": {
       "type": "string"
      },
      "session_token": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "$ref": "#/components/schemas/realtime_serp_data__AiModeResponse",
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweb-ninja-realtime-serp-ai-mode-search-455392fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.openwebninja.com](https://www.zero.xyz/host/x402.openwebninja.com/llms.txt)
