Skip to main content
All CollectionsIntegrations
How to import Kucoin and Kucoin Sub-Accounts
How to import Kucoin and Kucoin Sub-Accounts

Step-by-step instructions for how to import Kucoin API.

Morgan avatar
Written by Morgan
Updated over 6 months ago

Kucoin is a popular exchange used by many investors and traders. In this article we'll go over how to import a Kucoin API or CSV into your ZenLedger account, as well as how to import an API for Kucoin sub-accounts. Please note that it is rare for a user to have a Kucoin sub-account, so it is likely you will just need a general API import.

Due to exchange limitations, we are unable to import transactions before 2/9/2019 via API, so you will need to reach out to Kucoin's support team to obtain an Excel sheet of those transactions and then convert it to our custom CSV format. We provide instructions for how to do this at the end of this article.

Note: If you are a US user and no longer able to generate an API for your Kucoin account, but have missing transactions you need to import, please follow our CSV instructions exactly as they are listed to get a history of your transactions to import.

Step-by-Step Instructions to Import Kucoin API:

Step 1: Log in into your KuCoin account, hover over the profile icon in the top right corner, and select API Management (https://www.kucoin.com/account/api). Click the Create API button.

Step 2: Enter a Name (Zenledger) and passphrase of your choice (passphrase must be 7-32 characters with no spaces).

Step 3: Make sure API Restriction is marked General. Select No for IP Restriction and click Next. For security purposes, please do not check the Trade and Transfer permission boxes for this API key.

Step 4: Enter your trading password, email verification code and Google verification code. Once you do that a pop-up box will appear with the API details.

Step 5: Copy the Passphrase, Key and Secret and paste into your ZenLedger account. Go to Imports > Add Account > Kucoin > Kucoin API to do so. Then click Import and the API will import transactions.

Step-by-Step Instructions to Import Kucoin Sub-Account API:

Step 1: Login to your Sub-Account and in the User Profile page click on API. Click on Create API.

Step 2: Enter a Name (Zenledger) and passphrase of your choice (passphrase must be 7-32 characters with no spaces).

Step 3: Make sure API Restriction is marked General. Select No for IP Restriction and click Next. For security purposes, please do not check the Trade and Transfer permission boxes for this API key.

Step 4: Enter your trading password, email verification code and Google verification code.

Step 5: In ZenLedger, click the Import tab at the top of the page, and then search for Kucoin in the exchange list. Assuming you have already added a general API, the software will give you the option to Use Another Key, click that.

Step 5: Copy the Passphrase, Key and Secret and paste in ZenLedger. Click Import and wait a few moments as the API imports the transaction.

Step-by-Step Instructions for Kucoin CSV:

Step 1: Login into your Kucoin Account.

Step 2: Click on "Orders" and then select "Spot Trade History".

Step 3: Click on "Export."

Step 4: In the Market section, select the checkboxes for "Deposit/Withdrawal," "Spot Orders," and "Convert Orders."

Step 5: Choose the desired time range and select your current timezone.

Step 6: Set the file type as CSV and click "Confirm."

Step 7: Download the zip file, unzip it, and import the relevant CSVs into Zenledger.

  • Deposit_Withdrawal History_Deposit History

  • Deposit_Withdrawal History_Withdrawal Record

  • Spot Orders_Filled Orders

  • Convert Orders_Filled Orders

Step-by-Step Instructions for Kucoin Support XLSX:

Follow these instructions if you have any transactions before 2/19/2019 that you need to import.

Step 1: Contact Kucoin Support ([email protected]) to request an Excel file of your transaction data before 2/19/2019. Convert the Excel file provided by Kucoin Support ([email protected]) to our Custom CSV format

Step 2: Convert the Excel file to our Custom CSV format. Check out our Custom CSV Article for instructions on how to do this.

Step 3: Import the converted Custom CSV file into Zenledger by going to the Custom CSV Upload tab on the Add Account page.

Notes:

  • The Payment tab in the Kucoin Support Excel file provides deposit and withdrawal data. In our Custom CSV, please label deposit transactions as Receive and withdrawal transactions as Send.

  • The Trade tab in the Kucoin Support Excel file provides trade data. In our Custom CSV, please label these transactions as Trade.

If you have any issues or questions while importing your Kucoin API, please reach out to our Support Team for assistance!

Did this answer your question?