# OneShotAgent Web Search

> OneShotAgent Web Search is a paid API for AI agents from win.oneshotagent.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Performs a web search and returns ranked results with URLs, titles, and descriptions

## Facts

- Endpoint: POST https://win.oneshotagent.com/v1/tools/search
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oneshotagent-web-search-eac0f6d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_22zB-RcJzabF8uBycTYRg

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 oneshotagent-web-search-eac0f6d7 -d '<json body>'
```

Example prompt: Search the web for 'best open-source LLM frameworks 2024' and give me the top 8 results with their URLs and descriptions.

## When to prefer this

Use this endpoint when an AI agent needs to search the open web for URLs, titles, and page descriptions — especially in agentic pipelines where real-time web information is needed without a browser. Prefer over browser-based tools when speed and structured result output (URL + title + description) is the priority rather than full page content.

## Known failure modes

- Empty or blank query returns an error
- max_results outside 1-20 range may be clamped or rejected
- No results found for highly obscure queries
- Network or upstream search provider outage returns 5xx
- Payment not included or insufficient funds returns 402

## How this service works

Web search returning URLs, titles, and descriptions

## Output

Returns a list of up to 20 web search results, each containing a URL, page title, and description/snippet for the matching web page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query"
  },
  "max_results": {
   "type": "number",
   "description": "Max results (1-20, default 5)"
  }
 }
}
```

## More

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