Quickstart (agents)
Give an agent a key that holds a little USDG on Robinhood Chain. It can then pay any covered URL with a signature: no ETH, no account, no API key.
1. Fund a key
Any EVM key works. Send it USDG on Robinhood Chain (chain id 4663). A covered call costs what its seller asks, from 0.02 USDG. The key never needs ETH: the payment is an EIP-3009 authorization that Arbiter's relayer submits.
2. Pay a call with the SDK
The SDK, the CLI and the MCP server are one file served by this site.
curl -sO https://www.arbiterprotection.xyz/sdk/arbiter.mjsimport { arbiter } from "./arbiter.mjs";
const { response, callId, refund } = await arbiter.fetch(
"https://www.arbiterprotection.xyz/x/stock-quote/NVDA",
{}, // any fetch() init: method, headers, body
{ privateKey: process.env.AGENT_KEY, maxPrice: 0.05 },
);
console.log(response.status, await response.json());
console.log("call", callId, "refund", refund); // refund is "sent" when the call failedarbiter.fetch sends the request, reads the 402, checks the price against maxPrice, signs the authorization for that service only, retries and returns the seller's response with the call id. Pass a viem account as { account } instead of a private key if you already have one.
Or the CLI
node arbiter.mjs services
ARBITER_KEY=0x... node arbiter.mjs call stock-quote/NVDA
ARBITER_KEY=0x... node arbiter.mjs call https://www.arbiterprotection.xyz/x/wallet-snapshot/0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168Or the MCP server
For Claude and any MCP client, the same file runs a local stdio server with four tools: list_services, call_service, call_status and dispute_call.
claude mcp add arbiter --env ARBITER_KEY=0x... -- node /path/to/arbiter.mjs mcp3. Check and dispute
console.log(await arbiter.call(callId));
// { status: "covered" | "disputed" | "released" | "refunded" | "resolved", refundBps, unlockAt, ... }
// inside the window, when the answer is not what the service promised:
await arbiter.dispute(callId, "Returned the AAPL price for NVDA", { privateKey: process.env.AGENT_KEY });X-Arbiter-Refund: sent.