Before you pay up to 10 addresses
apexfaucet.xyz/api/x402/pay-safe-batch
Before you pay up to 10 addresses: one signed verdict each for $0.03. Not a permission to pay. Pay-safe batch: up to 10 PaySafeVerdicts for $0.03. Pass ?items= as a JSON array of checks (payee required on each; resource, nonce and amount as on /api/x402/pay-safe). Optional &chain=, &payer= and &window= fill gaps. An 11th item is refused whole, before any charge and before any duplicate is recorded
GET
https://apexfaucet.xyz/api/x402/pay-safe-batchUptime100% 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://apexfaucet.xyz/api/x402/pay-safe-batch");
console.log(await res.json());Example input
{"chain":"arc","items":"[{\"payee\":\"0x3600000000000000000000000000000000000000\",\"resource\":\"https://apexfaucet.xyz/api/x402/page-extract\",\"amount\":\"9000\",\"nonce\":\"0x0000000000000000000000000000000000000000000000000000000000000001\"}]","nonce":"0x0000000000000000000000000000000000000000000000000000000000000001","payee":"0x3600000000000000000000000000000000000000","payer":"0xd334AB5151