Skip to main content
NiceHash - API Import Guide

How to automatically import your Nice Hash transactions into CoinLedger

Lucas Wyland avatar
Written by Lucas Wyland
Updated over 3 weeks ago

CoinLedger only needs "Read" or "View" access to import your trade history. This permission protects your accounts. Learn more about API access in this article here.

Step 1:

Login to your NiceHash account.

Step 2:

Navigate to the API Keys section under the Settings Page.

Step 3:

Click Create New API Key and fill out the the form with the following settings:

  • Wallet Permissions - View balances, wallet activities and deposit addresses - Turn this option on

  • Exchange Permissions - View exchange order - Turn this option on

  • All other options - Turn these off

Step 4:

Copy your API Key and API Secret as these values will be needed later.

Step 5:

Follow the on-screen steps to enter your verification code to fully activate the API key. Once activated, copy your Organization Id.

Step 6:

Navigate to Step 1. Import. Select Add Account then choose the Nice Hash tab on CoinLedger. Click on Auto-Import then enter your API Key, API Secret and Organization ID into the correct fields. Click Sync Transactions.

Important note

NiceHash does not export complete transaction data for fiat purchases or sells made on exchange. The API import only includes the crypto amount received or sent does not include the fiat amount. As a result, CoinLedger imports these transactions as Deposits or Withdrawals (non-taxable self-transfers).

Refer to this guide for instructions for how to edit the Deposit transaction and change it to a Buy (and with using the same approach you can edit a Withdrawal and change it to a Sell.)

Did this answer your question?