# call402.com Web Search via Tavily (x402)

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

Performs a natural-language web search powered by Tavily and returns ranked results with titles, URLs, and content snippets, payable per-call with USDC via the x402 protocol.

## Facts

- Endpoint: POST https://call402.com/api/search-tavily?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/call402-com-web-search-via-tavily-x402-54681902
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0xEWdDa5QVDxEISo5ijGM

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 call402-com-web-search-via-tavily-x402-54681902 -d '<json body>'
```

Example prompt: Search the web for the latest news about the Base blockchain ecosystem and give me the top 7 results with their titles, URLs, and content summaries.

## When to prefer this

Choose this endpoint when your AI agent needs live web search results with real-time content and you want to pay per-call in USDC without a subscription — ideal for autonomous agents operating on-chain or in crypto-native environments using the x402 payment protocol. Prefer this over scraping endpoints when you want pre-ranked, relevance-scored results with content already extracted. Prefer over general search APIs when micropayment-based, usage-proportional billing is important.

## Known failure modes

- 402 Payment Required returned on first request — agent must pay USDC via x402 and retry with PAYMENT-SIGNATURE header
- Invalid or malformed query string results in a 400 error
- num_results outside range 1-10 may cause validation errors or be clamped
- Insufficient USDC balance or invalid payment signature causes payment failure
- Tavily upstream outage or rate limit may cause 503 or timeout responses
- Network latency spikes if Tavily's index is slow to respond

## How this service works

USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.

## Output

A JSON object containing the original query string, an array of ranked search results (each with title, URL, content snippet, and relevance score), and a metadata block showing source (always 'tavily'), search depth, response time, and result count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Natural-language search query"
  },
  "num_results": {
   "type": "integer",
   "description": "Results to return, 1-10 (default 5)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "query",
   "results",
   "meta"
  ],
  "properties": {
   "meta": {
    "type": "object",
    "description": "source, search_depth (always basic), response_time, results_count"
   },
   "query": {
    "type": "string"
   },
   "results": {
    "type": "array",
    "description": "Ranked results: title, url, content, score"
   }
  }
 },
 "example": {
  "meta": {
   "source": "tavily",
   "search_depth": "basic",
   "response_time": 0.42,
   "results_count": 1
  },
  "query": "latest Base ecosystem news",
  "results": [
   {
    "url": "https://example.com",
    "score": 0.87,
    "title": "Example result",
    "content": "Extracted content snippet from the page."
   }
  ]
 }
}
```

## More

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