# x402 Web Search (SearXNG SERP)

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

Returns structured JSON search results (title, URL, snippet, engine, date) from a multi-engine SearXNG instance for web or news queries.

## Facts

- Endpoint: GET https://search.cyberwarex.com/search-contents?utm_source=zero.xyz
- Price: $0.006/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-searxng-serp-ab3d7742
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_26TKYZ9U3V-sMsGEU9DZ_

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-searxng-serp-ab3d7742
```

Example prompt: Search the web for 'open-source LLM fine-tuning techniques' and give me up to 5 general results in markdown format — I need current sources with snippets and URLs.

## When to prefer this

Prefer this endpoint when you need structured, multi-engine web or news search results as JSON without managing individual search engine API keys or dealing with HTML scraping. It is especially useful for grounding AI answers in current sources, rapid research, or news monitoring at low per-call cost ($0.006 USDC). Choose the news category for time-sensitive queries and general for broad research. Use sibling endpoints on the same host if you need a single page fetched or a pre-ranked news brief instead of raw SERP results.

## Known failure modes

- Query parameter 'q' missing or empty — returns validation error
- Upstream search engines return no results for obscure or malformed queries — empty results array
- Requested page content fetch fails for a URL — result entry contains an 'error' field instead of 'content'
- max_results exceeds limit of 5 — request rejected with schema validation error
- Payment not included or insufficient — HTTP 402 response before search executes

## How this service works

Web search with the page text already extracted: one call returns the top results for a query AND the readable content of each result page (JavaScript rendered, markdown or text, truncated to max_chars). What an agent needs to answer a question with sources without a second round of fetches. Up to 5 pages per call, fetched in parallel.

## Output

A JSON object containing the query string, total result count, number of pages fetched, and an array of result objects — each with title, URL, snippet, source engine name, HTTP status of the fetched page, truncated flag, character count, and the full readable page content (where fetched).

## 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."
      },
      "format": {
       "enum": [
        "markdown",
        "text"
       ],
       "type": "string",
       "default": "markdown"
      },
      "category": {
       "enum": [
        "general",
        "news"
       ],
       "type": "string",
       "default": "general",
       "description": "Result vertical."
      },
      "max_chars": {
       "type": "integer",
       "default": 4000,
       "maximum": 20000,
       "minimum": 500,
       "description": "Per-page content truncation."
      },
      "max_results": {
       "type": "integer",
       "default": 3,
       "maximum": 5,
       "minimum": 1,
       "description": "How many result pages to fetch (max 5)."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer"
      },
      "query": {
       "type": "string"
      },
      "fetched": {
       "type": "integer",
       "description": "Pages whose content was retrieved."
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "chars": {
          "type": "integer"
         },
         "error": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "engine": {
          "type": "string"
         },
         "status": {
          "type": [
           "integer",
           "null"
          ]
         },
         "content": {
          "type": [
           "s
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "query": "x402 payment protocol",
  "fetched": 2,
  "results": [
   {
    "url": "https://x402.org",
    "chars": 3990,
    "title": "x402",
    "engine": "google",
    "status": 200,
    "content": "# x402\n\nx402 is an open payment standard...",
    "snippet": "An open standard...",
    "truncated": true
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-search-searxng-serp-ab3d7742/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)
