Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man search-content

/search-content

agentutility / compose / search-content
PRICE / CALL
$0.05
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
compose
CATEGORY
uncategorized
STATUS
live
NAME
search-content search-with-contents api: send a query and get back ranked web results with each page's cleaned text already attached, instead of a link…
SYNOPSIS
POST https://x402.agentutility.ai/search-content
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Search-with-contents API: send a query and get back ranked web results with each page's cleaned text already attached, instead of a link list you have to fetch yourself. Built for the workflow agents already pay Tavily and Exa for: search, then fetch and clean each result page, in one call. Composite: one call runs web-search, then scrapes and cleans the top results' page text in parallel, capped at 4000 characters per page. web-search is required; each page fetch is an independent optional leg, so a slow or blocked page returns content: null with a note on that one result instead of failing the whole call. Use it as a search API with page content, a Tavily/Exa-style search-and-extract tool, or a web research fetch for agents that need result text, not just links.

INPUTrequest schema
propertytypedescriptionreq?
querystringSearch query. Max 500 chars.required
num_resultsnumberNumber of results to fetch page content for (default 3, max 5).optional
recencystringOptional recency filter: 'day', 'week', 'month', 'year', or 'any'.optional
OUTPUTresponse shape
fieldtypedescription
querystring
resultsstring
composed_ofstring
componentsstring
degradedstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/search-content \
  -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-content tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
composesearchcontentsearch-content
methods
POST
cluster
compose
price
$0.05 USDC per call
ADJACENTother endpoints in compose
endpointdescriptionprice
claim-corroborateFact check a claim and see exactly who agrees and who disagrees.$0.05
commodity-briefMarket brief for a commodity: recency-scoped web search headlines on price/supply/demand plus a structured research brief with overview,…$0.05
company-dossierBuilds a company research dossier in one call: firmographic profile, domain intelligence, WHOIS registration, TLS, and tech stack.$0.05
content-trust-checkTrust screen for a block of text in one call: is it AI-generated, is it safe (content moderation), and is it a near-duplicate of a refere…$0.05
contract-terms-briefPull SLA terms, named entities, PII flags, and a plain-language summary out of a contract or policy document in one call.$0.05
course-study-kitTurn a course syllabus into a study kit in one call: a parsed outline, a sequenced reading/study plan, flashcards, and a bullet summary.$0.05
cross-border-ops-briefCross-border operating brief for a country: the FX rate, country profile, visa requirements, upcoming public holidays, and current local…$0.05
crypto-signal-scanStructured, informational signal brief for a token or crypto topic: X/Twitter sentiment, recent web coverage, and (when a fiat quote curr…$0.05
SEE ALSO
agentutility · compose · x402 · mcp · llms.txt · registry.json · bazaar.x402.org