AgentSearch
api.agentsearchhq.com/x402/v1/search_and_read
AgentSearch: Web search + read top pages in one call: searches the web for a query and returns the top 1-5 results (title, URL, snippet, score) each with the page text as clean, LLM-ready markdown, with an optional headless-browser retry for one empty page and the same date, country, language and domain filters as search. Answer with sources and RAG context without a separate search plus several e
POST
https://api.agentsearchhq.com/x402/v1/search_and_readUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.agentsearchhq.com/x402/v1/search_and_read", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"num_results":3,"query":"latest x402 protocol news"}),
});
console.log(await res.json());Example input
{
"num_results": 3,
"query": "latest x402 protocol news"
}