# the402.ai Web Search (Tavily) Purchase

> the402.ai Web Search (Tavily) Purchase is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.013/call, status unknown (last checked 2026-09-15).

Purchases a Tavily-powered web search query through the402.ai agent service marketplace, returning live web search results

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_1042b2e2b2ff494f/purchase
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-fbc8f962
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1GaW8Nrttoya98H598RKB

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 api-the402-ai-fbc8f962 -d '<json body>'
```

Example prompt: Search the web for the latest news about OpenAI's recent product announcements and give me a summary of what you find.

## When to prefer this

Choose this endpoint when an AI agent needs real-time web search results and is operating in an x402/USDC micropayment environment. Prefer over alternatives when the agent already handles x402 payment flows, needs Tavily-quality search results, or is integrated into the402.ai marketplace ecosystem. Ideal for agents that need up-to-date information beyond their training cutoff.

## Known failure modes

- Insufficient USDC balance or failed x402 payment — payment authorization error
- Invalid or missing search query — 400 bad request
- Tavily backend unavailable — upstream service error or timeout
- Rate limiting on the402.ai platform — 429 too many requests
- Malformed x402 payment header — payment rejected before search executes

## How this service works

Purchase: Web Search (Tavily) 

## Output

Returns live web search results from the Tavily search engine, including relevant URLs, page titles, content snippets, and relevance scores for the submitted query. Payment of $0.013 USDC is charged per call.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-the402-ai-fbc8f962/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
