Ir para o conteúdo

How to Import Crypto Exchange Data for Taxes

Última atualização: April 23, 2026 12 min de leitura

Pontos-chave

  • CoinTracking supports four import methods: API connection, CSV file upload, manual entry, and direct blockchain import — each suited to different situations.
  • API imports are the fastest and most reliable method, providing automatic syncing with over 100 exchanges including Binance, Coinbase, Kraken, and Bybit.
  • CSV imports work with over 400 exchanges and are useful for platforms that do not support API connections or for importing historical data.
  • Blockchain imports let you pull on-chain transactions directly by entering your public wallet address — ideal for DeFi activity and personal wallets.
  • Always verify your imported data by checking transaction counts, balances, and running the CoinTracking balance check feature to catch any missing or duplicate transactions.

Most active crypto traders use two or three exchanges. Some use five or more. Here's the problem: the IRS requires you to report every trade, sale, and crypto-to-crypto swap — across all of them. Miss one exchange and your cryptocurrency taxes are wrong. Potentially wrong in ways the IRS will notice.

Accurate tax reporting starts with accurate data. This guide walks through exactly how to import crypto exchange data into CoinTracking for tax purposes — covering CSV file exports, API connection setup, and manual entry, plus exchange-specific steps for Binance, Coinbase, Kraken, Bybit, and OKX.


Why You Need Complete Exchange Data for Your Taxes

The IRS classifies cryptocurrency as property, not currency. That single classification has significant consequences.

Every time you sell crypto, trade one coin for another, or use crypto to pay for something, you have a taxable disposal. Each one must be reported on Form 8949 — the IRS form for capital gains and losses. Your tax return depends on accurate records for every transaction: the date, the amount, the price at the time of the trade, and any fees paid.

There are three things you can't rely on:

  • Exchange 1099s alone. Not every exchange issues a 1099, and those that do may not include all transaction types — especially pre-2025 trades or DeFi activity.
  • Your memory. An active trader can execute hundreds of transactions in a year.
  • Partial records. If you moved assets between exchanges, a trade that started on Binance and settled on Coinbase may show up as incomplete in both systems.

This is where importing all your exchange data into one platform makes the difference. CoinTracking, trusted since 2012 by over 2.2 million users, consolidates data from 400+ exchanges so you have a complete, accurate picture before generating your crypto tax report.


Four Ways to Import Your Exchange Data

Four methods exist for getting exchange and on-chain data into CoinTracking:

Method Best For Effort
CSV import All exchanges; historical data Medium — download and upload files
API connection Active traders; exchanges with API support Low setup; then automatic
Manual entry One-off transactions; unsupported exchanges High — enter each trade individually
Blockchain / wallet import On-chain activity (DeFi, NFTs, cold wallets) Low — paste public address

Most users use CSV import for historical data and set up an API connection going forward. That combination covers both the past and the future in one workflow.


Method 1 — CSV Import

CSV import is the most universally supported method for getting exchange data into CoinTracking. Every major exchange lets you export your full transaction history as a CSV file, which CoinTracking parses and maps to your portfolio automatically.

General steps for any exchange:

  1. Log in to your exchange account
  2. Go to transaction history, account history, or trade history (the label varies by platform)
  3. Select your date range — use the earliest possible start date to capture all your history
  4. Export as CSV (some exchanges call this "Download" or "Generate Report")
  5. In CoinTracking: go to Import → [Your Exchange] → Upload file

CoinTracking auto-maps column formats for all supported exchanges. If your exchange uses a non-standard format, the generic CSV import lets you map columns manually. Required fields: date, amount, currency, transaction type, and fee.

One thing to know about date limits: Some exchanges cap each export at 90 or 180 days. If that's the case, run multiple exports for different date ranges and upload all of them. CoinTracking deduplicates overlapping records — no manual cleanup needed.


Method 2 — API Connection

For active traders, API connection is the easiest ongoing method to import crypto exchange data after the initial setup. Instead of downloading files, CoinTracking connects directly to your exchange and pulls transaction history automatically. New trades sync on their own.

The key thing to understand: the connection is read-only. CoinTracking cannot execute trades or withdraw funds. It reads your transaction history. That's it.

General setup steps:

  1. Log in to your exchange account
  2. Go to API Management (or Security / Account Settings, depending on the exchange)
  3. Create a new API key — enable read-only or view permissions only; disable all trading and withdrawal permissions
  4. Copy the API Key and API Secret immediately (the Secret is typically shown only once)
  5. In CoinTracking: go to Import → [Your Exchange] → Connect automatically → enter your API Key and Secret → connect

Once connected, CoinTracking imports your existing history and continues pulling new transactions automatically going forward.

Some exchanges require IP whitelisting for API access. Check your exchange's documentation — CoinTracking lists its server IP ranges in the help center.


Method 3 — Manual Entry

Manual entry is the fallback when an exchange isn't supported by CSV or API import, or when you're adding a small number of missing transactions — an OTC trade, a peer-to-peer transfer, or crypto received as a gift.

Steps in CoinTracking:

  1. Go to Import → Other → Manual Entry
  2. Fill in: date and time, transaction type (buy, sell, trade, income, etc.), amount, currency, price at time of trade, and fees
  3. Save

Real talk: manual entry is impractical for large transaction volumes. If you're missing hundreds of trades, contact your exchange about historical data recovery or use the generic CSV template. Keep manual entry for the handful of transactions that genuinely aren't in any export.


Method 4 — Blockchain / Wallet Import

Exchange data alone won't cover everything. If you hold crypto in a self-custody wallet — MetaMask, Ledger, Trezor, a hardware wallet, or any on-chain address you use for DeFi or NFTs — those transactions live on the blockchain, not on any exchange. CoinTracking imports them directly.

The mechanic is simple: you provide the public wallet address (never the seed phrase or private key), and CoinTracking reads the on-chain transaction history for that address. Swaps, transfers, contract interactions, token receipts, and gas fees all come through.

Blockchain import matters in three situations in particular:

  • DeFi activity — Uniswap swaps, liquidity provision, yield farming, lending. None of this touches a centralized exchange.
  • NFT trades — Mints, buys, and sells on OpenSea, Blur, and other marketplaces settle on-chain.
  • Transfers between wallets — Moving crypto from an exchange to cold storage isn't a taxable event, but it is part of your cost-basis trail. CoinTracking needs to see both sides of the move to track the basis correctly.

CoinTracking supports direct imports from 100+ blockchains — including Ethereum, Bitcoin, Solana, Polygon, BNB Chain, Arbitrum, Optimism, Base, and most EVM-compatible networks. For step-by-step instructions per chain and per wallet type, see the full list of supported wallets and blockchains.

One thing to keep in mind: some chains produce a lot of "noise" — spam airdrops, failed transactions, dust from phishing tokens. CoinTracking filters most of this automatically, but a quick review after import helps catch anything unusual before it hits your tax report.


Exchange-Specific Import Instructions

How to Export from Coinbase

Coinbase is the largest US crypto exchange by retail user count. You have two options — a one-time CSV export for Standard Coinbase, or an API connection for Coinbase Advanced Trade (formerly Coinbase Pro) that keeps syncing going forward.

Option A — Standard Coinbase CSV

  1. Log in to Coinbase
  2. Click your profile icon → go to Taxes → select Transaction history
  3. Click Generate report → choose your full date range → download the CSV
  4. Upload the CSV to CoinTracking under Import → Coinbase → Upload file

Option B — Coinbase Advanced Trade API (recommended for active traders)

  1. Log in to your Coinbase account and navigate to Advanced API → Create your API Key (https://www.coinbase.com/settings/api)
  2. Click Create API Key to create a new key
  3. Enter any API key name
  4. Make sure only the View (read-only) checkbox is enabled
  5. Click Create & Download
  6. In CoinTracking, go to Import → Coinbase → Connect automatically → enter your API Key and API Secret → Connect & Import

Note: Standard Coinbase and Advanced Trade have separate data sources. If you've used both products, combine both methods — CoinTracking deduplicates overlapping records. For official guidance, see the Coinbase Tax Resource Center, and for CoinTracking-specific steps, use the import from Coinbase guide.


How to Export from Binance

Binance has multiple export tools across spot, margin, and futures. For a clean import, focus on the full transaction history export — it covers the bulk of what you need in a single file.

  1. Sign in to Binance.com and go to Orders → Asset History, then click the Export Icon (top right) → Export Transaction Records
  2. Under Time Range, click Customize and select the full period from when you first started using Binance until today
  3. Select CSV and click Generate. Wait for the file to be ready, then download it
  4. Unzip the archive and upload the CSV file(s) to CoinTracking

If you're a long-tenured Binance user, CoinTracking deduplicates overlapping records automatically. Once the historical backfill is done, switch to the API connection so future transactions sync without manual exports.

For official Binance documentation, see the Binance tax reporting guide. For CoinTracking-specific steps: import from Binance.


How to Export from Kraken

  1. Log in to Kraken
  2. Go to History → Export
  3. Select Ledgers — not just Trades. The ledger export is more complete and includes deposits, withdrawals, and staking rewards
  4. Set your full date range → click Submit
  5. Download the ledger CSV when it's ready → upload to CoinTracking

For column mapping help, use the import from Kraken guide.


How to Export from Bybit

  1. Log in to Bybit
  2. Go to Assets → Transaction History
  3. Click Export (top right corner)
  4. Select "All" for transaction type → set your date range → download the CSV
  5. Upload to CoinTracking under Import → Bybit → Upload file

For step-by-step CoinTracking instructions: import from Bybit.


How to Export from OKX

  1. Log in to OKX
  2. Go to Assets → Bills → Transaction History
  3. Click Export → set your date range → download the CSV
  4. Upload the file to CoinTracking

For step-by-step CoinTracking instructions: import from OKX.


From Imported Data to Your Tax Report

Once your exchange data is in CoinTracking, the calculation work happens automatically. CoinTracking matches buy and sell events, applies your chosen accounting method (FIFO, LIFO, or HIFO — configurable in settings), computes your capital gains and losses for each disposal, and generates a complete crypto tax report ready for filing.

That report includes Form 8949. Each line shows:

  • Description of the asset (e.g., "0.5 BTC")
  • Date acquired and date sold
  • Sale proceeds
  • Cost basis (purchase price plus fees)
  • Net gain or loss

You can download it as a PDF or export it in formats compatible with TurboTax, H&R Block, and other major crypto tax software. The IRS accepts CoinTracking reports directly.

One detail that trips people up: Staking rewards, mining income, and airdrops are treated as ordinary income — not capital gains. They still need to be imported into CoinTracking (they appear in your transaction history as income events), but they go on Schedule 1, not Form 8949. Per the IRS FAQ on virtual currency, these are taxable at fair market value on the date of receipt.


Troubleshooting Common Import Issues

Imports don't always go perfectly. Here's what to do when they don't.

Duplicate transactions Happens when you import overlapping date ranges or upload the same file twice. In CoinTracking, go to Analysis → Checks → Duplicate Transactions to identify and remove them. The tool catches exact duplicates automatically — manual review catches the near-duplicates.

Missing transactions Your CSV may not include every transaction type. Binance has separate exports for spot trades, deposits/withdrawals, and futures. Coinbase Advanced Trade history is separate from standard Coinbase. Download every available report category, not just the trades export.

CSV format not recognized If your exchange isn't in CoinTracking's supported list, use the generic CSV import. Required columns: date, amount, cryptocurrency, transaction type (buy/sell/trade/income/expense), and fee. Grab the template from the CoinTracking FAQ and map your data to those columns.

API sync missing older history Many exchanges limit API access to the most recent 90 or 180 days. For older data: export CSVs covering earlier date ranges and upload them. CoinTracking handles both sources together without creating duplicates.

Prices showing as zero or incorrect This occurs with manually entered data or very old transactions where exchange price data isn't available. CoinTracking pulls historical price data to fill gaps automatically. If automatic lookup fails for a specific transaction, edit that entry and provide the correct price manually.


How CoinTracking Makes This Easier

CoinTracking has been supporting crypto tax reporting since 2012 — longer than most tools in this space. Over 2.2 million users rely on it to consolidate exchange data from 400+ supported exchanges and produce accurate tax reports.

The capabilities that matter most for importing exchange data:

  • Automatic deduplication — Upload overlapping date ranges without creating false duplicates
  • Smart CSV mapping — Files from supported exchanges are parsed without manual column matching
  • Multi-method support — Combine CSV uploads and API connections for the same exchange across different time periods
  • Read-only API access — Exchange credentials stored securely; no trading permissions ever granted

Start with your largest exchange first, then work through the others. Most users finish their full import in under an hour using CoinTracking's guided import workflow.

Import Your Exchange Data in Minutes CoinTracking supports 400+ exchanges via CSV and API — with automatic deduplication, smart column mapping, and read-only secure connections. Your full transaction history, consolidated in one place. Start Importing Free →


Perguntas frequentes

CoinTracking supports 400+ exchanges via CSV and API — including Binance, Coinbase, Kraken, Bybit, OKX, Crypto.com, Gemini, and many more. See the full list on the [exchanges page](/imports).
Yes. CoinTracking is built for multi-exchange crypto portfolios. Import from as many exchanges as you use — CSV and API connections can coexist for different exchanges and for different time periods on the same exchange.
Use the [generic custom CSV import](/import/custom). Download your transaction history from the exchange, then map the columns to CoinTracking's required fields (date, amount, currency, transaction type, fee). The [CoinTracking FAQ](/support) has a downloadable template.
Export in batches. Most exchanges let you select a start and end date. Run exports in 3- or 6-month batches going as far back as your account allows, then upload all files. CoinTracking consolidates everything.
Yes, if you transferred crypto between an exchange and a non-custodial wallet. Those transfers affect your cost basis. CoinTracking supports wallet imports via blockchain address sync for 100+ blockchains.
Yes — when set up correctly. Always create a read-only API key with no trading or withdrawal permissions. CoinTracking can't execute any transactions with a read-only key. Your credentials are encrypted and stored securely.

Comece a gerir os seus impostos cripto hoje

Descubra por que 2,2 milhões de utilizadores confiam no CoinTracking — inscreva-se hoje para um teste gratuito de sete dias!