How to Export Your Transaction History From an Exchange
Learn how to export crypto transaction history from an exchange: which reports to download, CSV vs API, read-only keys, checks for gaps and common mistakes.
To export your crypto transaction history from an exchange, sign in on the official site, open the account's history, reports or statements section, choose each report type (trades, deposits, withdrawals and rewards) for the full date range, and download the files as CSV, or connect a read-only API key to a reporting tool. Then check the files for gaps before you rely on them.
Accurate records matter for taxes, for tracking your real profit and loss, and for proving where funds came from if a bank or exchange asks. Exchanges can change their interfaces, limit history, or close entirely, so regular exports are a habit worth building.
Before You Start: Safety Checks
- 1Use the official site or app. Type the address yourself or use a bookmark. Phishing sites imitating exchange login pages are common.
- 2Turn on strong two-factor authentication. An authenticator app or security key is safer than text messages. See how to secure your exchange account.
- 3Use a private device and network. Exported files contain sensitive financial data.
- 4Never share your login with a "support agent" offering to export reports for you.
Step-by-Step: Exporting via CSV
Exchange menus differ, so the descriptions below are general. Look for equivalent options on your platform.
- 1Open the history or reports area. After logging in, open your profile or account menu. You will usually see an item such as "Orders," "Transaction History," "Statements," "Reports" or "Tax documents."
- 2Pick a report type. A dropdown or tabs list types such as "Spot trades," "Deposits," "Withdrawals," "Convert," "Earn/Staking rewards," "Futures" or "Fiat transactions." Start with trades.
- 3Set the date range. Choose from the date you opened the account to today. If the exchange limits each export to a period, repeat for each period.
- 4Request the file. Click a button labeled something like "Export" or "Generate." Some exchanges show a progress status and let you download when ready; others send an email link.
- 5Download and rename. Save each file with a clear name, such as "exchange-trades-2023.csv," in a dedicated folder.
- 6Repeat for every report type. Deposits, withdrawals, rewards, fiat purchases and any derivatives activity each usually need a separate export.
- 7Spot-check the contents. Open each file in a spreadsheet and compare a few rows with what you remember or see in the app.
Using an API Connection Instead
Many portfolio and tax tools can import data automatically through an API key:
- 1In the exchange's API management page, create a new key.
- 2Before confirming, make sure only "read" or "view" permissions are enabled. Trading and withdrawal must be off. This is the irreversible step that matters most: a key with withdrawal rights can drain your account if leaked.
- 3Restrict the key to specific IP addresses if the tool supports it.
- 4Paste the key into the tool and let it import.
- 5Compare the imported totals with your CSV exports.
- 6Delete keys you no longer use.
Common Mistakes
| Mistake | Why it causes problems | How to avoid it |
|---|---|---|
| Exporting only trades | Deposits, withdrawals and rewards are missing | Export every report type |
| Ignoring time zones | Trades shift into the wrong day or year | Check whether times are in UTC or local time |
| Missing fees | Cost basis and proceeds are wrong | Confirm the fee column is included |
| Treating transfers between your accounts as sales | Tax software may count them as disposals | Match withdrawals to deposits in your own wallets |
| Overlapping date ranges | Duplicate rows | Use clear, non-overlapping periods |
| Enabling withdrawal on API keys | Theft if the key leaks | Read-only permissions only |
| Storing files in an unprotected cloud folder | Exposes your finances | Use encrypted storage |
Checking Your Data for Gaps
- Balance check: add up deposits, buys, sells, rewards and withdrawals for one asset and see whether the result matches your current balance.
- On-chain match: for withdrawals to your own wallet, look up the transaction hash on a block explorer to confirm the amount and date. Our guide on how to use a block explorer explains how.
- Missing assets: delisted tokens or products, such as old staking programs, may sit in separate reports.
What to Do If Something Goes Wrong
- The export fails or is empty: try a shorter date range or a different report type, then contact support through the official help center.
- History is incomplete: ask support for a full statement and keep a record of your request.
- The exchange has closed: gather emails, old downloads and bank statements, and rebuild on-chain activity from your wallet addresses.
- You suspect someone accessed your account: change your password, revoke API keys and contact support immediately.
Once you have complete files, read how to keep records of crypto transactions for taxes for a system to organize them. Tax rules differ by country and change over time, so check your tax authority's guidance or a qualified professional. Our overview of how crypto taxes generally work explains common concepts.
Bottom line
Exporting your exchange history is straightforward once you know to download every report type, check time zones and fees, and use only read-only API keys. Do it regularly, store the files securely and reconcile them against your balances so that your records are complete when you need them.
Preguntas frecuentes
Where do I find my transaction history on a crypto exchange?
Most exchanges put it in an area called something like Account, Orders, History, Reports, Statements or Tax Center. You usually choose a report type, such as trades, deposits and withdrawals, and a date range, then download a CSV file. Some exchanges email the file or prepare it in the background.
Is it safe to connect my exchange to a tax tool with an API key?
It can be reasonably safe if the API key is read-only, meaning it cannot trade or withdraw, and you create it only on the official exchange site. Never enable withdrawal permission for a reporting tool, restrict the key to specific IP addresses if possible, and delete keys you no longer use.
How far back can I export my crypto transactions?
It varies by exchange. Some let you export your entire account history, while others limit each download to a set period, such as a year, so you must export several files. Download your records regularly, because access can become harder if an exchange closes or restricts your account.
What should I do if my exchange has shut down?
Try to retrieve any reports the exchange or its administrator still provides, and search your email for confirmations, statements and deposit or withdrawal notices. Use block explorers to rebuild on-chain deposits and withdrawals from your wallet addresses. Keep notes on how you reconstructed missing data.
