# DexL Agents Web Search

> DexL Agents Web Search is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Performs a web search query and returns ranked results, optionally biased by country, via a pay-per-call x402 API requiring no API keys.

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/web-search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-web-search-6adc5be9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TTCwqI53V1sRD5-CUQthI

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 dexl-agents-web-search-6adc5be9 -d '<json body>'
```

Example prompt: Search the web for the latest news on quantum computing breakthroughs and return the top 5 results, biased toward US sources.

## When to prefer this

Choose this endpoint when your agent needs live web search results without managing API keys or accounts, and you are operating in an x402 pay-per-call environment. Ideal for agents that need real-time web data on demand, country-biased results, and minimal setup overhead. Prefer over traditional search APIs when the machine-to-machine payment model (USDC per call) fits your agent's billing architecture.

## Known failure modes

- Invalid or empty query string returns an error
- Count parameter outside 1-20 range is rejected
- Invalid two-letter country code may be ignored or cause an error
- Payment failure via x402 protocol causes 402 response and no results
- Service may return cached results if the same query was recently made

## How this service works

Search the live web and get ranked results back: title, URL and snippet for each hit, up to 20 per call, optionally biased to a country. The natural first step before fetching or crawling - this tool finds the pages, the fetch and crawl tools read them. Results come from an independent web index and the response names which one answered.

## Output

A JSON object containing the number of units consumed, whether the result was cached, and an output object with ranked web search results including URLs, titles, and snippets for the matched pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "number",
   "default": 10,
   "maximum": 20,
   "minimum": 1,
   "description": "How many results to return (1-20)."
  },
  "query": {
   "type": "string",
   "description": "What to search for."
  },
  "country": {
   "type": "string",
   "description": "Two-letter country code to bias results, e.g. \"us\", \"tr\". Optional."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-web-search-6adc5be9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
