BitMEX Tax Reporting

TokenTax connects to BitMEX for easy crypto-currency trade tracking and tax filing.

Bitmex crypto exchange

Learn everything you need to know about crypto tax in our Cryptocurrency Tax Guide

How Bitmex tax reporting works

Bitmex is one of the most popular exchanges for crypto margin trading. Unlike typical spot crypto exchanges, you don’t actually buy or sell cryptocurrency on Bitmex; rather, you can enter long and short positions by buying and selling contracts for difference that represent bitcoin and altcoins. 

Because you are trading contracts, you are not trading actual crypto. Crypto only serves as collateral for your margin position. If you open a position worth 1 BTC, you are not triggering a taxable gain or loss on that 1 BTC. Rather, you are taxed on any profits you make. 

It is important that you report your taxes on Bitmex profits. TokenTax supports importing your margin trades from Bitmex via API key with a plan that supports margin trading.

Citizens of the U.S. and certain other countries are not allowed to use Bitmex. If I’m not allowed to trade on Bitmex, should I still report it on my taxes?

Yes, you should. Bitmex’s terms of service prohibit using their site if you are from a disallowed country like the United States. It’s their responsibility to ensure that you do not use their site. It’s more severe of an issue to not report gains you make on Bitmex than it is to report trading on an exchange that shouldn’t let U.S. users on their platform.

Uploading a BitMEX CSV with TokenTax

  1. Go to your Bitmex wallet (deposits/withdrawals) page (https://www.bitmex.com/app/wallet).

  2. At the top right, to the right of where it says "Wallet," click "Save as CSV". Note that we require the wallet history, not the trading / execution history.

  3. Upload your CSV file to TokenTax.

Importing a BitMEX API into TokenTax

  1. Open the BitMEX API page (https://www.bitmex.com/app/apiKeys) by first clicking on your account name (email) the top right corner. Then, click Account and Security, and on the left sidebar, click API Keys.

  2. Leave Key Permissions blank and Withdraw unchecked.

  3. Click the Create API Key.

  4. Copy your API key and secret to TokenTax.

Calculate your crypto taxes now

TokenTax does the hard work so you don’t have to.