{"name":"TaxRail","description":"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.","url":"https://api.taxrail.online/a2a","version":"0.3.0","protocolVersion":"0.3.0","provider":{"organization":"TaxRail","url":"https://taxrail.online"},"supportedInterfaces":[{"url":"https://api.taxrail.online/a2a","protocolBinding":"JSONRPC","protocolVersion":"1.0"},{"url":"https://api.taxrail.online","protocolBinding":"HTTP+JSON","protocolVersion":"1.0"}],"capabilities":{"streaming":false,"pushNotifications":false,"stateTransitionHistory":false},"defaultInputModes":["application/json","text/plain"],"defaultOutputModes":["application/json","text/plain"],"jurisdictions":["US","BR"],"supportedRegimes":{"US":["INDIVIDUAL","LLC_PASS_THROUGH","C_CORP"],"BR":["PF_LEI_14754","PF_DOMESTIC","PJ_LUCRO_REAL","PJ_SIMPLES_EXPORT"]},"endpoints":{"a2a":{"jsonRpcUrl":"https://api.taxrail.online/a2a","rootJsonRpcUrl":"https://api.taxrail.online","sendMessageUrl":"https://api.taxrail.online/message:send","getTaskUrl":"https://api.taxrail.online/tasks/{id}","methods":["message/send","SendMessage","tasks/get","GetTask"]},"mcp":{"url":"https://api.taxrail.online/mcp","transport":"streamable-http"},"rest":{"baseUrl":"https://api.taxrail.online/api/v1","openapi":"https://api.taxrail.online/openapi.json","x402Manifest":"https://api.taxrail.online/.well-known/x402"},"llmsTxt":"https://api.taxrail.online/llms.txt","skillMd":"https://api.taxrail.online/SKILL.md","erc8004Registration":"https://api.taxrail.online/.well-known/erc8004.json"},"pricing":{"model":"zero-upfront-pay-from-operation","freePreview":true,"feeRatePct":0.1,"tierRangePct":{"min":0.1,"max":0.1},"zeroFeeWhenZeroSavings":true,"zeroUpfrontOperationFeeAvailable":true,"maxEmbeddedSwapFeeBps":1000,"protocol":"x402","x402Version":2,"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","currency":"USDC","summary":"Preview & prepare-execution endpoints are 100% FREE ($0 upfront). For swaps (0x v2 / Jupiter) and Aave v3 borrow-vs-sell, TaxRail collects its exact 10% verified-savings fee directly out of the operation proceeds and unlocks the SpecID / Form 8949 / DeCripto dossier via /api/v1/claim-dossier. x402 Base USDC (/api/v1/unlock-plan) remains available for corporate expenses and dossier-only unlocks. $0 fee if $0 saved."},"affiliateProgram":{"enabled":true,"revsharePct":0.2,"parameter":"referrerWallet","description":"Integrators and AI agents passing `referrerWallet` earn 20% of TaxRail's total fee on every unlocked plan."},"skills":[{"id":"check_tax_impact","name":"Check Crypto Disposal Tax Impact","description":"FREE preview comparing naive FIFO disposal vs tax-optimized lot selection and TLH across US & Brazil regimes. Returns verified tax savings, dynamic x402 quote, and a redacted planId.","tags":["tax","crypto","fifo","specid","tlh","us","brazil","free"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"compare_borrow_vs_sell","name":"Compare DeFi Borrow vs Sell","description":"FREE preview comparing selling appreciated crypto vs borrowing USDC against collateral on Aave v3. Returns after-tax cost comparison, LTV projection, and planId.","tags":["defi","aave-v3","borrow","liquidity","tax-shield","free"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"classify_deductible_expense","name":"Classify Deductible Business Expense","description":"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).","tags":["expense","deductible","quickbooks","sped","lucro-real","free"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"wallet_tlh_scan","name":"Instant Wallet TLH & Tax-Risk Scan ($0.01 USDC)","description":"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 opportunities, US 1099-DA & Brazil Lei 14.754 exposure, and creates an unlockable optimization plan.","tags":["x402","tlh","wallet-scanner","tax-loss-harvesting","irs-1099-da","lei-14754","base"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"prepare_execution","name":"Prepare 1-Click $0-Upfront Execution & Claim Dossier","description":"FREE pre-execution endpoint (`POST /api/v1/prepare-execution`) returning ready-to-sign 0x v2 / Jupiter swap calldata or Aave v3 atomic borrow batch with TaxRail's exact 10% fee embedded inside the operation ($0 upfront). After broadcasting, call `POST /api/v1/claim-dossier` with the txHash to unlock SpecID lots and Form 8949 / DeCripto CSV.","tags":["zero-upfront","1-click","0x-v2","aave-v3","claim-dossier","free"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"unlock_tax_plan","name":"Unlock Full Tax Optimization Plan","description":"PAID via dynamic x402 v2 (Base USDC) fallback for dossier-only or corporate expense unlocks. Unlocks exact lot IDs, 0x/Jupiter swap intent or Aave v3 calldata, and Form 8949 / Lei 14.754 / QuickBooks / Omie-SPED accounting dossier.","tags":["x402","calldata","aave-v3","0x","form-8949","lei-14754","paid"],"inputModes":["application/json"],"outputModes":["application/json"]}]}