$ man web-search
/web-search
PRICE / CALL
$0.006
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
web-search — web search api for advanced agent web investigation and rag source discovery
SYNOPSIS
POST https://x402.agentutility.ai/web-search
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Web search API for advanced agent web investigation and RAG source discovery. Returns ranked Google results with title, URL, snippet, domain, and an optional recency filter. Successful results are cached, and provider rate limits trigger a short circuit breaker plus a clearly marked recent public-news fallback. Use it as an advanced web investigation API, research retrieval layer, source discovery tool, or RAG ingestion feed. For fetched page text or cited answers, use answer-web or scrape-to-json.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| query | string | Search query or research question. 1-500 chars. | required |
| num_results | number | Number of results to return. Default 10, max 20. | optional |
| limit | number | Alias for num_results. If both are supplied, num_results wins. | optional |
| include_text | boolean | Whether to include fetched page text when the upstream supports it. | optional |
| recency | string | Optional freshness filter. Default 'any'. enum: day · week · month · year · any | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| query | string | — |
| results | string | — |
| source | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/web-search \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the web-search tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probewebsearchweb-search
- methods
- POST
- cluster
- webprobe
- price
- $0.006 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| google-search | Ranked Google organic results via Decodo Google Search. | $0.006 |
| mentions | Monitors public X mentions of a brand, handle, URL, ticker, or phrase by searching recent posts and returning matches with author and met… | $0.006 |
| public-post-search | Searches recent public posts on X/Twitter with public metrics and author expansion. | $0.006 |
| recent-tweet-search | Searches recent public tweets/posts on X and returns text, timestamps, public metrics, and expanded author context. | $0.006 |
| search | Returns ranked Decodo Google web results. | $0.006 |
| search-site | Site/domain-scoped search via Decodo Google results. | $0.006 |
| search-web | Answer engine retrieval API for finding live web sources before an agent writes its own response. | $0.006 |
| serp-search | Pull ranked Decodo Google results for any query. | $0.006 |
SEE ALSO