# x402 Web Search

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

Performs real-time web searches via Exa, returning ranked results with title, URL, published date, author, and relevance score

## Facts

- Endpoint: GET https://agentx402pay.com/api/web-search?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-search-b5e69902
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qOuVYqFQJ13uYZrKPN2Xh

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-b5e69902
```

Example prompt: Search the web for the latest developments in quantum computing and give me the top 5 results with titles, URLs, dates, and relevance scores.

## When to prefer this

Choose this endpoint when you need real-time, ranked web search results with rich metadata (publication date, author, relevance score) rather than just URLs. It is powered by Exa, which is particularly strong for research-oriented and semantic search. Prefer this over generic scraping endpoints when you need multiple ranked results at once with provenance metadata, and over static knowledge bases when the query requires up-to-date information from the live web.

## Known failure modes

- Missing required 'q' query parameter returns an error
- numResults outside 1-10 range may cause a validation error
- Payment of 0.015 USDC must succeed or the request is rejected
- Very niche or obscure queries may return fewer results than requested
- Real-time coverage may be incomplete for very recent events (minutes ago)

## How this service works

Real-time web search (via Exa) — ranked results with title, URL, published date, author, and relevance score for a query

## Output

An ordered list of up to 10 web search results, each containing the page title, URL, published date, author name, and a relevance score indicating how well it matches the query. Results are ranked by relevance using Exa's search ranking.

## 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": "Search query"
      },
      "numResults": {
       "type": "integer",
       "description": "Number of results to return (1-10, default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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