Gate.io - API Import Guide

How to automatically import your Gate.io transactions into CoinLedger

Lucas Wyland avatar
Written by Lucas Wyland
Updated over a week ago

This help article shows you how to create an API key within Gate.io. You can use this key to connect your account, and automatically import your transactions.

Video Import Guide

Note: 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.

Important Note: Gate.io has a significant export limitation for fiat purchases

Fiat purchases made with debit/credit or bank transfer are exported by Gate.io as one-sided deposits. Fiat purchases made from your fiat wallet balance do get exported correctly (both sides of the transaction are included so CoinLedger is able to parse these correctly as a Fiat Buy transaction)

If you purchased crypto on Gate.io using debit/credit or bank transfer, you will need to import those purchases separately. There are three ways that you can import these fiat purchases into CoinLedger.

  • Add them in-app as single transactions under your Gate.io tab in Step 1. Import

  • Create a CSV template and enter your fiat purchases as Trades

  • Download the Deposits file from Gate.io. When you import this file into CoinLedger your fiat purchases will show up as one-sided deposits. Navigate to Step 3. Review and edit the transaction to change the transaction type to Fiat Buy, and then add in the fiat amount.

Step-by-Step Import Instructions

Step 1:

Log in to your Gate.io account

Step 2:

  • Navigate to the API section

  • Click on the User icon in the top right corner and select API Management

Step 3:

Select APIv4 Keys in the menu on the left.

Step 4:

Click on Create API Key button on the right.

  • Enter a remark (this can be anything you'd like) for the API key, make sure Read Only permissions are given to Spot/Margin Trade and Wallet

  • Click Confirm & Create

  • Pass the security verification

Step 5:

Copy the Key and Secret into a safe place.

Step 6:

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

Did this answer your question?