Ви офлайн — показуються кешовані дані
BibaMoney TVIJO AIOS NETWORK

MEXC API

Spot v3 + Contract v1 · widest small-cap listing · public endpoints open to server IPs

Створіть ключ безпечно

  1. Profile → API Management → Create API key.
  2. Tick the permission groups explicitly — MEXC keys start with nothing enabled; grant read groups first.
  3. Bind your server IP; unbound keys are short-lived by policy.
  4. Sign requests with HMAC-SHA256 over the query string, key in the X-MEXC-APIKEY header.
  5. Store the secret at creation — it is shown once.

Дозволи: що надати

  • Account: Read — balances and history; enough for portfolio views. Without this group even a valid signature gets error 700007.
  • Trade scope: only if you run strategies live; spot and futures are separate permission groups.
  • Withdrawal scope: never. We refuse keys that have it enabled.

Варто знати перед написанням коду

  • Spot v3 (api.mexc.com) and Contract v1 (contract.mexc.com) are separate APIs with separate base URLs.
  • Public market data needs no key and answers datacenter IPs directly — unlike the exchange's web pages.
  • Known for listing small caps earliest of the four — verify pair liquidity via the order-book endpoint before sizing.
Ніколи не надавайте дозвіл на виведення нікому. Не нам, не будь-якому сервісу. Наш потік підключення відхиляє ключі, які мають його. Торговий ключ може втратити угоду; ключ виведення може втратити рахунок.

Підключіть цей ключ до нашого двигуна → Офіційна документація API Create a MEXC account

Інші посібники: Gate.io API · OKX API · Bybit API · Порівняйте їхні комісії