ByBbt Logo

How to Connect ByBit and Koinly

Simplify Bybit tax reporting with Koinly. Integrate via API or CSV to easily calculate the tax liability of your Bybit transactions, trading and history. Get started for FREE!

API Import CSV File Import
Last updated: Monday, 14 November 2022

How to connect Bybit with Koinly

Bybit is a leveraged crypto exchange, specializing in derivatives and popular with veteran crypto investors. Though the exchange only launched in 2018, it has quickly amassed 1.5 million users trading millions daily.

How to get a tax statement from Bybit

You might be wondering, does Bybit provide CSV tax and trade history reports? What about a Bybit tax API? Is it even possible to get tax info and statements from Bybit? The good news is, while Bybit might not provide tax forms and documents, Bybit does offer 2 easy ways to export transaction and trade history!

Bybit pairs with Koinly through API or CSV file import to make reporting your crypto taxes easy. Once connected, Koinly becomes the ultimate Bybit tax tool. How? Koinly will calculate your Bybit taxes based on your location AND generate your EOFY tax report, all within 20 minutes! All you’ll need to do at tax time is download your Bybit tax statement from Koinly and file it with your local tax authority. Done!

Connect to Koinly with the Bybit tax report API

On Koinly

  1. Sign up or log in to Koinly and go to the wallets page.
  2. Select add new wallet: Bybit.
  3. Select set up auto-sync.
  4. Head over to Bybit.

On Bybit

  1. Log in to your Bybit account.
  2. In the top right hand corner, hover over your profile icon.
  3. From the drop-down menu, select API.
  4. Select create new API key.
  5. Select API transaction.
  6. Enter a name for your API key, like Koinly.
  7. Leave the IP address box empty.
  8. Under API key permissions, check all boxes.
  9. Check read-only.
  10. Select confirm.
  11. Complete two-factor verification.
  12. Copy the API key and API secret.

Back to Koinly

  1. Paste the API in to the API key box.
  2. Paste the API secret into the API secret box.
  3. Select secure import.

Good to know
You'll need to have two-factor authentication enabled in your Bybit account to create a new API key, so make sure you've set this up before you try and sync with Koinly. Bybit uses SMS and Google Authenticator for its two-factor authentication. Your API secret will only appear once, when you first create it. So copy this first and paste it somewhere safe so you don't lose it, otherwise you'll have to start all over again. You don't have to enter an IP address when you're making your API key . This means you'll need to create a new API key in Bybit every three months.

How to import your Bybit tax report CSV file to Koinly

Bybit has a few CSV files you may need to export and upload to Koinly depending on the transactions you've made in Bybit, including:

  • Asset History
  • Earn Account Data

Please note - you'll only need the Earn Account Data CSV file if you've participated in the Bybit earn program. If you haven't, you'll only need your Asset History CSV file from Bybit. Let's take a look at how to get each.

On Bybit

Asset History

You can request your derivative account asset history and spot account asset history by emailing [email protected]. Title your subject line "Request Derivative/Spot Account Asset History Data", and include a date range requested, coin type and file format in your request. You should receive your file back from Bybit within 10 working days.

Earn History

  1. Log in to Bybit.
  2. Select Assets.
  3. Select Earn Account.
  4. Select Export.
  5. Pick a date range. The maximum date range is 6 months, so you may need multiple CSV files to export your entire transaction history.

Once you have your files, here's how to upload them to Koinly.

On Koinly

  1. Sign up or log in to Koinly and head to the wallets page.
  2. Select add new wallet: Bybit.
  3. Select import from file.
  4. Upload the CSV file(s).
  5. Select import.

Good to know
You can only export up to 5 files a day, so depending on how many files you need, you might need to plan to do this over several days. Your exports take around 5 or 10 minutes to process, you'll be able to download them after this. Your download URL will only stay live for 7 days.
Bybit has a maximum date range of between 3 to 6 months depending on the data you're exporting. Koinly needs your entire transaction history, for however long you've been using your Bybit account - so make sure you download as many files as you need to cover this period.

How do I troubleshoot my Bybit integration to Koinly?

Having trouble connecting Bybit with Koinly? No worries - check out these resources: