# x402 Multi-Tool API — Web Search (SERP)

> x402 Multi-Tool API — Web Search (SERP) is a paid API for AI agents from x402deploy.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Performs a web search (SERP) and returns ranked results including URLs, titles, and snippets, paid per-request via x402 USDC micropayment.

## Facts

- Endpoint: POST https://x402deploy.vercel.app/api/serp
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-multi-tool-api-web-search-serp-926d4fb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lSRFa1YEY9EazUJC9K39d

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-multi-tool-api-web-search-serp-926d4fb9 -d '<json body>'
```

Example prompt: Search the web for 'best open-source vector databases 2024' and give me the top 5 results including their URLs and snippets, searching from the US.

## When to prefer this

Choose this endpoint when an AI agent needs live web search results without setting up API keys or OAuth — ideal for pay-per-use agentic workflows where cost-per-call must be minimal ($0.005 USDC). Prefer over traditional search APIs when the agent infrastructure already supports x402 micropayments and needs no-auth, instant access to ranked web results with snippets.

## Known failure modes

- Missing required 'query' field returns a 400 validation error
- Payment not received or insufficient USDC causes a 402 Payment Required response
- Invalid ISO country code may produce no results or default to a fallback country
- Query with no indexed results returns an empty results array
- Rate limiting or upstream SERP provider downtime returns a 503 or 500 error

## How this service works

Pay-per-request data toolkit for AI agents — 13 no-auth tools, $0.005 USDC each via x402. Web search, read URL, crypto price/markets/trending, Wikipedia, news headlines, weather, FX rates, IP geolocation, DNS lookup, stock quotes, and domain WHOIS.

## Output

Returns a JSON object containing the original query, total result count, country used, and an array of ranked results — each with a URL, page title, text snippet, and position number.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query string"
  },
  "country": {
   "type": "string",
   "description": "ISO country code"
  },
  "num_results": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "query": "best vector database",
 "total": 1,
 "country": "us",
 "results": [
  {
   "url": "https://example.com",
   "title": "Example result",
   "snippet": "An example snippet",
   "position": 1
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-multi-tool-api-web-search-serp-926d4fb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402deploy.vercel.app](https://www.zero.xyz/host/x402deploy.vercel.app/llms.txt)
