# SpendPreflight Wallet Statement Export

> SpendPreflight Wallet Statement Export is a paid API for AI agents from api.spendpreflight.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-21).

Exports Base USDC wallet transfer history as JSON or CSV with exact decimal running balances, counterparty details, and OFAC flags for a specified date range up to 90 days.

## Facts

- Endpoint: POST https://api.spendpreflight.com/v1/books/statement?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spendpreflight-wallet-statement-export-246e21ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T-Xfkuvem1lBGJI3Og-w_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability spendpreflight-wallet-statement-export-246e21ad -d '<json body>'
```

Example prompt: Pull a JSON statement of all USDC transfers for wallet 0xAbC...1234 on Base from January 1, 2025 through March 31, 2025, including running balances and any OFAC flags.

## When to prefer this

Use this endpoint when you need a structured, auditable record of Base USDC wallet transfers with exact decimal running balances, counterparty details, and OFAC compliance flags — especially for AI agent spending audits, financial reconciliation, or sanctions screening on stablecoin activity. Prefer this over generic block explorers when you need clean, machine-readable output (JSON or CSV) with built-in OFAC screening, and when the date range fits within 90 days and 1000 transfers.

## Known failure modes

- Date range exceeds 90 days — request rejected without charge
- More than 1000 transfers in range — oversized request fails without charge
- RPC call budget (128 calls / 25 seconds) exceeded — request fails
- Invalid wallet address format — validation error
- Historical data unavailable for the requested range — fails without charge
- Malformed datetime format — schema validation error

## How this service works

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 without charge. Informational, not tax advice.

## Output

A JSON or CSV document listing each USDC transfer on Base for the given wallet and date range, with fields including transfer amount, exact decimal running balance after each transfer, counterparty address, timestamp, and OFAC screening flag. Up to 1000 transfers are returned per call; requests exceeding limits or lacking historical data fail without a charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end": {
   "type": "string",
   "format": "date-time"
  },
  "start": {
   "type": "string",
   "format": "date-time"
  },
  "format": {
   "enum": [
    "json",
    "csv"
   ],
   "default": "json"
  },
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spendpreflight-wallet-statement-export-246e21ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.spendpreflight.com](https://www.zero.xyz/host/api.spendpreflight.com/llms.txt)
