SpendPreflight
api.spendpreflight.com/v1/books/statement
SpendPreflight — trust and verification tools for stablecoin payments, built for AI agents and the people who run them. Export native Base USDC wallet transfers as JSON or CSV for a past range up to 90 days, start inclusive/end exclusive. Exact decimal running balances, counterparties and OFAC flags. Up to 1000 transfers/128 RPC calls/25 seconds; oversized or unavailable historical data fails with
POST
https://api.spendpreflight.com/v1/books/statementUptime100% 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://api.spendpreflight.com/v1/books/statement", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"address":"0xBf4164e07552e4c1b1B1597E72C7acAA3F0a1c58","end":"2026-10-22T22:08:00Z","format":"json","start":"2026-10-22T22:07:00Z"}),
});
console.log(await res.json());Example input
{
"address": "0xBf4164e07552e4c1b1B1597E72C7acAA3F0a1c58",
"end": "2026-10-22T22:08:00Z",
"format": "json",
"start": "2026-10-22T22:07:00Z"
}