# Anchor-x402 Ledger Report

> Anchor-x402 Ledger Report is a paid API for AI agents from api.anchor-x402.com, paid per call via x402, $0.35/call, status unknown (last checked 2026-09-13).

Generates a signed, dual-chain-anchored expense report (markdown and/or CSV) for x402 on-chain spend from an EVM wallet address, delivered as an async job.

## Facts

- Endpoint: GET https://api.anchor-x402.com/v1/ledger/report
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anchor-x402-ledger-report-68e76a6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__nsEKmjMyqAbglNbYAkzq

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 anchor-x402-ledger-report-68e76a6c
```

Example prompt: Generate a signed expense report for my wallet 0xAbc123...def456 covering January 1 to March 31 2025, including both inbound and outbound x402 transactions, and give me both the markdown and CSV versions with the title 'Q1 2025 x402 Ledger'.

## When to prefer this

Choose this endpoint when you need a cryptographically signed, blockchain-anchored audit trail of x402 on-chain spend for a specific EVM wallet — especially when the output needs to be independently verifiable on Base and Solana. Prefer this over generic blockchain explorers when you need formatted, human-readable expense reports (markdown/CSV) rather than raw transaction data, or when a signed attestation is required for compliance, invoicing, or client-facing documentation.

## Known failure modes

- Invalid or missing EVM wallet address returns a validation error
- Unsupported date format for 'from' or 'to' fields causes a parse error
- No x402 transactions found for the specified wallet and date range yields an empty report
- Async job timeout if on-chain data retrieval takes too long
- Invalid format enum value (not 'markdown', 'csv', or 'both') returns a schema error
- Payment of $0.35 USDC not received or x402 payment fails — request rejected before processing

## How this service works

Signed + dual-chain-anchored x402 expense report (markdown + CSV, async job). $0.35 USDC.

## Output

An async job is initiated that produces a cryptographically signed, dual-chain-anchored (Base + Solana) expense report in one or both of: a markdown document and a CSV file. The report covers x402 protocol transactions for the specified wallet address and date range, optionally filtered by direction (inbound/outbound), and includes a report title and optional client name header.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "ISO date, end of range. Default: now."
  },
  "from": {
   "type": "string",
   "description": "ISO date, start of range. Default: 30 days before `to`."
  },
  "title": {
   "type": "string",
   "description": "Report title for the markdown header."
  },
  "format": {
   "enum": [
    "markdown",
    "csv",
    "both"
   ],
   "type": "string",
   "description": "Which report files to produce. Default both."
  },
  "wallet": {
   "type": "string",
   "description": "EVM address (Base) whose x402 spend to report on."
  },
  "direction": {
   "enum": [
    "outbound",
    "inbound",
    "both"
   ],
   "type": "string"
  },
  "prepared_for": {
   "type": "string",
   "description": "Optional client name for the report header."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "job_id": "8f14e45f-ea9d-4a4c-b8be-1c1c672f9b2d",
  "status": "accepted",
  "status_url": "https://api.anchor-x402.com/v1/ledger/report/8f14e45f-ea9d-4a4c-b8be-1c1c672f9b2d",
  "eta_seconds": 120
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anchor-x402-ledger-report-68e76a6c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.anchor-x402.com](https://www.zero.xyz/host/api.anchor-x402.com/llms.txt)
