# OpenWeb Ninja Realtime Web Search — AI Mode

> OpenWeb Ninja Realtime Web Search — AI Mode 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-14).

Runs a natural-language prompt through an AI-powered real-time web search and returns a structured reply with text, lists, images, and reference links

## Facts

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

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-web-search-ai-mode-b9b859c9
```

Example prompt: Search the web right now for 'best practices for deploying LLMs in production 2025' and give me a structured AI-generated summary with sources — use English results from the US.

## When to prefer this

Choose this endpoint when you need a real-time, AI-synthesized answer to a natural language query with structured output (reply parts + reference links) and no account or API key — especially when you want Google AI-mode-style summarization at $0.003 per call payable via USDC over x402. Prefer it over raw SERP endpoints when you want a pre-synthesized answer rather than a list of raw search results, and over LLM-only endpoints when you need live, cited web data rather than training-data knowledge.

## Known failure modes

- Missing required 'prompt' query parameter returns a validation error
- Payment not provided or rejected over x402 results in HTTP 402 with payment instructions
- Invalid gl/hl locale codes may return unexpected or empty results
- Session token expiry may require starting a new session for follow-up queries
- Rate limits or upstream search provider outages may cause 5xx 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

A structured JSON object containing reply_parts (text blocks, ordered/unordered lists, and images), a list of reference_links (title, URL, source, snippet, date, favicon), request metadata including echo'd parameters, a status string, and an optional session_token for follow-up queries.

## 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": {
     "type": "object",
     "required": [
      "status",
      "request_id",
      "parameters",
      "data"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "reply_parts",
        "reference_links"
       ],
       "properties": {
        "reply_parts": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "type"
          ],
          "properties": {
           "list": {
            "type": "array",
            "items": {
             "type": "object",
             "properties": {
              "text": {
               "type": "string"
              },
              "title": {
               "type": "string",
               "nullable": true
              }
             }
            },
            "nullable": true
           },
           "text": {
            "type": "string",
            "nullable": true
           },
           "type": {
            "type": "string"
           },
           "images": {
            "type": "array",
            "items": {
             "type": "object",
             "required": [
              "url"
             ],
             "properties": {
              "url": {
               "type": "string"
              },
              "label": {
               "type": "string",
               "nullable": true
              },
              "width": {
               "type": "integer",
               "nullable": true
              },
              "height": {
               "t
… (truncated)
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweb-ninja-realtime-web-search-ai-mode-b9b859c9/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)
