$ man search-web
/search-web
PRICE / CALL
$0.006
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
uncategorized
STATUS
● live
NAME
search-web — answer engine retrieval api for finding live web sources before an agent writes its own response
synonym alias of web-search — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/search-web
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Answer engine retrieval API for finding live web sources before an agent writes its own response. Send a query and get ranked Google results with titles, URLs, snippets, domains, and an optional recency filter; this route returns search results, not an LLM-written answer. If primary search is quota-limited, it returns marked degraded recent public-news results from GDELT (https://www.gdeltproject.org/) capped at 168 hours. Use it as an answer engine source API, RAG source-discovery feed, web search results API, or research-query retrieval layer; use answer-web for synthesized citations.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| query | string | Search query. 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 available. | 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/search-web \
-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 search-web tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- web-probesearchwebsearch-web
- 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 |
| serp-search | Pull ranked Decodo Google results for any query. | $0.006 |
| site-search | Searches the public web, or a specific site/domain when the query includes a site: filter, via Decodo Google Search. | $0.006 |
SEE ALSO