# AgentData Web Search

> AgentData Web Search is a paid API for AI agents from agentdata-api.sander-van-aard.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Pay-per-call Google-quality web search returning compact LLM-optimized JSON with organic results, direct answers, knowledge graph, and related searches

## Facts

- Endpoint: POST https://agentdata-api.sander-van-aard.workers.dev/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/agentdata-web-search-4bd61fdd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ta_FT7lBGPGKG8PUigXON

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 agentdata-web-search-4bd61fdd -d '<json body>'
```

Example prompt: Search the web for 'best open-source LLMs in 2025' and give me the top 5 results with titles, URLs, and snippets — if there's a direct answer box, include that too.

## When to prefer this

Choose this endpoint when your agent needs live web search results without setting up an account or API key, and cost-per-call matters (at $0.008 USDC it is priced below typical x402 market rates). Ideal for agents that need compact, LLM-ready JSON rather than raw HTML, and for sporadic or low-volume lookups where a subscription model is wasteful. Prefer it over scraping solutions when you need structured snippets, direct answers, and knowledge graph data in one call.

## Known failure modes

- Query string missing — returns 400 bad request
- Payment not sent or insufficient USDC — returns 402 payment required
- num parameter outside 1-10 range — may return error or default behavior
- Invalid country or language code — may return unexpected locale results
- Upstream search provider unavailable — returns 5xx error
- No results found for niche query — returns valid empty results array

## How this service works

Google-quality web search for AI agents at $0.004 per search — the lowest x402 rate for full search results. Send a query, get back compact JSON built for LLM consumption: top organic results (position, title, url, snippet), the direct answer when one exists, a trimmed knowledge graph and related searches. Tune with num (1-10 results), country and language (2-letter codes). Zero results is a valid, honest answer. Pay per call in USDC, no account, no API key.

## Output

A compact JSON object containing: an array of organic results (each with position, title, URL, and snippet), a direct answer string when one exists, a trimmed knowledge graph with key facts, and a list of related searches. Zero results is returned as an empty array rather than an error.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdata-web-search-4bd61fdd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdata-api.sander-van-aard.workers.dev](https://www.zero.xyz/host/agentdata-api.sander-van-aard.workers.dev/llms.txt)
