HTX Taxes: How to File Your Crypto Tax Report
HTX does not withhold taxes or file reports on your behalf. Every trade and disposal is your responsibility. CoinTracking imports your full HTX history, calculates gains and losses, and generates a tax report ready for your country.
- Every crypto trade on HTX is a taxable disposal in most EU countries. Capital gains tax applies when you sell or swap crypto.
- Transfers between your own wallets are not taxable events. Buying crypto with fiat is not a taxable event.
- The HTX API only provides trades from the last 180 days. If you have a longer trading history on HTX (formerly Huobi), export your full transaction history from HTX directly to ensure complete coverage. Under DAC8, EU exchanges are required to report user data to tax authorities from 2026.
HTX and Your Tax Obligations
HTX — formerly known as Huobi Global — is one of the world's oldest and largest crypto exchanges, founded in 2013. It offers spot trading across a broad range of cryptocurrencies and has been a major platform for traders worldwide throughout multiple market cycles.
HTX does not withhold taxes or file reports on your behalf. You are responsible for tracking every transaction, calculating gains and losses, and declaring them to your national tax authority.
CoinTracking supports the HTX import via API:
- HTX (spot trading): connect automatically via API Key and Secret with Read-Only permissions — note that the API covers only the last 180 days of trades
Crypto Tax Basics: What EU Investors Need to Know
Tax rules for crypto vary across EU member states. These three principles apply broadly, but always verify the specifics with your local tax authority or a qualified advisor.
Trading crypto is a taxable disposal
In most EU countries, every sale or swap of crypto is a taxable event. Capital gains tax applies to the difference between what you paid (cost basis) and what you received. Transfers between your own wallets do not trigger tax.
Full history matters for cost basis
Because the HTX API only covers the last 180 days, traders with a longer history on HTX or its predecessor Huobi need to ensure older transactions are included. Missing early purchases distort your cost basis and lead to an incorrect tax liability. Export your full history from HTX to fill any gaps.
Records are your responsibility
EU crypto exchanges are required under DAC8 to report transaction data to national tax authorities from 2026. Accurate records remain your responsibility. CoinTracking maintains a complete, dated audit trail of every HTX transaction.
HTX Taxes by Country
Crypto tax rules differ by market. Below are the key rates, deadlines and filing forms for the countries where CoinTracking users trade most actively on HTX.
Germany
- Disposal tax: Personal income tax rate (up to 45%); gains are tax-free if held longer than 1 year (Haltefrist)
- Annual exemption: Gains up to €600/year are tax-free
- Trading income: Taxed as other income (Sonstige Einkünfte)
- Cost basis: FIFO
- Authority: Finanzamt
- Forms: Anlage SO, Anlage KAP
United Kingdom
- Capital Gains Tax: 18% (basic rate) or 24% (higher rate) from October 2024
- Annual exempt amount: £3,000 (2024/25 onward)
- Trading income: Income Tax at marginal rate if trading is a business
- Cost basis: Section 104 pool (HMRC rules)
- Authority: HMRC
- Forms: Self Assessment SA100, SA108
Spain
- Savings income (IRPF): 19% up to €6,000; 21% up to €50,000; 23% up to €200,000; 27% up to €300,000; 28% above
- Foreign crypto disclosure: Modelo 721 required if portfolio exceeds €50,000 abroad
- Trading income: Taxed as savings income (rendimientos del capital)
- Authority: Agencia Tributaria (AEAT)
- Forms: Modelo 100 (IRPF), Modelo 721
Poland
- Flat rate: 19% on all crypto gains (no holding period exemption)
- Loss carryforward: Up to 5 years
- Trading income: Taxed as capital income at 19%
- Cost basis: FIFO
- Authority: Urząd Skarbowy
- Form: PIT-38
Italy
- Flat rate: 26% on gains exceeding €2,000/year (from 2023)
- Foreign holdings disclosure: Quadro RW required if portfolio exceeds €15,000
- Trading income: Taxed as capital income at 26%
- Authority: Agenzia delle Entrate
- Forms: Quadro RT (gains), Quadro RW (foreign holdings)
Portugal
- Disposal tax: 28% on gains from crypto held less than 1 year (from 2023)
- Long-term holding: Tax-free on disposal if held 1 year or longer
- Trading income: Taxed at 35% flat rate or progressive income tax rates
- Authority: Autoridade Tributária (AT)
- Forms: Modelo 3, Anexo G or Anexo J
United States
- Short-term gains (held under 1 year): Ordinary income tax (10-37%)
- Long-term gains (held 1 year or longer): 0%, 15%, or 20% depending on income
- Trading income: Taxable as capital gain or loss
- Cost basis: FIFO (default); specific identification permitted
- Authority: IRS
- Forms: Form 8949, Schedule D
France
- Flat 30% tax (PFU): Gains from crypto disposals are subject to the prelevement forfaitaire unique (PFU) — 12.8% income tax + 17.2% social charges.
- No exemption for holding period: Unlike Germany, there is no tax-free threshold after 1 year.
- Trading income: Taxed as BNC (non-commercial income) if received regularly; otherwise as capital gains.
- Authority: Direction generale des Finances publiques (DGFiP). Declare via Formulaire 2086.
Austria
- 27.5% capital gains tax: Since March 2022, crypto is taxed like shares — a flat 27.5% KeSt (Kapitalertragsteuer) applies to gains.
- Old coins grandfathered: Crypto acquired before 28 February 2021 is tax-free on disposal.
- Trading income: Treated as capital income, also taxed at 27.5%.
- Authority: Finanzamt Austria. Report via Einkommensteuererklarung (E1 / E1kv).
Tax rules change frequently. This overview is for general information only and does not constitute tax advice. Consult a qualified advisor for your specific situation.
Are HTX Transactions Taxable?
In most EU countries, crypto is treated as an asset: disposing of it can trigger capital gains tax. Use this as a starting reference. The exact rules vary by country.
Taxable Events
- Selling crypto for fiat (EUR, GBP, USD, etc.)
- Swapping crypto for crypto
- Airdrops received in exchange for an action
- Using crypto to pay for goods or services
Not Taxable
- Buying and holding crypto
- Transferring crypto between your own wallets
- Depositing fiat to HTX
- Receiving crypto as a personal gift
Tax treatment varies by country. CoinTracking applies the rules for your selected jurisdiction automatically.
How to Calculate Your HTX Taxes
HTX (formerly Huobi) has operated since 2013, which means many users have years of transaction history to reconcile. Because the API only covers the last 180 days, it is important to export your complete history from HTX directly if you have been trading for longer than 6 months.
The core calculation is: take what you received (proceeds), subtract what you paid (cost basis, calculated with FIFO), and the result is your taxable gain or loss. Accurate cost basis depends on having all purchase records — not just recent ones.
CoinTracking automates this across your full HTX history and produces a report your accountant or local tax authority will accept.
How to Import HTX into CoinTracking
Three steps to connect your HTX account and sync all transactions automatically.
- 1
Log into CoinTracking and open Imports
After logging in, click the Import icon in the left navigation. This is where you connect all your exchanges, wallets and blockchains.
- 2
Search for HTX
Type HTX in the search field and select it from the results.
- 3
Create an HTX API key and connect
In HTX, hover over the account icon and select API Management at https://www.htx.com/en-us/apikey. Grant Read-Only permissions and create an API Key. Paste your API Key and Secret into CoinTracking and click Connect and Import. Import typically completes in 1-2 minutes. Note that the API only provides trades from the last 180 days — for older history, export your full transaction records directly from HTX.
"If you're dealing with crypto taxes, CoinTracking is the tool you need. It handles imports from every major exchange and generates reports that are ready to submit."
How to Create Your HTX
Tax Report with CoinTracking
Three steps from a fresh account to a tax report your accountant will accept.
Connect HTX via API
Log into CoinTracking, go to Imports and search for HTX. Create a Read-Only API key at https://www.htx.com/en-us/apikey and paste it into CoinTracking — import completes in 1-2 minutes. The API covers the last 180 days of trades. For older history, export your full transaction records from HTX directly.
Review your transactions
Open Reports and Validate Transactions. CoinTracking flags missing cost basis entries, duplicate imports and price gaps so your final report is accurate.
Generate and export your tax report
Select your country and tax year. CoinTracking generates a report formatted for your jurisdiction: PDF or Excel, ready to file or hand to your accountant.
In most EU countries, yes. Every crypto sale or swap on HTX is a taxable event. Capital gains tax applies on the difference between your cost basis and proceeds. Tax-free thresholds and rates vary by country.
From 2026, EU crypto exchanges are required under DAC8 to report user transaction data to national tax authorities. Outside the EU, HTX shares data with authorities under international information exchange agreements. Your trading history is increasingly visible to tax authorities.
The HTX API has a data retention limit and only provides trades from the last 180 days. If you have traded on HTX for longer than 6 months, you will need to export your full transaction history directly from HTX and import it separately to ensure a complete and accurate tax report.
Log into CoinTracking, go to Imports and search for HTX. Click Connect automatically. In HTX, hover the account icon and select API Management at https://www.htx.com/en-us/apikey. Grant Read-Only permissions and create an API Key. Paste your API Key and Secret into CoinTracking and click Connect and Import. Note that the API only covers the last 180 days of trades.
Yes. HTX is the rebranded name of Huobi Global, one of the world's longest-running crypto exchanges. If you traded on Huobi before the rebrand, your transaction history is the same account and can be imported via CoinTracking using the HTX import.
Yes. In most EU countries and in the US, realised losses from crypto can be offset against gains in the same tax year. Rules on carrying losses forward vary by country. CoinTracking calculates and reports both gains and losses automatically.
Start Tracking Your Crypto Taxes Today
Experience why 2.2 million users trust CoinTracking — sign up today for a seven-day free trial!