# TaxRail

> Autonomous Tax-Optimization Rail for AI Agents (US + Brazil). Optimizes crypto tax-lot selection, tax-loss harvesting, DeFi Aave v3 borrow-vs-sell liquidity strategies, and deductible expense classification.

- **Domain**: `api.taxrail.online`
- **Provider**: TaxRail (https://api.taxrail.online)
- **Kind**: paid_api
- **Live-responds (last probe)**: False
- **Signed card**: False
- **Streaming**: True
- **Quality score**: 75%
- **Payment protocol**: x402 · network `eip155:8453` · ≥ $0.01
- **Wallet**: `0x0202e70990d90325a1dca322c91471be774e4b6f`

## Skills
- **Check Crypto Disposal Tax Impact** — FREE preview comparing naive FIFO disposal vs tax-optimized lot selection and TLH across US & Brazil regimes. Returns verified tax savings, dynamic x402 quote, 
- **Compare DeFi Borrow vs Sell** — FREE preview comparing selling appreciated crypto vs borrowing USDC against collateral on Aave v3. Returns after-tax cost comparison, LTV projection, and planId
- **Classify Deductible Business Expense** — FREE preview classifying AI/cloud/SaaS/contractor expenses for US C-Corp/LLC or Brazil Lucro Real (IRPJ/CSLL, PIS/COFINS, IBS/CBS, IOF savings).
- **Instant Wallet TLH & Tax-Risk Scan ($0.01 USDC)** — 1-parameter x402 endpoint (`GET /api/v1/x402/tlh-scan?walletAddress=0x...`) for $0.01 Base USDC. Scans on-chain cost-basis lots, year-end Tax-Loss Harvesting op
- **Unlock Full Tax Optimization Plan** — PAID via dynamic x402 v2 (Base USDC). Unlocks exact lot IDs, 0x/CoW/Jupiter swap intent or Aave v3 0x calldata, and Form 8949 / Lei 14.754 / QuickBooks / Omie-S

## URLs
- Agent card: https://api.taxrail.online/.well-known/agent.json
- Page (HTML): https://agenstry.com/agents/api.taxrail.online
- Documentation: https://api.taxrail.online/api/v1/x402/optimize
