# x402 Web Search

> x402 Web Search is a paid API for AI agents from search.cyberwarex.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Search the web for general, news, or image results via a SearXNG proxy, returning titles, URLs, snippets, source engines, and published dates

## Facts

- Endpoint: GET https://search.cyberwarex.com/search?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-search-d4a2a386
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f15Hl1rqQJuF27-dk7UXA

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 x402-web-search-d4a2a386
```

Example prompt: Search the web for the latest news about quantum computing breakthroughs and give me up to 10 results with titles, URLs, and summaries.

## When to prefer this

Choose this endpoint when you need real-time or recent web search results aggregated from multiple search engines, especially for news or image queries where freshness matters. Prefer it over static knowledge bases when you need live URLs and snippets. Its multi-engine aggregation via SearXNG provides broader coverage than a single search provider, and the per-call micropayment model makes it cost-effective for occasional lookups.

## Known failure modes

- Empty results if query matches nothing in the SearXNG index
- Missing published dates for results that don't carry date metadata
- Category enum mismatch causes a 400-level error
- max_results exceeds 10 causes validation failure
- SearXNG instance unavailable returns a 5xx error
- Payment not submitted or insufficient USDC balance causes 402 rejection

## How this service works

Web search that returns structured SERP results as JSON. Runs on a dedicated SearXNG instance aggregating multiple engines, so there is no per-engine API key, quota or HTML scraping to manage. Each result carries title, URL, snippet, the source engine and a published date where available. Choose general web, news, or image results, up to 10 per call. Use it to ground an answer in current web sources, research a topic, or monitor news on a query.

## Output

Returns up to 10 search results, each containing a title, URL, snippet/description, the source search engine that returned it, and a published date where available. Results vary by category: general web pages, news articles, or image links depending on the category parameter.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "minLength": 1,
       "description": "Search query text."
      },
      "lang": {
       "type": "string",
       "default": "en",
       "description": "Two-letter language code for results, e.g. en, de, fr."
      },
      "category": {
       "enum": [
        "general",
        "news",
        "images"
       ],
       "type": "string",
       "default": "general",
       "description": "Which result vertical to search."
      },
      "max_results": {
       "type": "integer",
       "default": 10,
       "maximum": 10,
       "minimum": 1,
       "description": "Maximum results to return, capped at 10."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer",
       "description": "Number of results returned."
      },
      "query": {
       "type": "string"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "engine": {
          "type": "string"
         },
         "snippet": {
          "type": "string"
         },
         "published": {
          "type": "string"
         }
        }
       },
       "description": "SERP results in rank order."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "query": "base l2 gas fees",
  "results": [
   {
    "url": "https://basescan.org/gastracker",
    "title": "Base Network Gas Tracker",
    "engine": "google",
    "snippet": "Track current gas prices on Base, an Ethereum L2 built by Coinbase."
   },
   {
    "url": "https://blog.base.org/fees",
    "title": "Why are Base fees so low?",
    "engine": "brave",
    "snippet": "Base inherits Ethereum security while batching calldata to cut cost.",
    "published": "2025-11-14T00:00:00"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-search-d4a2a386/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from search.cyberwarex.com](https://www.zero.xyz/host/search.cyberwarex.com/llms.txt)
