# 1.4.6 MEXC ΑPI Binding 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.mexc.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 account icon in the upper right corner.

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FejYlnO09MPwk6BUzOx25%2F1.png?alt=media&#x26;token=a93e3cfb-185a-4e80-9edc-2005a6e51799" alt=""><figcaption></figcaption></figure>

From the drop-down menu, select "API Management".

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2Fzzxzh8yaJkG6mhula8Qo%2F2.png?alt=media&#x26;token=5a2200e4-1470-453c-8472-93d8a4c0bf50" alt=""><figcaption></figcaption></figure>

On the "API Management" page, under the Spot section, select the following options:

* Account: ✅ View account details
* Trade: ✅ View order details; ✅ Trade

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2F8lI5xR6EAq7KI9nSALre%2F3.png?alt=media&#x26;token=a59ab10b-b101-4fdd-b783-bfab5d3d766b" alt=""><figcaption></figcaption></figure>

Next in the "Notes" section, name your API key.

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2Fvy5vlnbP2DiRQ6Mg9i81%2F4.png?alt=media&#x26;token=faf72e60-5d31-4943-b3e9-46f43219d623" alt=""><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 MEXC 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%2FZVxBTveFjjqXTurZuuWP%2F5.png?alt=media&#x26;token=1e34a374-9d7b-4538-856c-cd33538495c8" alt="" width="375"><figcaption></figcaption></figure>

Go back to the official MEXC website and paste the copied IP addresses from the HASH7 app into the **"**&#x42;ind IP Address" field.

Below, check the box next to the statement confirming that you have reviewed the API user risk reminder. To complete the process, click "Create" and pass the security verification.

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2FI5FzdV18JUfot9IQ6G8Y%2F6.png?alt=media&#x26;token=ae6b8639-3ad8-4052-8468-4b8c31d75dde" alt=""><figcaption></figcaption></figure>

Next, copy your Access Key and Secret Key to a secure location and click "Confirm."

<figure><img src="https://4045877156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5Z7CkeiyUfQ7J5ez8s0L%2Fuploads%2F54wCqC0ggjZI8SCbvzYx%2F7.png?alt=media&#x26;token=831d162c-f341-4eb0-ae75-a610289861de" alt=""><figcaption></figcaption></figure>

Then, reopen the HASH7 app and paste the copied keys into the corresponding fields. 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%2F2JEG8qeRF2FlxqLUFmHS%2F7.png?alt=media&#x26;token=e1ae518b-adea-4a9b-b194-9f1bb3675def" alt="" width="375"><figcaption></figcaption></figure>
