---
title: "WEB SEARCH for keyless agents — POST {query} and get LLM-ready results"
method: POST
path: "/api/search"
tags: ["Web Search"]
---

# WEB SEARCH for keyless agents — POST {query} and get LLM-ready results

`POST /api/search`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/search`
- Auth: API key in header `X-PAYMENT`

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.

Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Request body

- object
  - `query` string, required: The search query, up to 400 characters
  - `max_results` number: How many results to return (1-10, default 5)
  - `topic` string: general (default) or news

## Response `200`

Success

- object
  - `query` string
  - `answer` string: direct answer synthesized from the live results
  - `results` unknown[]: ranked results: {title, url, content, score}
    - unknown

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
