Exchange · API · CSV

CoinEx spot and futures, one tax report.

Connect CoinEx with a read-only API key and HashBooks reads your trades, deposits and withdrawals. A file upload works too, through the HashBooks template.

  • PnL and funding
  • 8 country reports
  • Read-only
Connection receiptIllustrative
From
CoinEx
To
HashBooks ledger
Method
Read-only API key
Access
View only. No trading, no withdrawals
Brings in
Spot and other trades the API returns, Closed futures and perpetual positions, with funding
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

At a glance

CoinEx in brief.

CoinEx at a glance
Listed jurisdictionChina
Marketsspot, margin and perpetual swaps
How HashBooks connectsRead-only API key, or file
History it gives HashBookstrades, deposits and withdrawals
Websitecoinex.com
API documentationdocs.coinex.com
Fee schedulecoinex.com

Jurisdiction, markets and links as listed in the open-source ccxt library (4.5.85), which HashBooks uses to connect to exchanges.

Taxed or not

CoinEx activity, taxed or not.

For the country you picked at the top of the page.

What’s taxable on CoinEx in United States
On CoinExTaxable in United States?How
Selling for cashYesCapital gain or loss; short- or long-term by holding period.
Swapping one coin for anotherYesA disposal of the coin you give up, at market value.
Rewards, staking and interestIncomeOrdinary income at fair market value when received.
Futures and perpetualsYesGain or loss when a position closes; funding adds to or reduces it.
Moving to your own walletNoMoving between your own wallets and accounts.
Buying cryptoNoBuying with dollars sets your cost basis.
What’s taxable on CoinEx in United Kingdom
On CoinExTaxable in United Kingdom?How
Selling for cashYesCapital Gains Tax above the £3,000 annual exempt amount.
Swapping one coin for anotherYesA disposal at market value.
Rewards, staking and interestIncomeIncome at the pound value when received.
Futures and perpetualsDependsGains and losses on closed positions; treatment depends on the contract.
Moving to your own walletNoMoving between your own wallets.
Buying cryptoNoBuying with pounds adds to your Section 104 pool.
What’s taxable on CoinEx in India
On CoinExTaxable in India?How
Selling for cashYes30% plus 4% cess on the gain; 1% TDS on Indian exchanges.
Swapping one coin for anotherYesA transfer of the coin you give up, taxed at 30% plus cess; TDS applies on both legs.
Rewards, staking and interestIncomeAt your slab rate when received.
Futures and perpetualsDependsReported in rupees; the treatment depends on the contract, so check with a CA.
Moving to your own walletNoMoving between your own wallets and exchanges.
Buying cryptoNoBuying with rupees sets your cost of acquisition.

Worked example

How the tax adds up.

A CoinEx position, as your tax office would treat it. These are example figures, not yours; HashBooks uses your own history for those.

A perpetual closed at a profit

Illustrative · United States

A perpetual closed at a profit, line by line
Realised profit on the position$1,200
Funding paid while it was open−$80
Net result$1,120
At a 22% ordinary rate if short-term$246.40

Rates depend on how the contract is treated; check yours with a tax professional. The full example in the help centre.

A perpetual closed at a profit

Illustrative · United Kingdom

A perpetual closed at a profit, line by line
Realised profit on the position£1,000
Funding paid while it was open−£60
Net result£940

HashBooks reports the figures in pounds; derivatives can be taxed differently from coins, so have an adviser check them. The full example in the help centre.

A perpetual closed at a profit

Illustrative · India

A perpetual closed at a profit, line by line
Realised profit on the position₹80,000
Funding paid while it was open−₹5,000
Net result₹75,000

Reported in rupees; how it’s taxed depends on the contract, so check with a CA. The full example in the help centre.

Your country

How CoinEx 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 CoinEx. 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 CoinEx in United States
  • Futures and perpetuals on CoinEx. Closing a futures or perpetual position realises a gain or loss, and funding you pay or receive moves your result too. HashBooks records both in dollars on the day. More on CoinEx in United States
  • Rewards and interest from CoinEx. Staking rewards, interest and other rewards are ordinary income at their dollar value when received; that value becomes their cost basis. More on CoinEx in United States
  • Moving coins to or from CoinEx. Moving crypto between your own wallets and accounts isn’t taxable. More on CoinEx 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 CoinEx 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 CoinEx. 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 CoinEx in United Kingdom
  • Futures and perpetuals on CoinEx. Gains and losses on closed futures and perpetual positions, and funding payments, are reported in pounds. Derivatives can be taxed differently from spot coins, so have an adviser check the treatment. More on CoinEx in United Kingdom
  • Rewards and interest from CoinEx. Staking rewards are income at their pound value when received, and that value becomes their cost for a later disposal. More on CoinEx in United Kingdom
  • Moving coins to or from CoinEx. Moving crypto between your own wallets isn’t a disposal. More on CoinEx in United Kingdom
  • Cost basis. Disposals match same-day buys, then buys in the next 30 days, then the Section 104 pool. More on CoinEx 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 CoinEx. 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 CoinEx in India
  • Futures and perpetuals on CoinEx. Gains and losses on crypto futures and perpetuals are reported in rupees; how they are taxed depends on the contract and your facts, so check with a CA. More on CoinEx in India
  • Rewards and interest from CoinEx. Staking, airdrop and other rewards are income at your slab rate when received; selling them later is a separate 30% transfer. More on CoinEx in India
  • Moving coins to or from CoinEx. Moving crypto between your own wallets and exchanges isn’t a transfer. More on CoinEx in India

Full rules: the India crypto tax guide in the help centre, or the India overview.

See the rules for your country.

How to connect

CoinEx, step by step.

Pick the method that suits you — both land in the same ledger. Stuck? See connecting accounts in the help centre.

  1. Sign in to CoinEx and open its API management page.
  2. Create a new API key and enable read (view-only) permission only. Leave trading and withdrawals switched off.
  3. In HashBooks, choose CoinEx under Integrations and paste the API key and secret.
  4. HashBooks syncs your full history and keeps it up to date.

What comes across

What HashBooks reads from CoinEx.

  • Spot and other trades the API returns
  • Closed futures and perpetual positions, with funding
  • Deposits
  • Withdrawals
  • Fees

Good to know

CoinEx specifics.

  • HashBooks prepares your report for the country where you file, not where CoinEx is based, so gains on CoinEx follow your own country’s rules.
  • CoinEx offers spot, margin and perpetual swaps. Closed positions and funding payments are imported alongside spot trades, so the report shows your whole result on the platform.

Security

A read-only CoinEx key, and nothing more.

HashBooks has no code that can trade, withdraw or transfer on CoinEx. The key is encrypted with AES-256-GCM and deleted when you disconnect. How HashBooks keeps data safe.

Questions

CoinEx, answered.

Does CoinEx report my trades to the tax office?

Reporting depends on where CoinEx 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.

How are CoinEx futures and perpetuals taxed?

Closing a position realises a gain or loss, and funding you pay or receive adds to or reduces your result. HashBooks imports both from CoinEx and reports them under your country’s rules; the tax section above shows how your country treats them.

Does HashBooks need trading permission on CoinEx?

No. Create the CoinEx key with read access only and leave trading and withdrawals off. HashBooks has no code that can trade or withdraw, and the key is encrypted with AES-256-GCM and deleted when you disconnect.

How do I get my CoinEx transaction history for taxes?

Connect CoinEx with a read-only API key and HashBooks pulls the history for you. You can also export a statement from CoinEx and upload it with the HashBooks template.

Which HashBooks plan do I need for CoinEx?

Connecting CoinEx 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 CoinEx?

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 CoinEx.

Something else? Read all questions and answers, ask us or browse the help centre.

Ready?

CoinEx today, the rest when you like.

Free to start. Read-only from the first click.

Esc

Try “Schedule VDA”, “Kraken”, “Form 8949” or “accountants”.

Sample report