This guide will help you import your App and Exchange transactions into Koinly.

Start by creating a wallet on Koinly. If you used the exchange then choose the "Setup API" option, if you have never done any trades on the exchange then just pick the CSV option.

Exporting data from the App:

  1. Open your 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. Once you have all the csv files, just upload them one by one to your wallet on Koinly.

Exporting data from the 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 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.

  1. Go to your Order History page on 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({let t=["Koinly Date","Pair","Side","Amount","Total","Price","Txhash","Status"].join(",");{t+="\n"+[new Date(parseInt(e.time_long)).toISOString(),e.baseCoin+"-"+e.countCoin,e.side,e.deal_volume,e.status === 2 ? e.total_price : (e.avg_price * e.deal_volume).toFixed(8),e.avg_price,,e.status].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),}});

If you also have deposits/withdrawals on your exchange then you will need to import these manually or you can try the scripts on this page.

Did this answer your question?