Duplicate payment batch
apexfaucet.xyz/api/x402/check-duplicate-batch
Duplicate payment batch: up to 20 fingerprints in one call. Pass ?items= as a JSON array of {resource, payee, amount, nonce}. Optional &window= applies when an item omits it (default 600 seconds, clamped from 60 to 86400). Each row is its own EIP-712 DuplicateVerdict (domain APEX DuplicateGuard). The same fingerprint inside the batch is FRESH once, then DUPLICATE. A 21st item is refused before any
GET
https://apexfaucet.xyz/api/x402/check-duplicate-batchUptime100% of 3 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/check-duplicate-batch");
console.log(await res.json());Example input
{"items":"[{\"resource\":\"https://example.com/api/x402/weather-now\",\"payee\":\"0x3600000000000000000000000000000000000000\",\"amount\":\"3000\",\"nonce\":\"0x0000000000000000000000000000000000000000000000000000000000000001\"}]","nonce":"0x0000000000000000000000000000000000000000000000000000000000000001","payee":"0x3600000000000000000000000000000000000000","amount":"3000","window":"600","resourc