# Web Search for AI Agents

> Web Search for AI Agents is a paid API for AI agents from agent-search.centorprat.workers.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-30).

Performs a single web search query with Google-quality results re-ranked for authority, optionally merged with academic papers, GitHub repos, and news, returning ranked results with domain authority and type metadata.

## Facts

- Endpoint: POST https://agent-search.centorprat.workers.dev/search?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-search-for-ai-agents-6876420e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nGuxbbYlw-JaV3VNxSPoa

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 web-search-for-ai-agents-6876420e -d '<json body>'
```

Example prompt: Search the web for the latest research on large language model reasoning benchmarks — prioritize research papers, limit to 5 results, and only include sources from arxiv.org and semanticscholar.org published in the past month.

## When to prefer this

Choose this endpoint when you need a single, focused web search with fine-grained control over result type (news, research paper, GitHub, financial, company, PDF, docs), domain filtering, country/language/city targeting, and freshness. It is cheaper than Exa or Tavily at $0.006/call, returns domain authority signals useful for source evaluation, and automatically surfaces academic papers and GitHub repos when relevant. Prefer it over the batch endpoint for single queries, over the Web Research endpoint when you don't need full page contents, and over the monitor endpoint when you don't need change-tracking.

## Known failure modes

- Query returns zero results if includeDomains filter is too restrictive
- Invalid category value causes request failure
- Unsupported country or language code may return unexpected results or error
- Private mode may reduce result freshness or personalization
- numResults outside 1-10 range may cause validation error
- Rate limiting or payment failure (x402) if USDC balance is insufficient

## How this service works

Web search API for AI agents, an Exa / Tavily alternative that costs less than both: Google-quality results re-ranked for authority (primary sources first), merged with papers (arXiv, Semantic Scholar), GitHub and news when the query needs them. Category (news, research paper, github, financial, company, pdf, docs), include/exclude domains, country, language, city, freshness, private mode. Each result: domain authority rank and type. ~1.7 s.

## Output

A ranked list of up to 10 web results, each with a URL, title, snippet, domain authority rank, and result type (e.g. news, research paper, github, company). Results are re-ranked for authority with primary sources first, and may include academic papers from arXiv/Semantic Scholar, GitHub repos, and news articles depending on the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "time": {
   "type": "string",
   "description": "freshness: hour, day, week, month or year (optional)"
  },
  "query": {
   "type": "string",
   "description": "What to search for"
  },
  "country": {
   "type": "string",
   "description": "2-letter country the results are for: us, gb, de, es, fr, in, br, ... (default us)"
  },
  "private": {
   "type": "boolean",
   "description": "true = the query is not logged or cached (default false)"
  },
  "category": {
   "type": "string",
   "description": "news | research paper | github | financial | company | pdf | docs"
  },
  "language": {
   "type": "string",
   "description": "result language, e.g. en, es, de"
  },
  "location": {
   "type": "string",
   "description": "city or region, e.g. Austin, Texas"
  },
  "numResults": {
   "type": "integer",
   "description": "1-10 (default 10)"
  },
  "excludeDomains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "never these domains"
  },
  "includeDomains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "only these domains"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-search-for-ai-agents-6876420e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-search.centorprat.workers.dev](https://www.zero.xyz/host/agent-search.centorprat.workers.dev/llms.txt)
