# Agent Toolkit Web Search API

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

Performs web searches (SERP) for AI agents, returning ranked results with title, URL, domain, snippet, and position for any query, with optional region and time filters.

## Facts

- Endpoint: GET https://agent-data.centorprat.workers.dev/web/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/agent-toolkit-web-search-api-8c825f03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7A4dfYg1vjb0b0142jMy5

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 agent-toolkit-web-search-api-8c825f03
```

Example prompt: Search the web for the latest news on quantum computing breakthroughs from the past week, limited to US results, and give me the top 10 ranked pages with their titles, URLs, and snippets.

## When to prefer this

Choose this endpoint when your agent needs live web search results without managing API keys, especially when region-specific or time-filtered SERP data is required. It is ideal for agents that need to retrieve ranked web results programmatically at low cost ($0.003/call) without a Google or Bing API subscription. Prefer it over general scraping endpoints when structured SERP metadata (title, URL, snippet, rank) is the primary need.

## Known failure modes

- Missing required query parameter 'q' returns a validation error
- Invalid region code returns no results or defaults to 'any'
- Invalid time filter value is ignored or causes an error
- Limit value outside 1-10 range may be clamped or rejected
- No results found for highly niche or misspelled queries

## How this service works

Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.

## Output

Returns up to 10 ranked search results, each containing the page title, full URL, domain name, text snippet, and numeric position. Results are filtered by the specified region and time window if provided.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search query"
      },
      "time": {
       "type": "string",
       "description": "day, week, month or year (optional)"
      },
      "limit": {
       "type": "string",
       "description": "1-10"
      },
      "region": {
       "type": "string",
       "description": "us, uk, de, fr, es, it, ca, au, in, any"
      },
      "category": {
       "type": "string",
       "description": "optional: news | research paper | github | financial | company | pdf | docs"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "x402 payment protocol",
  "results": [
   {
    "url": "https://x402.org/",
    "title": "x402",
    "domain": "x402.org",
    "snippet": "x402 is the internet's payment standard...",
    "position": 1
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-toolkit-web-search-api-8c825f03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data.centorprat.workers.dev](https://www.zero.xyz/host/agent-data.centorprat.workers.dev/llms.txt)
