Use when an agent needs fresh web results for a question
x402op-edge-39830b.fly.dev/p/web-search
Use when an agent needs fresh web results for a question. Send a plain query and get up to 10 ranked results with title, URL, publish date and a short excerpt, ready to cite. Fast, no account and no API key on your side; pay per call with x402. Results come from a licensed search provider and are not cached across customers.
POST
https://x402op-edge-39830b.fly.dev/p/web-searchUptime100% of 3 checks 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402op-edge-39830b.fly.dev/p/web-search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_results":5,"query":"latest x402 protocol release notes"}),
});
console.log(await res.json());Example input
{
"max_results": 5,
"query": "latest x402 protocol release notes"
}