How do I get my Bybit API key?
- Log into your Bybit account.
- Hover over the user icon, in the upper-right corner, to display the drop-down menu and select "API".
- Then select "Create New Key" (System-generated API Keys).
- Select the "API Transaction" box and enter a unique name for your API Key.
- Do not use IP whitelisting.
- Grant the API key permissions "Orders", "Positions", "Trade", "Account Transfer", and "Subaccount Transfer" as shown in the image below and enable strictly the "Read-Only" option.
- Click on "Confirm" and enter your Google Authenticator password.
- To import your data, you must first create an Integration in the Blockpit Web App.
To do so, click + Integration in the upper navigation. - Select Bybit from the list of exchanges, and then copy the API key and the secret into the designated fields. Confirm your entries by clicking Create.
Your API key will have to be renewed every 3 months. You can edit the Integration and renew your API key there.
When using Bybit subaccounts, each subaccount must be imported into a separate Blockpit Integration. To do this, you must create a new Blockpit Integration using a special subaccount API key (Subaccount → API Management).
Which data can be imported via Bybit API?
Your complete transaction history always serves as the basis for your tax report. Preferably, automatic API solutions are used to import your transactions. Our team is committed to implementing all API data provided by your exchange for you.
Using the following list, you can identify products that have not yet been implemented and either add them to your Integration manually or via a CSV export:
Transactions:
Supported
Classic Account: Spot Market Trades older than 365 days are not available via API and have to be imported manually or via XLS template.
Unified V1 & V2 Account: Conversions before May 2024 and Transfers, Spot Market Trades & Derivative PnL/Fee transactions older than 720 days (2 years) are not available via API and have to be imported manually or via XLS template.
Crypto Deposits & Withdrawals
Fee Payments
Refunds & Cashbacks
Conversions
Spot Market Trades
Leverage Token Trades
Derivative Trades PnL (Profit, Loss, Fee and Funding)
If transactions from your earning history are missing, you can help our support team via ticket to include them in our import spectrum.
Not Supported
Fiat Deposits & Withdrawals
Margin Trading
Trading Bot
Buy Crypto (Express, P2P)
Margin Trading
Conversions (Test cases for transactions post April 2024 required)
Airdrops
Flexible Savings
Liquidity Mining
Dual Assets
Shark Fin
Launchpool
Copy Trading
Caution
Bybit does not provide data for delisted assets and trading pairs via API.
If an import of your transactions via API is not available on exchange side, you can also add these transactions manually or by migrating your CSV data into our Excel template.
-
You can find delisted assets under the following link in the menu item "Delistings".
Search the transaction history of your exchange for delisted assets or trading pairs and make a comparison with all CSV files provided by your exchange.
Then add the missing transactions to your Blockpit integration, either one by one or aggregated batch:
Bybit-Derivatives-ClosedPNL.csv -
More information in the following article:
> How to import Derivative P&L transactions from futures or contract trading manually?
Synced Balance:
Supported
Other Accounts
Not Supported
Bybit Saving Account (only Funding Account Balance available)
Assets in the saving account are temporarily (until the saving process is exited) not fully displayed in the Synced Balance of your Blockpit integration. However, this has no effect on the tax report, as no internal outflows (transactions) occur in the integration. The resulting Tip: Mismatched Balance can be ignored in this context. The “Reconcile Balance” function should not be used in this exceptional case!
If your Synced Balance is displayed incompletely, you can help our support team via ticket to include it in our import spectrum (if technically possible).
> What is the difference between Synced/Manual Integrations and Synced/Calculated Balance?
How do I solve problems with my Bybit Integration?
-
Blockpit shows different Tips (indicators) in the Dashboard and your Transactions list depending on the type of problem you are facing. The following procedure can help you to solve these problems.
Please always synchronize all your integrations first using “Synce All” (Dashboard) and then start a calculation of your transaction data using “Recalculate ” (Transactions) before you analyze Tips or the performance values of your portfolio.
Product updates provided by Blockpit have no direct effect on existing transaction data in your Integration (precautionary measure to avoid changing existing transaction histories through automatic product updates), so creating a new Integration could bring it up to date and solve your problem (Tips) already.
1. Create a new Integration
Temporarily create a second Integration to be able to compare the new and old Integration. Then delete the Integration that you do not want to keep.
> How to create, sync, edit, convert, group, delete and deactivate Integrations?
Alternatively, it is possible to re-synchronize missing or incorrectly imported transactions. In order not to damage existing transaction histories and to avoid new duplicate transactions, we recommend the following article:
> How can to synchronize integrations or re-synchronize missing/incorrectly imported transactions?2. Label or merge Unlabeled Transactions
Unlabeled transactions can be subsequently categorized with a corresponding label, edited or merged into Trades or Transfers by selecting related transaction pairs. It is also possible to change the labels of multiple similar transactions collectively (bulk edit).
> Basics on Labeling and Merging of Transactions
3. Manually edit, exclude or delete transactions
If you should still see Tips, it is possible that these were caused by incorrect transactions or transactions that were imported twice. These transactions can be edited as follows.
> Transaction Details Overview and Managing & Editing of Transactions
4. Add new transactions
If transactions have not been fully imported, you can add them individually or upload them directly to your integration using the Blockpit XLS Template.
> How to import my CSV/Excel history?
5. Continue to browse Troubleshooting category
> Overview of frequently asked questions and their solutions