# 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="/files/WVFhGfxS8BPZQMwFXEXW" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/4vvs6nFKThFgRQB9Q8xB" 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="/files/xEYVYNg8r4RYNxbKRhdq" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/WoPQSvyp7itOTj498S1c" 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 MEXC exchange and copy the IP-addresses.&#x20;

<figure><img src="/files/seYsUaOKQFpapkSDFfYB" 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="/files/IWUe5y9wxO9OmljTUF13" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/mKNwX1QLgLqnT9j6mDNc" 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="/files/zP6YmL9KQhKPdcAjc3qR" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://hash7-gitbook.gitbook.io/en/user-guide/1.4-api-binding-tutorial-web-version/1.4.6-mexc-api-binding-tutorial.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
