> For the complete documentation index, see [llms.txt](https://colibri-2.gitbook.io/colibri-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://colibri-2.gitbook.io/colibri-docs/colibri-terminal/s-chego-nachat/podklyuchenie-api/mexc.md).

# MEXC

[Регистрация на бирже MEXC](https://www.mexc.com/ru-RU/register?inviteCode=mexc-1eN4T)

## Создание API-ключей MEXC

1. Войдите в личный кабинет MEXC.
2. В правом верхнем углу нажмите на иконку **профиля** → выберите **«Управление API»**.
3. В настройках API:
   * установите все галочки, **кроме вывода средств и перевода**;
   * укажите примечание (например, *Colibri*);
   * поставьте галочку о согласии с рисками;
   * нажмите **Создать**.
4. Подтвердите создание:
   * введите код, полученный на e-mail;
   * введите код из приложения **Google Authenticator**.

После этого вы получите **API Key** и **Secret Key**.

{% hint style="info" %}
Секретный ключ показывается только один раз при создании. Сохраните его сразу.
{% endhint %}

## Подключение в терминале

1. В терминале откройте **Подключения → «Добавить подключение»**.
2. Выберите биржу **MEXC**.
3. Введите **API Key** и **Secret Key** и сохраните.

{% hint style="success" %}
Теперь вы можете работать со **спот-рынком** MEXC.
{% endhint %}

## Подключение фьючерсов MEXC

Для торговли фьючерсами нужно выполнить дополнительные шаги — получить ключ `uid`:

1. В личном кабинете MEXC откройте раздел **Фьючерсы → USDT-M**.
2. Нажмите клавишу **F12** (пример для Google Chrome, в других браузерах путь может отличаться).
3. В открывшейся панели выберите вкладку **Application → Cookies**.
4. Пролистайте вниз и найдите строку с названием **`uid`**.
5. Скопируйте значение ключа **целиком**.

Затем добавьте фьючерсы в терминал:

1. В Colibri создайте новое подключение: **MEXC Futures**.
2. В поля вставьте **API Key**, **Secret Key** и скопированный ключ **`uid`**.
3. Сохраните подключение.

{% hint style="warning" %}
Ключ `uid`, скопированный из cookies, может периодически изменяться. Если возникнут проблемы с подключением **MEXC Futures** — первым делом повторите шаги по копированию и вставке нового `uid`.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://colibri-2.gitbook.io/colibri-docs/colibri-terminal/s-chego-nachat/podklyuchenie-api/mexc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
