{"slug":"api-taxrail-online-api-v1-x402-optimize-c226ec","title":"TaxRail 1-Step Tax Optimization","host":"api.taxrail.online","method":"POST","resource":"https://api.taxrail.online/api/v1/x402/optimize","category":"company","description":"TaxRail 1-Step Tax Optimization: Autonomous US (IRS 1099-DA, Form 8949, HIFO/SpecID, tax-loss harvesting) & Brazil (Lei 14.754, R$35k rule, Lucro Real) crypto tax calculation, wallet auto-scan, 0x/CoW/Jupiter swap calldata, and 20% affiliate revshare.","price_listed":0.1,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chain":"base","currentPriceUsd":3000,"jurisdiction":"US","lots":[{"acquiredAt":"2024-06-01T00:00:00Z","asset":"ETH","costBasisUsd":1800,"custodyLocation":"SELF_CUSTODY","lotId":"example-lot-1","quantity":1}],"regime":"INDIVIDUAL","sellQuantity":1,"targetAsset":"ETH"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"properties":{"chain":{"enum":["base","ethereum","arbitrum","solana"],"type":"string"},"currentPriceUsd":{"type":"number"},"jurisdiction":{"enum":["US","BR"],"type":"string"},"referrerWallet":{"type":"string"},"regime":{"enum":["INDIVIDUAL","LLC_PASS_THROUGH","C_CORP","PF_LEI_14754","PF_DOMESTIC","PJ_LUCRO_REAL","PJ_SIMPLES_EXPORT"],"type":"string"},"sellQuantity":{"type":"number"},"targetAsset":{"type":"string"},"walletAddress":{"type":"string"}},"required":["jurisdiction","regime","targetAsset"],"type":"object"}},"type":"object"}},"type":"object"},"history":[],"description_full":"TaxRail 1-Step Tax Optimization: Autonomous US (IRS 1099-DA, Form 8949, HIFO/SpecID, tax-loss harvesting) & Brazil (Lei 14.754, R$35k rule, Lucro Real) crypto tax calculation, wallet auto-scan, 0x/CoW/Jupiter swap calldata, and 20% affiliate revshare.","last_updated":"2026-11-26T04:51:26.912Z","schemes":["exact"]}