# AgentIndex x402 Web Search

> AgentIndex x402 Web Search is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Pay-per-call web search endpoint that runs one or more queries and returns ranked results with optional page extracts and synthesized summaries.

## Facts

- Endpoint: POST https://x402.agentindex.world/search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentindex-x402-web-search-39794c1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IEbtD5JqdSaswmZf1zQQz

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 agentindex-x402-web-search-39794c1b -d '<json body>'
```

Example prompt: Search the web for 'best noise-cancelling headphones 2025' and give me up to 8 results with a short summary of what you find — include the cleaned page text for each result too.

## When to prefer this

Choose this endpoint when your agent needs live web search results not available in its training data, especially when you want to run up to 5 related queries in a single pay-per-call request and deduplicate by URL. The optional extract and summarize flags make it particularly useful when you need not just links but actual page content and a synthesized answer in one round-trip. Prefer it over generic search APIs when operating in an x402 pay-per-call agent infrastructure context.

## Known failure modes

- Payment failure or insufficient USDC balance returns a 402 error before the search executes
- Invalid query type (e.g. array with more than 5 items) returns a validation error
- No results found for obscure or very recent queries returns an empty results array
- Network timeouts when fetching page extracts for certain URLs may result in missing extract fields
- Rate limiting may occur under high request volume

## How this service works

Read and search the web for AI agents. Nothing else. A pay-per-call kit for AI agents in USDC on Base (x402/MPP): search, pdf, web-read, extract, summarize, fact-check, and the free detect-language entry point - see GET /capabilities. Plus two tools outside the kit: translate and jobs.

## Output

A JSON object containing the original query and an array of results, each with a URL, title, optional publication date, and (if requested) a cleaned page extract stripped of navigation and boilerplate. When summarize is enabled, a short synthesized answer string is also included. Results from multi-query calls are merged and deduplicated by URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "oneOf": [
    {
     "type": "string"
    },
    {
     "type": "array",
     "items": {
      "type": "string"
     },
     "maxItems": 5,
     "minItems": 1
    }
   ],
   "description": "Search query, or an array of up to 5 related queries to run in one call - results are merged and de-duplicated by URL."
  },
  "extract": {
   "type": "boolean",
   "description": "Include a cleaned page extract for each result, navigation and boilerplate removed."
  },
  "summarize": {
   "type": "boolean",
   "description": "Also return a short synthesized answer summarizing the results."
  },
  "max_results": {
   "type": "integer",
   "maximum": 10,
   "minimum": 1,
   "description": "Maximum number of results to return."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "best ramen restaurants in Shibuya Tokyo",
  "results": [
   {
    "url": "https://www.eater.com/maps/best-ramen-tokyo-japan",
    "date": null,
    "title": "The Best Ramen in Tokyo: 16 Restaurants to Not Miss | Eater",
    "extract": "A curated guide to Tokyo's standout ramen shops, including several in Shibuya..."
   }
  ]
 }
}
```

## More

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