logo

How To Do Your Crypto.com Taxes

Traded on Crypto.com? This guide explains how to export all your trades and calculate your Crypto.com taxes with ease.

API Import CSV File Import

Exporting data from the Crypto.com App:

  1. Open your Crypto.com app and go to the Accounts tab
  2. Click on the Transaction history button in the top-right corner
  3. Click on the EXPORT button in the top-right corner
  4. Select Crypto wallet under the Transaction drop down
  5. Select a Start date that includes all your transactions
  6. Select End date as today
  7. Click on Export to CSV
  8. Repeat this process for the other options under the Transaction dropdown (fiat wallet, mco visa card etc)

Once you have all the csv files, just upload them one by one to your Crypto.com wallet on Koinly.

Exporting data from the Crypto.com Exchange:

The exchange sadly doesn't offer any decent API or CSV. There is an API you can try using but a lot of users have reported that it doesnt import all transactions (as of 9/7/2020). This might get fixed by crypto.com eventually. For now, you can try adding your API keys to Koinly and if you don't see all your transactions then follow these steps.

exporting data from crypto.com exchange with script

  1. Go to your Order History page on Crypto.com exchange
  2. Right click anywhere on the page and click on Inspect.
  3. A box will appear at the bottom, click on the Console tab.
  4. Copy/paste the below text into it, wait a few seconds and you should get a csv with your trades.
$.ajax({url:"/fe-ex-api/order/entrust_history",type:"POST",dataType:"json",contentType:"application/json",headers:{"exchange-token":document.cookie.match(/token=([0-9a-zA-Z]+)/)[1]},data:JSON.stringify({isShowCanceled:0,page:1,pageSize:1e3,quote:"",size:"",symbol:"",type:0})}).then(function(e){if(e.data){let t=["Koinly Date","Pair","Side","Amount","Total","Txhash"].join(",");e.data.orderList.forEach(function(e){t+="\n"+[new Date(parseInt(e.time_long)).toISOString(),e.baseCoin+"-"+e.countCoin,e.side,e.volume,e.total_price,e.id.toString()].join(",")}),console.log(t);let o=encodeURI("data:text/csv;charset=utf-8,"+t),a=document.createElement("a");a.setAttribute("href",o),a.setAttribute("download","crypto_exchange_data.csv"),document.body.appendChild(a),a.click()}});

If you also have deposits/withdrawals on your exchange then you will need to import these manually. You dont need to import deposits/withdrawals to the Crypto.com App.

View your taxes for free

Once you have imported the data to Koinly, just head over to the Tax Reports page which will show you your capital gains/losses from Crypto.com.

Importing Crypto.com transactions automatically via API

Follow these steps to get your API keys:

  1. Login to your Crypto.com Exchange account
  2. Go to Settings > API Keys > Create new API key
  3. Enter koinly in the label and your 2FA code
  4. Click on Create API, set IP restriction to Unrestricted.
  5. Copy your API Key and API Secret to Koinly

Importing Crypto.com transactions manually via CSV files

Follow these steps to download your transaction files:

  1. Open your Crypto.com app and go to the Accounts tab
  2. Click on the Transaction history button in the top-right corner
  3. Click on the Export button in the top-right corner
  4. Select Crypto wallet under the Transaction drop down
  5. Select a Start date that includes all your transactions
  6. Select End date as today
  7. Click on Export to CSV
  8. Repeat this process for the other options under the Transaction dropdown (fiat wallet, mco visa card etc)
  9. Upload the downloaded file to Koinly

If you are also using the Crypto.com Exchange then you have to connect it via API to this wallet so Koinly can import your trades from it.