# 1.3.7 KuCoin API Binding Tutorial

**For security reasons, the API secret will be displayed only once. After closing the window, the API secret will no longer be accessible, so please copy the key in a timely manner.**

If you are already a registered user, log in to your existing exchange account. If you do not have an account, you will first need to register and complete KYC.

Open the KuCoin app and go to the "Home" section. In this section, click on the account icon in the top left corner.

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2F5XNTkrjxcx87QSq9VPut%2F1.png?alt=media&#x26;token=5dc2b8ab-1c56-4986-bb33-cd24955e3fb9" alt="" width="375"><figcaption></figcaption></figure>

Scroll down a bit and select the "API" option.

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2F0dcRuFKpcCiAYqpNblxs%2F2.png?alt=media&#x26;token=e607bbc7-2025-413c-b9ef-251bd473a59c" alt="" width="375"><figcaption></figcaption></figure>

On the page that opens, click the "Create API" button.

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FXgo5JHSiji8OQkATVsGB%2F3.png?alt=media&#x26;token=62b92bd1-7100-4f5a-9a0a-20f64d90461a" alt="" width="375"><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="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FpvYJsVB6LyjiKpIHuDfm%2F4.png?alt=media&#x26;token=6b257831-4c84-49f7-8d41-6127a18f2a18" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2F7nIBjIW6tb8eHUQTReJU%2F5.png?alt=media&#x26;token=6f16dc9b-6e0e-4793-bc43-ea8b4f482502" alt="" width="375"><figcaption></figcaption></figure>

Scroll down to the "IP Restrictions" section and select the option: "Restrict to Trusted IPs only".

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FUfiKeZ3dCqjy3RiaKTg2%2F7.png?alt=media&#x26;token=92341214-9dc4-45c8-a80b-05458bcbf547" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FFe7zdFnDMzJNXmesU7CC%2F6.png?alt=media&#x26;token=0c83c77e-f5cb-4d7f-987b-da0cb09eec24" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FX6BeB8AkRpDE6EnuO0Ye%2F11.png?alt=media&#x26;token=e73f5917-127d-4058-b3c5-cd579fedc6f0" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FWxWrQhTIHJ0BAag6ddCt%2F8.png?alt=media&#x26;token=0c64e3f7-55e0-40c9-bbe0-d1563cc49803" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FXK1cI0J5PZQjJfF6T56s%2F9.png?alt=media&#x26;token=bbbc50d3-4f2f-4a34-a877-fd83c3efbe74" alt="" width="375"><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="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FoZBLcieI8k0WrvKz6Zdn%2F10.png?alt=media&#x26;token=2fa88329-4d5e-4725-8ba2-aa11faed89eb" 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 app.

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

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FF2L3P3Tru7IHFRaEEYOh%2F12.png?alt=media&#x26;token=a7d43bac-a24b-4979-a8d8-942d5346bab5" alt="" width="375"><figcaption></figcaption></figure>
