> For the complete documentation index, see [llms.txt](https://help.utrading.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.utrading.io/en/exchange/create-api/htx-api-import-guide.md).

# HTX - API Import Guide

Go to the exchange to create the API and set permissions. Connect to the exchange through the API, Your trading capital is held on the exchange.

Please follow the instructions in the pictures below:

{% embed url="<https://youtube.com/shorts/0qIwvyqHBM8?feature=share>" %}

**Step 1:** Sign into your HTX account with app, click **\[**<mark style="color:blue;">**HTX**</mark>**]** page, and then click **\[**<mark style="color:blue;">**User Icon**</mark>**]** in the upper left corner. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FYRiGLsZZDLcSqE3GZE3X%2F1.jpg?alt=media&amp;token=9630cf59-41a1-4512-881d-cdd8012a7132" alt=""><figcaption></figcaption></figure>

**Step 2:** On the **\[**<mark style="color:blue;">**User Icon**</mark>**]** page, and then click the **\[**<mark style="color:blue;">**Settings Icon**</mark>**]** in the upper right corner. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FVEulNB1DYkzbqDnXihaz%2F2.jpg?alt=media&amp;token=e453843f-07f3-490f-ac9e-ac239c9d18b0" alt=""><figcaption></figcaption></figure>

**Step 3:** On the **\[**<mark style="color:blue;">**Settings**</mark>**]** page, and then click **\[**<mark style="color:blue;">**Trading Setting**</mark>**]**. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FRPs8JSMhQIlIKIWysltT%2F3.jpg?alt=media&amp;token=0db39a9c-48b3-43cd-af56-d097862b875a" alt=""><figcaption></figcaption></figure>

**Step 4:** On the **\[**<mark style="color:blue;">**Trading Setting**</mark>**]** page, click **\[**<mark style="color:blue;">**API Management**</mark>**]**. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FC88rOYBB4A1xMD7TaukM%2F4.jpg?alt=media&amp;token=a7cb4187-675a-4475-8b87-31859e44f9ff" alt=""><figcaption></figcaption></figure>

**Step 5:** On the **\[**<mark style="color:blue;">**API Management**</mark>**]** page, click **\[**<mark style="color:blue;">**Create API**</mark>**]**. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FFrx6Ee9y7ejiPNQ4ghxf%2F5.1.jpg?alt=media&amp;token=9654576b-73ba-4237-a05e-e4df5c85c679" alt=""><figcaption></figcaption></figure>

**Step 6:** Open the page **\[**<mark style="color:blue;">**Create API**</mark>**]**, configure according to the instructions in the figure below, and then click **\[**<mark style="color:blue;">**Confirm**</mark>**]**. notice: You must check the **\[**<mark style="color:blue;">**Read**</mark>**]** and **\[**<mark style="color:blue;">**Trade**</mark>**]** options. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2Freup9L7u2cJj4rkfMl5f%2F5.jpg?alt=media&amp;token=19972b3c-8e80-4d4a-a2d5-9e61508f2ffd" alt=""><figcaption></figcaption></figure>

**IP group of the uTrading server:**&#x20;

<mark style="color:red;">13.213.132.125,13.251.83.60,18.139.102.94,3.1.7.213,46.137.215.117,52.220.111.151,52.220.117.151,52.220.31.227,52.77.45.93,54.169.15.234,13.215.122.202,18.136.175.80,18.141.82.149,18.142.40.60,18.142.65.141,3.0.128.217,3.0.26.171,52.221.111.151,52.221.18.185,54.179.229.52</mark>

Please copy and paste all the above IPs at once.

**Step 7:** Open the security verification page, click **\[**<mark style="color:blue;">**Confirm**</mark>**]** after filled. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2F3LxDU0F1QktYfJruxXre%2F6.jpg?alt=media&amp;token=c413992c-09cb-4a90-ba44-824146813697" alt=""><figcaption></figcaption></figure>

**Step 8:** At this point, the API-Key creation have completed, do not close the current page, and you will need to copy the Access Key and Secret Key later. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2Fsse4nbQ6p3zNItrA2zrW%2F7.jpg?alt=media&amp;token=e3fd412e-9dcc-4087-b3b1-2cad456dd507" alt=""><figcaption></figcaption></figure>

**Step 9:** Open the uTrading APP, enter the **\[**<mark style="color:blue;">**Home**</mark>**]** page, and click **\[**<mark style="color:blue;">**API Binding**</mark>**]**. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FVCES2XzawRplkuz1Al21%2F%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20260415154649_35_5.jpg?alt=media&amp;token=e9e04d8a-4f23-4044-b4b3-0a077ff1c867" alt=""><figcaption></figcaption></figure>

**Step 10:** Enter the **\[**<mark style="color:blue;">**API Binding**</mark>**]** page, and then click **\[**<mark style="color:blue;">**Huobi Global**</mark>**]**. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2Fnl4TroqP3Ffkum4wCdZC%2Fthx.jpg?alt=media&amp;token=4f08989e-51b9-4ee6-ab8e-695e11818294" alt=""><figcaption></figcaption></figure>

**Step 11:**  Open the API import page, paste the **\[**<mark style="color:blue;">**API Key**</mark>**]** and **\[**<mark style="color:blue;">**Secret Key**</mark>**]** from Huobi App into uTrading, click **\[**<mark style="color:blue;">**Import**</mark>**]** after filled. As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FwKDvCATHAkHv8gneAwxm%2F3434.jpg?alt=media&amp;token=4411b5d7-b46f-4fa3-8f61-77426139fb5d" alt=""><figcaption></figcaption></figure>

Success! If you have successfully completed these steps, the status will show as "API is running normally".
