# Real-Time Web Search API (x402 Pay-Per-Query)

> Real-Time Web Search API (x402 Pay-Per-Query) is a paid API for AI agents from api-production-17e1.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15, last successful call 2026-07-21).

Returns ranked organic search results (title, link, snippet) from a multi-engine metasearch (Bing, Brave, DuckDuckGo, Wikipedia, Mojeek) for a given query, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://api-production-17e1.up.railway.app/search
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-07-21
- Success rate: 33% of calls made through Zero
- Rating: 1.9 / 5 from 3 reviews
- Activations on Zero: 6
- Tags: x402
- Canonical page: https://www.zero.xyz/c/real-time-web-search-api-x402-pay-per-query-92382dd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D0eyM4Ha9BVMPmZDlI3qg

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 real-time-web-search-api-x402-pay-per-query-92382dd1
```

Example prompt: Search the web for the latest news on quantum computing breakthroughs in 2025 and give me the top results with titles, links, and snippets.

## When to prefer this

Choose this endpoint when an AI agent needs live, real-world web search results without registering for an API key or managing rate limits. It is ideal for RAG pipelines, agent grounding, fact-checking, and retrieving fresh information not available in a model's training data. The pay-per-query x402 micropayment model makes it suitable for agents that need occasional or burst search access without subscription overhead. Prefer this over static knowledge retrieval when recency and multi-engine diversity matter.

## Known failure modes

- Query parameter missing — returns error indicating query is required
- Payment not included or insufficient USDC — returns 402 Payment Required
- All upstream search engines unavailable — returns degraded or empty results
- Query too long or malformed — may return empty or partial results
- Network timeout from upstream engines — slow or no response

## How this service works

Real-time web search API for AI agents. Returns ranked organic results (title, link, snippet) as JSON from a resilient multi-engine metasearch (Bing, Brave, DuckDuckGo, Wikipedia, Mojeek). Pay-per-query in USDC via x402 — no signup, no API key, no rate limits. Built for agent grounding, research, RAG, fact-checking, and fresh real-world information.

## Output

A JSON array of ranked organic search results, each containing a title, URL/link, and text snippet, aggregated from multiple search engines including Bing, Brave, DuckDuckGo, Wikipedia, and Mojeek.

## Example request

```json
{
 "q": "artificial intelligence",
 "limit": 5
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "The search query."
      },
      "time": {
       "enum": [
        "day",
        "week",
        "month",
        "year"
       ],
       "type": "string",
       "description": "Filter results by recency. day=last 24h, week=last 7 days, month=last 30 days, year=last 12 months."
      },
      "limit": {
       "type": "integer",
       "default": 5,
       "maximum": 20,
       "minimum": 1,
       "description": "Max results."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/real-time-web-search-api-x402-pay-per-query-92382dd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api-production-17e1.up.railway.app](https://www.zero.xyz/host/api-production-17e1.up.railway.app/llms.txt)
