> For the complete documentation index, see [llms.txt](https://hash7-gitbook.gitbook.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hash7-gitbook.gitbook.io/en/user-guide/1.4-api-binding-tutorial-web-version/1.4.7-kucoin-api-tutorial.md).

# 1.4.7 KuCoin API Tutorial

**For security reasons, the API secret will be displayed only 1 time. After closing the window, the API will not be available. Make sure to save the key in a safe place.**

First open the official website of the exchange:&#x20;

{% embed url="<https://www.kucoin.com/>" %}

If you are already a registered user, then log in to your existing account on the exchange. If you don't have an account, you'll need to register first and pass KYC.&#x20;

After successfully logging in or registering, press on the "API Management" in the left menu.

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

Next, click the "Create API" button.

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

On the "Create API" page:

In the first field, "API Name", enter a name for your API key.

In the next field, "API Passphrase", create and enter a secure passphrase.

<figure><img src="/files/4CkuIojLyvrG5FPqevsi" alt=""><figcaption></figcaption></figure>

In the "API Restrictions" section, select the "Spot Trading" option.

In the "IP Restrictions"section, select "Restrict to Trusted IPs only".

<figure><img src="/files/0gODPswNuOPukdTNAO6X" alt=""><figcaption></figcaption></figure>

Then open the HASH7 app. It the upper left corner press "Exchange".&#x20;

<figure><img src="/files/IEwReSh3Hkhjcqm5EWGu" alt="" width="375"><figcaption></figcaption></figure>

Select the KuCoin exchange and copy the IP-addresses.&#x20;

<figure><img src="/files/MN4SiT3dMX6F6XZInArJ" alt="" width="375"><figcaption></figcaption></figure>

Return to the official KuCoin website and paste the copied IP addresses from the HASH7 app into the displayed field. Then, click "Add".

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

After saving the IP addresses, click the "Next" button and complete the security verification process.

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

After completing the security verification, your API keys will be successfully created. Then copy your API Key (Key) and API Secret (Secret) to a secure location. Scroll down and click "Confirm" to finalize and save the keys.&#x20;

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

<figure><img src="/files/50FriAv1hPyc26OYNxM4" alt=""><figcaption></figcaption></figure>

Then, reopen the HASH7 app and paste the copied keys into the corresponding fields.&#x20;

In the "API Passphrase" field, enter the passphrase you specified in the API key settings in the KuCoin website.

To complete the process, click the "Connect" button.

<figure><img src="/files/UolTpZSGfxRQROnmlu7y" alt="" width="375"><figcaption></figcaption></figure>
