# call402.com Brave Web Search

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

Performs a Brave-powered web search and returns ranked results, paid per-call with USDC via the x402 protocol on Base mainnet.

## Facts

- Endpoint: POST https://call402.com/api/search-brave?utm_source=zero.xyz
- Price: $0.01/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-brave-web-search-50a3e0f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pPaFlPFJ96mJtWiuzMoYT

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-brave-web-search-50a3e0f3 -d '<json body>'
```

Example prompt: Search the web for 'latest Base ecosystem news' and give me the top 5 results with titles, URLs, and descriptions.

## When to prefer this

Choose this endpoint when an AI agent needs live web search results with per-call micropayment billing via USDC on Base, without committing to a subscription. Ideal for autonomous agents that run infrequently or need to pay only for what they use, and when Brave Search's privacy-respecting index is preferred over Google or Bing-backed alternatives.

## Known failure modes

- Payment not sent — server returns HTTP 402 with payment requirements before serving results
- Invalid num_results value outside 1-10 range may cause validation error
- Empty or malformed query string returns no useful results
- Network or upstream Brave Search outage causes 5xx error
- Insufficient USDC balance causes payment failure and no response

## 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 results (each with title, URL, description snippet, and age), and a meta object indicating the source (Brave) and total results count returned.

## 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, results_count"
   },
   "query": {
    "type": "string"
   },
   "results": {
    "type": "array",
    "description": "Ranked results: title, url, description, age"
   }
  }
 },
 "example": {
  "meta": {
   "source": "brave",
   "results_count": 1
  },
  "query": "latest Base ecosystem news",
  "results": [
   {
    "age": "2 days ago",
    "url": "https://example.com",
    "title": "Example result",
    "description": "Snippet describing the page."
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/call402-com-brave-web-search-50a3e0f3/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)
