# WEBBERsites Web Search API

> WEBBERsites Web Search API is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Performs a live web search and returns LLM-ready results including title, URL, content snippet, relevance score, and a synthesized direct answer — no API key required, payment via x402.

## Facts

- Endpoint: POST https://api.webbersites.com/api/search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webbersites-web-search-api-bfd6c2e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8ms6fcHUfAKAIxaY_Yx1I

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 webbersites-web-search-api-bfd6c2e4 -d '<json body>'
```

Example prompt: Search the web for 'best practices for AI agent security in 2025' and give me up to 8 results including a direct synthesized answer — topic general.

## When to prefer this

Use this endpoint when an AI agent needs live, up-to-date web search results without managing API keys or accounts — especially useful in keyless or payment-gated agent pipelines using x402. Prefer it over static knowledge lookups when freshness matters or when a synthesized direct answer from multiple live sources is needed.

## Known failure modes

- Query exceeds 400 characters — request rejected
- max_results outside 1-10 range — validation error
- x402 payment not provided or insufficient — 402 payment required
- No results found for query — empty results array returned
- External search provider unavailable — 500 or timeout error
- Invalid topic value (not 'general' or 'news') — may default or error

## How this service works

WEB SEARCH for keyless agents — POST {query} and get LLM-ready results: title, url, extracted content snippet, relevance score, plus a direct answer synthesized from live results. Options: max_results (1-10, default 5), topic (general|news). No API key, no account — the x402 payment IS the auth. Query up to 400 chars.

## Output

Returns a list of up to 10 search results each with a title, URL, extracted content snippet, and relevance score, plus a single synthesized direct answer compiled from the live results.

## 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": {
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "The search query, up to 400 characters"
      },
      "topic": {
       "type": "string",
       "description": "general (default) or news"
      },
      "max_results": {
       "type": "number",
       "description": "How many results to return (1-10, default 5)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "query": {
       "type": "string"
      },
      "answer": {
       "type": "string",
       "description": "direct answer synthesized from the live results"
      },
      "results": {
       "type": "array",
       "description": "ranked results: {title, url, content, score}"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "x402 payment protocol adoption 2026",
  "answer": "The x402 protocol has seen growing adoption...",
  "results": [
   {
    "url": "https://x402.org",
    "score": 0.97,
    "title": "x402.org",
    "content": "An open protocol for internet-native payments..."
   }
  ]
 }
}
```

## More

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