What is Bybit?
Bybit was founded in 2018 as a cryptocurrency derivatives trading platform. It is focused on serving individual retail clients to professional derivatives traders. Bybit has grown immensly in popularity over the past few years.
Do I need to pay taxes when using ByBit?
Depending on the country you pay taxes in it is likely that you will need to pay taxes on some or all of your transactions. Derivatives and spot trading typically are seen as taxable events unless you are simply buying crypto with fiat.
Does Bybit report to the tax authority?
Beginning January 1, 2026, Bybit will definitively report cryptocurrency activities of EU citizens to tax authorities, in compliance with the upcoming DAC8 directive. This change reflects a growing trend among global tax regulators, including the HMRC, to mandate crypto exchanges for customer data reporting.
How do I file taxes with Bybit?
There are three main steps you need to take in order to do your crypto taxes, these include: exporting your transactions history, calculating your gains, and submitting the correct tax form do your tax authority.
We'll walk through the entire process in this guide.
Step 1: How to export your ByBit transaction history
You can export your transaction history by either downloading CSV files from Bybit, or by using their API. Due to API time restrictions, we recommend using the CSV to do your taxes if you have transactions earlier than 6 months ago.
Transaction type | File Import | Automated Import |
---|---|---|
Withdrawals | ||
Deposits | ||
Trades (Spot) | ||
Inverse Perpetual | ||
USDT Perpetual | ||
Inverse Futures |
Automatic import
You can import transactions from Bybit into Divly by using our API integration. After you have provided the API keys, Divly will be able to fetch your latest transactions anytime.
-
Sign in to Bybit.
-
Click on your account icon in the top right and then API in the submenu.
-
Click the button Create New Key and select System-generated API Keys.
-
Set API Transaction, enter a Name (e.g. Divly).
-
Keep default Read-Only and No IP restriction.
-
Check all the boxes for the transactions you want to import, recommended to check Unified Trading and Assets for highest coverage.
-
Click Submit and enter your 2FA code.
-
Copy the API Key and API Secret into Divly.
Important: The API key will expire after 3 months. Please renew it after this period. Unified Trading data is available from October 2023 from Bybit. Deposits & Withdrawals are available from all time. Trades or transactions from the funding account will not be included, neither will staking rewards. Please complement with the CSV files for these transactions if needed.
File import
You can import Bybit transactions into Divly by downloading and importing a CSV file. Make sure to download the CSV file every time you want to include the latest transactions.
-
Sign in to Bybit.
-
Go to the Export Account Statement page on Bybit.
-
Check all boxes you see on your account, such as Account Change Details, Derivatives/Inverse Derivatives, and Unified Trading Account.
-
Set your date range to include all of your transactions. If there is a cap on the date range, you may need to download multiple files.
-
Click Export and then Download the files below. Unzip the CSV files before uploading to Divly.
-
In Divly, drag and drop the files we support (listed below in this guide). Divly will import the transactions.
-
If you have Spot Trades: In the top right, click Orders > Spot Order > Trade History in the sidebar. You can also follow this link: Trade History. Click on Export in the top right and select the relevant time range.
Files we support:
-
Bybit_AssetChangeDetails_spot_
-
Bybit_AssetChangeDetails_fund_
-
Bybit_Derivatives_closedpl_
-
Bybit-Derivatives-ClosedPNL-
-
Bybit-Spot-TradeHistory-
-
Bybit_unifiedAccount_uSDTPerpetualClosedPL_
-
Bybit_unifiedAccount_uSDCPerpetualClosedPL_
-
Bybit_unifiedAccount_preupgrade_DerivativesOrdersClosedPL
... and more
Files you should not upload to Divly (wrong files for taxes):
-
Bybit_AssetChangeDetails_uta_
-
Bybit-Spot-OrderHistory-
-
Bybit_Derivatives_tradehistory_
-
Bybit_AssetChangeDetails_contract_
-
Bybit-UM-TransactionLog
-
Bybit_unifiedAccount_uSDTPerpetualTradeHistory_
Important: Bybit is consistently adding new files and export methods that vary in quality. If you encounter new files with transactions that are not being imported into Divly, then contact our support team and we will help by building support for them in a timely manner. Thank you for helping improve our service.
File export screenshot:
API setup screenshot:
Step 2: Calculate your Bybit taxes
There are typically three ways to calculate your taxes. The method chosen depends on how much you are willing to pay and your knowledge of your country's tax laws.
Option A: Use a program like Excel and do all the calculations manually. This is free but can be time consuming and require a deep understanding of tax rules.
Option B: Us a tax platform like Divly to import your transactions and automate the calculations for you. Saves a lot of time for the price tag you pay.
Option C: Pay a tax lawyer to do your tax return for you. The most expensive option but can be worthwhile if you feel calmer having an expert doing everything for you.
Once you have chosen your method, the common transaction types from Bybit you will need to consider in your calcualtions include the following:
Withdrawls
Withdrawals refer to crypto transactions sent out of a ByBit account. If you sent your crypto to another crypto wallet you own, make sure it is matched as a Transfer to avoid it being treated as a sale. If the withdrawal refers to a P2P trade, gift, buying goods/services, or another transaction type, please label it accordingly when using Divly. The transaction type applied can affect your taxes.
Deposits
Deposits refer to crypto transactions being sent to your ByBit account. If you received crypto from another crypto wallet you own, make sure it is matched as a Transfer to avoid it being treated as a purchase. If the deposit refers to a received gift, mining income, or another transaction type, please label it accordingly when using Divly. The transaction type applied can affect your taxes.
Trades
Crypto trades refer to crypto being purchased for fiat, crypto being sold for fiat, or trading one cryptocurrency for another. On ByBit, these transactions are respectively called Buy, Sell, and Trade. Typically a Buy is not a taxable event, yet these transactions are still required to calculate the cost basis. A Sell or a Trade are seen as taxable events in most countries.
Inverse Perpetual
The Inverse perpetual contracts use BTC/ETH/EOS/XRP as the base currency. Traders need to confirm traded quantities in terms of USD (Quoted currency) and then use their base currency (such as BTC, ETH) to calculate margin, profit, and loss. If a trader wants to trade a BTCUSD contract, he must use BTC as his base currency. If he trades on ETHUSD contracts, he needs to hold ETH. Divly imports these transactions as Realized Profit or Realized Loss.
USDT Perpetual
USDT perpetual contract is a linear contract. The margin used for a linear contract is USDT, and calculation of margin and P&L of the perpetual contract is more direct. When trading 1 BTC and the price moves by 100 USDT, the profit/loss of the trader will be 100 USDT. Divly imports these transactions as Realized Profit or Realized Loss.
Inverse Futures
Bybit’s futures contracts are futures that have a predetermined settlement date and all positions have to be settled latest by a specific date. Inverse futures just mean that the payoff structure for your position is non-linear. The P&L is calculated so that the profit on the collateral you use matches the denomination of the contract as price adjusts. Divly imports these transactions as Realized Profit or Realized Loss.
Step 3: Submit the tax forms to your tax authority
The structure of the tax forms differ greatly based on your country. If you are using a service like Divly, the tax form will be automatically generated in a localized format with instructions on how to submit it.
If you are doing everything yourself, make sure to research exactly what needs to be declared. For more information see our crypto tax guides.
Common issues when calculating your ByBit taxes
If you are facing issues using the API, we recommend switching to the File Import. The Bybit files are more complete and cause less issues when calculating taxes.
If you have any issues with calculating your ByBit taxes, feel free to contact our support team which is available via the online chat on the bottom right hand corner of our website. Good luck!
Any tax-related information provided by us is not tax advice, financial advice, accounting advice, or legal advice and cannot be used by you or any other party for the purpose of avoiding tax penalties. You should seek the advice of a tax professional regarding your particular circumstances. We make no claims, promises, or warranties about the accuracy of the information provided herein. Everything included herein is our opinion and not a statement of fact. This article may contain affiliate links.