Agents & API
Any x402 client can pay a covered URL. The SDK, the CLI and the MCP server are one file served by this site: download it, give it a key that holds USDG on Robinhood Chain, and your agent pays per call with signatures. It never needs ETH.
curl -sO https://www.arbiterprotection.xyz/sdk/arbiter.mjs
// agent.mjs (Node 20+)
import { arbiter } from "./arbiter.mjs";
import { privateKeyToAccount } from "viem/accounts"; // or pass { privateKey }
const account = privateKeyToAccount(process.env.AGENT_KEY);
const { response, callId, refund } = await arbiter.fetch(
"https://www.arbiterprotection.xyz/x/stock-quote/NVDA", {}, { account, maxPrice: 0.05 },
);
console.log(await response.json(), callId, refund);
// later, inside the window, if the answer was not what the service promised
await arbiter.dispute(callId, "Returned the AAPL price for NVDA", { account });
console.log(await arbiter.call(callId)); // status, refund, decisionGET /api/v1/services
Listed services with price, window, promise, refund rate and covered URL.
GET /api/v1/calls/{id}
Status of one call: covered, released, refunded, under review or decided, with the transactions.
POST /api/v1/calls/{id}/dispute
Open a dispute with a reason, signed by the wallet that paid. No gas.
GET /api/v1/calls?buyer=0x…
Calls paid by an address, newest first.
GET /api/v1/status
Block, services live, calls covered in the last hour.
Full reference →
Payloads, headers, errors, the seller API and the contract calls.