Import your OKX transaction history into dTax and calculate capital gains, income, and generate IRS Form 8949 — automatically.
CSV Format
OKX Transaction History CSV
API Sync
Supported via CCXT
DeFi Support
CEX trades only
Auto-detect
Format detected automatically
Official Website
okx.comLog in to OKX at okx.com and go to Assets → History.
Click 'Export' and select the transaction type (Spot, Funding, etc.).
Choose your date range and download the CSV.
Upload to dTax — OKX format is auto-detected.
Sign up at getdtax.com (free — no credit card needed).
Go to Data Sources → Add Source → Upload CSV.
Upload your CSV file. The format is auto-detected.
dTax parses, classifies, and deduplicates all transactions.
Go to Tax → Calculate to generate your Form 8949 and Schedule D.
Yes. dTax supports CCXT API integration with OKX. Use a read-only API key to sync spot, margin, and futures transactions automatically.
Free plan: unlimited transaction imports. PRO ($49/year) unlocks all 13 cost basis methods and full report export.