OKX Tax Reporting
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.comHow to Export from OKX
- 1
Log in to OKX at okx.com and go to Assets → History.
- 2
Click 'Export' and select the transaction type (Spot, Funding, etc.).
- 3
Choose your date range and download the CSV.
- 4
Upload to dTax — OKX format is auto-detected.
Import to dTax
- 1
Sign up at getdtax.com (free — no credit card needed).
- 2
Go to Data Sources → Add Source → Upload CSV.
- 3
Upload your CSV file. The format is auto-detected.
- 4
dTax parses, classifies, and deduplicates all transactions.
- 5
Go to Tax → Calculate to generate your Form 8949 and Schedule D.
OKX FAQ
Can I sync OKX via API?
Yes. dTax supports CCXT API integration with OKX. Use a read-only API key to sync spot, margin, and futures transactions automatically.
Also supported
Ready to calculate your OKX taxes?
Free plan: unlimited transaction imports. PRO ($49/year) unlocks all 13 cost basis methods and full report export.