# Spraay Web Search (Tavily-powered)

> Spraay Web Search (Tavily-powered) is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Performs a web search using Tavily and returns clean, LLM-ready results at basic or advanced depth

## Facts

- Endpoint: POST https://gateway.spraay.app/api/v1/search/web
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spraay-web-search-tavily-powered-f77419a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wKrrhGyE6lRe78hp8TqM2

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 spraay-web-search-tavily-powered-f77419a7 -d '<json body>'
```

Example prompt: Search the web for the latest developments in quantum computing using advanced depth, limit to 5 results, and only include results from nature.com and science.org.

## When to prefer this

Choose this endpoint when you need fresh, real-time web search results formatted cleanly for LLM consumption, especially when you want to control which domains to include or exclude, tune result depth, or integrate search into an agent pipeline that already uses x402 micropayments on Spraay's gateway.

## Known failure modes

- Empty or vague query returns no results
- Requested domains yield no matches when include_domains is too restrictive
- Invalid search_depth value causes a 400 error
- Rate limiting or payment failure returns a 402 error
- Tavily backend outage causes a 503 or timeout

## How this service works

Web search with clean, LLM-ready results via Tavily. Basic or advanced depth.

## Output

A list of clean, LLM-ready web search results from Tavily, including page titles, URLs, and summarized content snippets — formatted for direct consumption by language models. Basic or advanced depth depending on the search_depth parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  },
  "topic": {
   "type": "string"
  },
  "max_results": {
   "type": "number"
  },
  "search_depth": {
   "type": "string"
  },
  "exclude_domains": {
   "type": "array"
  },
  "include_domains": {
   "type": "array"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spraay-web-search-tavily-powered-f77419a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
