> For the complete documentation index, see [llms.txt](https://support.tiger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.tiger.com/english/settings/connections/crypto-exchanges/gate.io.md).

# Gate.io

{% hint style="success" %}
**The Tiger.com terminal supports connection to the Gate.io exchange, enabling the trading of spot and futures instruments (quoted in USDT) and the retrieval of real-time and historical data, along with synchronization of accounts, orders, and positions.**
{% endhint %}

{% hint style="warning" %}
**API settings depend on your account type - Classic or Unified Trading Account.** [**Learn more about the differences between them.**](https://www.gate.com/ru/announcements/article/33386)
{% endhint %}

## General steps

**To configure the connection, you need to perform the following steps:**

{% stepper %}
{% step %}

### Registration

Register on the [gate.io exchange website](https://www.gate.io/ru) (if you haven't already).
{% endstep %}

{% step %}

### Verification

In your exchange account, complete the KYC process in the **"Identity Verification"** section.
{% endstep %}

{% step %}

### 2FA

Open the **Security Settings** section and enable two-factor authentication (2FA).
{% endstep %}

{% step %}

### Switch to API

Click the profile icon and go to the **"API Management"** section:

Click the **"Create API key"** button:
{% endstep %}
{% endstepper %}

## Creating API keys for a Classic account

{% stepper %}
{% step %}

### IP Permissions

In the "API Key Note" field, enter a custom name for the key, then select:

* **IP Permissions** - Later;
* **API Key Type** - API v4 key;
* **Account Type** - Trading account.

{% endstep %}

{% step %}

### Trading permits

Enable the following permissions with **"Read and Write"** access:

* **Spot Trading;**
* **Perpetual Futures;**
* **Account.**

{% endstep %}

{% step %}

### Confirmation

If the API terms of service are acceptable to you, acknowledge the risks and select "I accept":

Enter the 2FA codes / financial password (if applicable) into the corresponding fields to complete the key creation process, then select **"Confirm"**:

{% endstep %}

{% step %}

### Key information

The API keys will appear on the page that opens; save them:

{% endstep %}

{% step %}

### Connecting to the terminal

Launch Tiger.com and select **File → Connections → Configure** from the main menu.

In the window that opens, click the **"+ Create new connection"** button and select Gate.io from the list that appears.

In the window that opens, select the server (Classic Spot or Classic Futures) and enter the API keys obtained from the Gate website:

{% hint style="success" %}
To connect simultaneously to the spot and futures markets using a standard Gate account, you need to configure two connections: Classic Spot and Classic Futures. You can use the same pair of API keys, provided that the necessary trading permissions were granted when creating them in the API settings within your Gate.io account.
{% endhint %}

Upon successful connection setup, you will see a corresponding message and a green icon next to the Gate.io connection:

{% endstep %}
{% endstepper %}

## Creating API keys for the Unified Account

{% stepper %}
{% step %}

### IP Permissions

In the "API Key Note" field, enter a custom name for the key, then select:

* **IP Permissions** - Later;
* **API Key Type** - API v4 key;
* **Account Type** - Trading account.

{% endstep %}

{% step %}

### Trading permits

Enable the following permissions with **"Read and Write"** access:

* **Spot Trading;**
* **Perpetual Futures;**
* **Account;**
* **Margin Trading (Unified Account).**

{% endstep %}

{% step %}

### Confirmation

If the API terms of service are acceptable to you, acknowledge the risks and select "I accept":

Enter the 2FA codes / financial password (if applicable) into the corresponding fields to complete the key creation process, then select **"Confirm"**:

{% endstep %}

{% step %}

### Key information

The API keys will appear on the page that opens; save them in a secure place:

{% endstep %}

{% step %}

### Connecting to the terminal

Launch Tiger.com and select **File → Connections → Configure** from the main menu.

In the window that opens, click the **"+ Create New Connection"** button and select Gate.io from the list that appears.

**In the window that opens, select the server (Unified Margin Account) and choose the margin mode set in your account's trading settings. Four options are available:**

* Classic Spot;
* Single-Currency;
* Multi-Currency;
* Portfolio.

<details>

<summary>📝 Expand to find out how to check the selected margin mode.</summary>

</details>

Then enter the API keys obtained from the Gate website:

<figure><img src="/files/Ml8m4RqGMVZ6vdhmk7v2" alt=""><figcaption></figcaption></figure>

Upon successful connection setup, you will see a corresponding message and a green icon next to the Gate.io connection:

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://support.tiger.com/english/settings/connections/crypto-exchanges/gate.io.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
