Crypto Tax Cost Basis Calculator API

Crypto TaxCost BasisForm 8949Share PoolingACBx402MCPOpenAPI

Cost-basis lots, specific ID, Form 8949, UK share pooling, Canada ACB, Australia CGT discount, German §23 holding, income valuation, transfer matching, fee allocation, tax-loss harvest, derivatives P/L, unrealised snapshots, CSV normalize and missing-basis checks — pure computation on caller ledgers and prices.

POST/api/v1/crypto-tax/cost-basis-lots$0.05 USDC

Match disposals to acquisition lots by FIFO, LIFO, HIFO or average cost and compute gains from a caller-supplied ledger and fiat values. No market prices are fetched.

POST/api/v1/crypto-tax/specific-id-select$0.05 USDC

Apply caller-chosen lot identifications to disposals, validate timing and quantities, and return matched basis or structured selection errors.

POST/api/v1/crypto-tax/us-form-8949-rows$0.04 USDC

Produce Form 8949 rows and Schedule D box totals from caller disposals using 2025 short/long-term and 1099-B / 1099-DA box rules.

POST/api/v1/crypto-tax/uk-share-pooling$0.05 USDC

Apply same-day, 30-day and section 104 share-pooling rules to a GBP ledger and return allowable cost, gains, pool balances and AEA.

POST/api/v1/crypto-tax/canada-acb$0.04 USDC

Compute Canadian ACB and capital gains with superficial-loss detection for identical properties on a CAD ledger.

POST/api/v1/crypto-tax/australia-cgt-discount$0.03 USDC

Apply the Australian 12-month CGT discount by entity type after losses, from caller event proceeds and cost base.

POST/api/v1/crypto-tax/germany-holding-period$0.04 USDC

Classify crypto private sales under §23 EStG with FIFO (or caller method), one-year holding and the €1,000 Freigrenze.

POST/api/v1/crypto-tax/income-events-value$0.03 USDC

Value staking, mining, airdrop and interest receipts in fiat using caller-supplied prices within a max lag window.

POST/api/v1/crypto-tax/transfer-match$0.04 USDC

Pair outgoing and incoming transfers between the caller's own wallets by txHash or amount/time so they are not treated as disposals.

POST/api/v1/crypto-tax/network-fee-allocate$0.02 USDC

Assign network/gas fees to acquisition basis, disposal proceeds, expense or fee-asset disposal per caller policy.

POST/api/v1/crypto-tax/tax-loss-harvest$0.03 USDC

List open lots with unrealised losses at caller prices and an estimated tax saving, with US/UK rule flags.

POST/api/v1/crypto-tax/derivatives-pnl$0.03 USDC

Compute realised P/L for linear perpetuals/futures and options including fees and funding from caller trade inputs.

POST/api/v1/crypto-tax/unrealized-snapshot$0.04 USDC

Replay a ledger to a date with a cost-basis method and report holdings, basis, unrealised gain, dust and unpriced assets at caller prices.

POST/api/v1/crypto-tax/exchange-csv-normalize$0.03 USDC

Convert a caller CSV export into the shared ledger schema using a caller column mapping, or return a mapping template from headers.

POST/api/v1/crypto-tax/missing-basis-detect$0.03 USDC

Replay balances to find disposal-without-acquisition, negative balance, unmatched transfer-in and unpriced events before gains are computed.