Run 2-5 web searches in one call with a 20% volume discount vs
agent402.tools/api/multi-search
Run 2-5 web searches in one call with a 20% volume discount vs. individual searches. Each query returns ranked results (title, URL, snippet). Ideal for multi-faceted research or comparing sources on different aspects of a topic. If some queries fail upstream, the call returns the ones that succeeded with an error on each failed query and is charged; a call where every query fails is not charged, e
POST
https://agent402.tools/api/multi-searchUptime100% of 4 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://agent402.tools/api/multi-search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"queries":["x402 payment protocol","USDC micropayments"]}),
});
console.log(await res.json());Example input
{
"queries": [
"x402 payment protocol",
"USDC micropayments"
]
}