Answer a question when you have no URL yet
agentsvc.io/api/v1/proxy/search-read
Answer a question when you have no URL yet: searches Wikipedia (source 'web') or recent news articles (source 'news') and returns the top 1 to 5 result pages already read as clean Markdown, with title, URL and snippet. Replaces one search call plus several page reads. Not a general web search engine. If links and a short summary are enough, web-search is cheaper. Charged only if at least one page
POST
https://agentsvc.io/api/v1/proxy/search-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://agentsvc.io/api/v1/proxy/search-read", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"count":2,"query":"x402 payment protocol","max_chars":3000}),
});
console.log(await res.json());Example input
{
"count": 2,
"query": "x402 payment protocol",
"max_chars": 3000
}