# Web Search Results via Brave (x402)

> Web Search Results via Brave (x402) is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Performs a web search using Brave Search and returns up to 20 results with titles, URLs, snippets, and optional full page text for the top 5 results.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/v1/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-search-results-via-brave-x402-f1ad848d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Buoi3ZLf4IVbfdtJLQ8EG

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 web-search-results-via-brave-x402-f1ad848d
```

Example prompt: Search the web for 'open source LLM benchmarks 2024' and give me the top 10 results including titles and URLs.

## When to prefer this

Prefer this endpoint when you need live web search results without setting up an account or API key, and want pay-per-request pricing ($0.01 USDC). It is especially useful when you need page text from top results alongside standard search metadata. Choose this over scraping endpoints when you want ranked search results across many pages rather than a single URL, and over cached datasets when freshness matters.

## Known failure modes

- Invalid or missing query parameter returns an error and is not charged
- Query exceeding 400 characters may be rejected
- count outside 1-20 range may return an error or default to 10
- Temporary Brave Search outage may cause upstream failure
- No results found for highly specific or nonsensical queries

## How this service works

Web search API, neural-search request shape (query, numResults, contents.text), pay per request: top 1-20 results with title and URL, and the page text of the top 5 when contents.text is asked for. Brave Search results; no account or API key; failed calls are not charged.

## Output

Returns a JSON object containing the search query, matched terms, result count, and an array of result objects each with a URL, title, snippet, and optionally the page age. For the top 5 results (when contents.text is requested), full extracted page text is included. Provider field confirms results came from Brave Search.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "examples": [
        "x402 payment protocol"
       ],
       "description": "Search query, at most 400 characters"
      },
      "count": {
       "type": "integer",
       "examples": [
        10
       ],
       "description": "Number of results (1-20, default 10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "query": {
       "type": "string"
      },
      "terms": {
       "type": "string"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "age": {
          "type": "string"
         },
         "url": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "snippet": {
          "type": "string"
         }
        }
       }
      },
      "provider": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-search-results-via-brave-x402-f1ad848d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
