Exchange · API · CSV
CEX.IO taxes, API plus a statement.
CEX.IO’s API returns your ledger entries such as rewards and interest, but not your trade history. Connect a read-only key for those, and bring trades in from a statement.
- Read-only
- 8 country reports
- Free to start
- From
- CEX.IO
- To
- HashBooks ledger
- Method
- Read-only API key
- Access
- View only. No trading, no withdrawals
- Brings in
- Rewards and interest from the ledger, Fees
- Report
- Form 8949 SA108 Schedule VDA myTax capital gains Schedule 3 Anlage SO Form CG1 IRAS income summary
- Keys
- AES-256-GCM, deleted on disconnect
Every row keeps its original record
Good to know
CEX.IO specifics.
- CEX.IO’s API has no trade-history endpoint that HashBooks can read, so trades must come from a file. Without them your gains can’t be worked out.
- Up to 30 statements can be generated per month. Each statement stays downloadable for 30 days after it is generated.
- A new API key is not active until it is activated with the code sent to your email.
From CEX.IO’s own pages: support.cex.io, support.cex.io, support.cex.io. Checked October 2026.
How to connect
CEX.IO, step by step.
Pick the method that suits you — both land in the same ledger. Stuck? See connecting accounts in the help centre.
- Log in to CEX.IO and click your name in the upper-right corner of any Spot Trading page, then select Profile.
- In the left-hand navigation bar, select API Keys Management.
- Click + NEW API KEY.
- Enter a name for the key in the API Key Name field.
- Under permissions, keep only Read. Read is the default and allows only requests for data. Do not select Trade, Funds Internal or Funds Wallet.
- Optional: enter allowed IP addresses in the IPs for whitelisting field. If the field is left blank, the key can be used from any IP address.
- Click Create API Key and confirm with your 2FA code.
- Save the API Secret shown in the next pop-up. It cannot be viewed again.
- Click Activate next to the key and enter the code sent to your email.
- In HashBooks, choose CEX.IO under Integrations and paste the key and secret.
- Go to Spot Trading > Reports and open the Statements tab.
- Click New Statement.
- Select the period, the account type, the sub-accounts (the Account filter defaults to All accounts), the report type (Balance or Transactions), the currencies and, for Transactions statements only, the transaction types.
- Click Generate. The statement shows Queued until it is ready, then Completed with a Download button.
- Download the statement. Only CSV format is available.
- Copy the rows into the HashBooks CSV / Excel template: date, type, what you sent and received, the fee, and any TDS.
- Upload it in HashBooks, check the preview, then confirm. Uploading the same file twice never double-counts.
Taxed or not
Which CEX.IO moves create tax.
For the country you picked at the top of the page.
| On CEX.IO | Taxable in United States? | How |
|---|---|---|
| Buying crypto | No | Buying with dollars sets your cost basis. |
| Selling for cash | Yes | Capital gain or loss; short- or long-term by holding period. |
| Swapping one coin for another | Yes | A disposal of the coin you give up, at market value. |
| Rewards, staking and interest | Income | Ordinary income at fair market value when received. |
| Moving to your own wallet | No | Moving between your own wallets and accounts. |
| On CEX.IO | Taxable in United Kingdom? | How |
|---|---|---|
| Buying crypto | No | Buying with pounds adds to your Section 104 pool. |
| Selling for cash | Yes | Capital Gains Tax above the £3,000 annual exempt amount. |
| Swapping one coin for another | Yes | A disposal at market value. |
| Rewards, staking and interest | Income | Income at the pound value when received. |
| Moving to your own wallet | No | Moving between your own wallets. |
| On CEX.IO | Taxable in India? | How |
|---|---|---|
| Buying crypto | No | Buying with rupees sets your cost of acquisition. |
| Selling for cash | Yes | 30% plus 4% cess on the gain; 1% TDS on Indian exchanges. |
| Swapping one coin for another | Yes | A transfer of the coin you give up, taxed at 30% plus cess; TDS applies on both legs. |
| Rewards, staking and interest | Income | At your slab rate when received. |
| Moving to your own wallet | No | Moving between your own wallets and exchanges. |
What comes across
What HashBooks reads from CEX.IO.
- Rewards and interest from the ledger
- Fees
Your country
How CEX.IO activity is taxed where you live.
Change the country at the top of the page and these rules change with it. Every line links to the full explanation in the help centre.
United States · Form 8949
- Selling, swapping or spending what you hold on CEX.IO. Selling, swapping or spending crypto is a capital gain or loss: short-term at 10–37% if held a year or less, 0, 15 or 20% if held longer. More on CEX.IO in United States
- Rewards and interest from CEX.IO. Staking rewards, interest and other rewards are ordinary income at their dollar value when received; that value becomes their cost basis. More on CEX.IO in United States
- Moving coins to or from CEX.IO. Moving crypto between your own wallets and accounts isn’t taxable. More on CEX.IO in United States
- Cost basis. Since 1 January 2025 cost basis is tracked per wallet or exchange; HashBooks uses FIFO, lot by lot. More on CEX.IO in United States
Full rules: the United States crypto tax guide in the help centre, or the United States overview.
United Kingdom · SA108
- Selling, swapping or spending what you hold on CEX.IO. Selling, swapping or spending crypto is a disposal for Capital Gains Tax: gains above the £3,000 annual exempt amount are taxed at 18% or 24%. More on CEX.IO in United Kingdom
- Rewards and interest from CEX.IO. Staking rewards are income at their pound value when received, and that value becomes their cost for a later disposal. More on CEX.IO in United Kingdom
- Moving coins to or from CEX.IO. Moving crypto between your own wallets isn’t a disposal. More on CEX.IO in United Kingdom
- Cost basis. Disposals match same-day buys, then buys in the next 30 days, then the Section 104 pool. More on CEX.IO in United Kingdom
Full rules: the United Kingdom crypto tax guide in the help centre, or the United Kingdom overview.
India · Schedule VDA
- Selling, swapping or spending what you hold on CEX.IO. Each sale or swap is a transfer taxed at a flat 30% plus 4% cess on the gain. Losses can’t be set off, and only the cost of acquisition is deductible. More on CEX.IO in India
- Rewards and interest from CEX.IO. Staking, airdrop and other rewards are income at your slab rate when received; selling them later is a separate 30% transfer. More on CEX.IO in India
- Moving coins to or from CEX.IO. Moving crypto between your own wallets and exchanges isn’t a transfer. More on CEX.IO in India
Full rules: the India crypto tax guide in the help centre, or the India overview.
See the rules for your country.
Worked example
One example, line by line.
A typical CEX.IO sale, as your tax office would treat it. These are example figures, not yours; HashBooks uses your own history for those.
Illustrative · United States
| Proceeds | $3,500 |
|---|---|
| Cost basis (FIFO) | −$2,000 |
| Long-term gain | $1,500 |
| Tax at the 15% long-term rate | $225 |
Held a year or less, the same gain would be taxed at your ordinary rate, for example 22%: $330. The full example in the help centre.
Illustrative · United Kingdom
| Net gain | £20,000 |
|---|---|
| Less the annual exempt amount | −£3,000 |
| Taxable gain | £17,000 |
| £10,270 in the basic-rate band × 18% | £1,848.60 |
| Remaining £6,730 × 24% | £1,615.20 |
| Capital Gains Tax | £3,463.80 |
Your salary decides how much of the gain falls in the 18% band. The full example in the help centre.
Illustrative · India
| Sale value | ₹1,50,000 |
|---|---|
| Cost of acquisition | −₹1,00,000 |
| Gain (the ₹500 fee isn’t deductible) | ₹50,000 |
| Tax at 30% | ₹15,000 |
| Cess at 4% | ₹600 |
| Total tax | ₹15,600 |
| Less 1% TDS already deducted | −₹1,500 |
| Balance at filing | ₹14,100 |
A loss on another coin wouldn’t reduce this: VDA losses can’t be set off. The full example in the help centre.
At a glance
CEX.IO in brief.
| Listed jurisdiction | United Kingdom, European Union, Cyprus and Russia |
|---|---|
| Markets | spot |
| How HashBooks connects | API for transfers, file for trades |
| History it gives HashBooks | ledger entries such as rewards and interest |
| Website | cex.io |
| API documentation | trade.cex.io |
| Fee schedule | cex.io |
Jurisdiction, markets and links as listed in the open-source ccxt library (4.5.85), which HashBooks uses to connect to exchanges.
Security
A read-only CEX.IO key, and nothing more.
The CEX.IO key you create can only view. HashBooks has no way to place an order or move funds, stores the key encrypted with AES-256-GCM, and deletes it when you disconnect. How HashBooks keeps data safe.
Similar
More UK & eu exchanges, same ledger.
Questions
CEX.IO, answered.
Does CEX.IO report my trades to the tax office?
Reporting depends on where CEX.IO is regulated and where you live, so don’t rely on it. Your return has to include every sale and swap across all your platforms, which is what HashBooks brings together.
Why do I need a file for CEX.IO trades?
The CEX.IO API gives HashBooks your ledger entries such as rewards and interest but not your trades. Download your trade history from CEX.IO and upload it with the HashBooks template; the two sources land in the same ledger.
How do I get my CEX.IO transaction history for taxes?
Connect CEX.IO with a read-only API key and HashBooks pulls the history for you. You can also export a statement from CEX.IO and upload it with the HashBooks template.
Which HashBooks plan do I need for CEX.IO?
Connecting CEX.IO and seeing an estimated tax summary is free for up to 100 transactions across 3 connections. Filing reports for your country start on the Starter plan; see pricing.
Can HashBooks trade or withdraw on CEX.IO?
No. The key you create is view-only, and HashBooks contains no code that can trade, withdraw or transfer. It’s encrypted with AES-256-GCM and deleted the moment you remove CEX.IO.
Something else? Read all questions and answers, ask us or browse the help centre.
Ready?
CEX.IO today, the rest when you like.
Free to start. Read-only from the first click.