Skip to content
AgentSearch

Search and Read in One Paid Call

A new endpoint is live on the direct x402 API: Search + Read. One request searches the live web and returns the top pages as clean markdown. It costs $0.015 — versus $0.029 if you pay for one search and three extracts separately — and it is one payment instead of four.

Agents usually search, then read the top hits. That used to be four x402 calls. Now it is one.

  • Endpoint: POST https://api.agentsearchhq.com/x402/v1/search_and_read
  • Price: $0.015 (15,000 atomic USDC on Base), paid to AgentSearch. No account or API key.
  • Body: query (required), num_results (default 3, max 5), max_chars (default 8000, max 20000), render_fallback (default false; at most one page).
  • Charged only when at least one page has text. Empty search, failed extracts, 400 and 502 are not settled.
  • Direct API only. It is not on Pocket Network and has no free tier. Search, Extract and Render are unchanged, including their free options and the $0.005 Pocket route.

Full product page: agentsearchhq.com/search-and-read. Short link: agentsearchhq.com/sar. API docs: /docs/x402#search-and-read. OpenAPI: search-and-read-openapi.json and the live /openapi.json.

See the price without paying:

curl -si https://api.agentsearchhq.com/x402/v1/search_and_read \
  -H 'content-type: application/json' \
  -d '{"query":"x402 payment protocol","num_results":3}'
# HTTP 402, amount 15000 = $0.015, nothing charged

The two-step path is still a good fit when you search for free and only extract one or two URLs: LangChain: search, then read the page.

Pricing for every route is on /pricing. The original direct x402 launch post is AgentSearch Now Speaks Native x402 on Base.