# x402 Web Search (SearXNG Batch)

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

Runs up to 5 search queries in a single call against a multi-engine SearXNG instance and returns structured SERP results as JSON, including title, URL, snippet, source engine, and published date.

## Facts

- Endpoint: GET https://search.cyberwarex.com/search-batch?utm_source=zero.xyz
- Price: $0.01/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-batch-0a113eee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i7YawoC97OTOIejZ153AU

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-batch-0a113eee
```

Example prompt: Search the web for 'base l2 fees' and 'solana tps' at the same time using news category, up to 5 results each, and give me structured summaries of what you find.

## When to prefer this

Choose this endpoint when you need structured, multi-source SERP results for one or more queries in a single API call without managing individual search engine API keys or parsing HTML. It is especially useful for batching up to 5 related queries simultaneously, for grounding agent responses in current web or news sources, and when you want per-result metadata (engine, date, snippet) rather than raw HTML. Prefer it over single-query search APIs when you have multiple parallel research questions, and over scraping solutions when you need clean structured JSON output.

## Known failure modes

- Query parameter 'queries' missing — returns 400 or error JSON
- More than 5 pipe-separated queries provided — schema may reject or truncate
- max_results exceeds 10 — schema validation error
- Search engines return no results for an obscure or malformed query — answered count is 0
- Payment not processed (x402 micropayment failure) — request is rejected before execution
- Rate limiting on underlying search engines may reduce result counts silently

## 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

A JSON object containing the total query count, the number of queries that returned at least one result ('answered'), and an array of per-query result sets. Each result set includes the original query string, result count, and a list of results with title, URL, snippet, source engine name, and published date where available.

## 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": [
      "queries"
     ],
     "properties": {
      "lang": {
       "type": "string",
       "default": "en"
      },
      "queries": {
       "type": "string",
       "description": "Up to 5 queries separated by a pipe (|), e.g. 'a|b|c'."
      },
      "category": {
       "enum": [
        "general",
        "news"
       ],
       "type": "string",
       "default": "general"
      },
      "max_results": {
       "type": "integer",
       "default": 5,
       "maximum": 10,
       "minimum": 1,
       "description": "Max results PER query."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "count": {
          "type": "integer"
         },
         "query": {
          "type": "string"
         },
         "results": {
          "type": "array"
         }
        }
       }
      },
      "answered": {
       "type": "integer",
       "description": "Queries that returned >=1 result."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "results": [
   {
    "count": 2,
    "query": "base l2 fees",
    "results": [
     {
      "url": "https://basescan.org/gastracker",
      "title": "Base gas tracker",
      "engine": "google",
      "snippet": "..."
     }
    ]
   },
   {
    "count": 1,
    "query": "solana tps",
    "results": [
     {
      "url": "https://solscan.io",
      "title": "Solana TPS",
      "engine": "brave",
      "snippet": "..."
     }
    ]
   }
  ],
  "answered": 2
 }
}
```

## More

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