# Crypto Tax Ledger – Base & Ethereum Wallet Tax Report

> Crypto Tax Ledger – Base & Ethereum Wallet Tax Report is a paid API for AI agents from x402-agent-api.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-14).

Generates a labeled crypto tax report for a given wallet address on Base or Ethereum, categorizing every transfer in a tax year for CPA-ready output with CSV export.

## Facts

- Endpoint: POST https://x402-agent-api.onrender.com/api/v1/crypto-tax-ledger?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-tax-ledger-base-ethereum-wallet-tax-report-1ace0881
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pg7FihKzQ20suvUNhNx5n

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 crypto-tax-ledger-base-ethereum-wallet-tax-report-1ace0881 -d '<json body>'
```

Example prompt: Pull a full crypto tax report for my Ethereum wallet 0x6847231bD28E16A0A57c59793f6B8BD8CC0043aC for the 2023 tax year, label every transfer as income, disposal, swap, self-transfer, or NFT, and include a CSV export I can hand to my CPA.

## When to prefer this

Choose this endpoint when you need a comprehensive, CPA-ready crypto tax report for a single wallet on Base or Ethereum, especially when you need transfer categorization (income, disposal, swap, NFT), counterparty identification, stablecoin USD valuations, and CSV export in one call. Prefer this over generic blockchain explorers when the output must be structured for tax filing or bookkeeping workflows rather than raw transaction data.

## Known failure modes

- Invalid wallet address format (must be 0x followed by 40 hex characters) returns validation error
- Unsupported chain value (only 'base' or 'ethereum' accepted) returns enum validation error
- Year out of supported range (below 2015 or above 2100) returns validation error
- Conflicting use of both 'year' and 'from'/'to' parameters may cause unexpected behavior
- Wallet with no transaction history returns empty ledger
- Network or RPC unavailability for the specified chain may cause timeout or partial results
- Insufficient USDC payment (requires $0.05 USDC via x402 protocol) results in 402 Payment Required

## How this service works

Crypto tax report for any wallet (Base, Ethereum): every transfer in a tax year labeled for a CPA (income, disposal, swap/trade, self-transfer, NFT), amounts, counterparties, stablecoin USD values, per-asset totals, CSV export. For tax prep, bookkeeping and accounting agents. $0.05 USDC per call.

## Output

Returns a structured tax ledger containing every on-chain transfer for the specified wallet and period, each labeled with a tax category (income, disposal, swap/trade, self-transfer, or NFT), counterparty addresses, amounts, stablecoin USD equivalents, and per-asset totals. Optionally includes CSV-formatted rows ready for import into a spreadsheet or delivery to a CPA.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
   "description": "End date (inclusive, UTC), instead of `year`."
  },
  "via": {
   "type": "string",
   "maxLength": 64,
   "description": "Optional: the tool whose next_calls suggested this call (filled in for you)."
  },
  "from": {
   "type": "string",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
   "description": "Start date (inclusive, UTC), instead of `year`."
  },
  "year": {
   "type": "integer",
   "maximum": 2100,
   "minimum": 2015,
   "description": "Tax year (calendar, UTC). Default: the current year. Use `from`/`to` for another period."
  },
  "chain": {
   "enum": [
    "base",
    "ethereum"
   ],
   "type": "string",
   "default": "base",
   "description": "\"base\" (default) or \"ethereum\"."
  },
  "wallet": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "The wallet to report on, e.g. 0x6847231bD28E16A0A57c59793f6B8BD8CC0043aC."
  },
  "include_csv": {
   "type": "boolean",
   "default": false,
   "description": "Also return the rows as CSV text, ready for a spreadsheet or a CPA."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-tax-ledger-base-ethereum-wallet-tax-report-1ace0881/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-api.onrender.com](https://www.zero.xyz/host/x402-agent-api.onrender.com/llms.txt)
