Skip to content
Fourohtwo

Which x402 API should my agent call

ontarioprotocol.com/api/x402/find-api

Which x402 API should my agent call? Live API finder for any task. Required: task. Returns up to 5 paid APIs that answered a fresh unpaid probe with a valid Base USDC 402, ranked by task fit, price and Bazaar-reported repeat buyers, each with live price, network and a ready-to-call request. Provider calls are paid separately. No live match, no charge. $0.005 USDC on Base. No account, no API key. R

BaseAnswering
POSThttps://ontarioprotocol.com/api/x402/find-api

Uptime100% 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

// 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://ontarioprotocol.com/api/x402/find-api", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":3,"max_usdc":"0.01","task":"web search for an AI agent"}),
});
console.log(await res.json());

Example input

{
  "limit": 3,
  "max_usdc": "0.01",
  "task": "web search for an AI agent"
}