Hannya

Create a MEXC API key without withdrawal permission

The robot takes its positions on YOUR account, with an API key with limited rights: trading only, never withdrawals. Here is how to create it, exchange by exchange. No MEXC account yet? The A-to-Z guide

The three rules, whatever the exchange

  1. Trading only

    Tick the read and trading rights (spot and futures depending on the robot). NEVER tick withdrawal or transfer: without that right, nobody can move a cent out of your account, even with the key.

  2. The IP address on the whitelist

    When the exchange offers to restrict the key to IP addresses, enter this one, and only this one: 204.168.249.237
    That is the address the orders come from. A key without IP restriction works too, but it is less protected.

  3. Paste the key with us, once

    On the robot's purchase page or in Accounts: account name, key, secret (and the passphrase on KuCoin). It is encrypted on receipt and never shown again, to anyone. The “Validate” button reads your balance to check it works.

    Imperial is different: you only paste a 30-day session token, generated on the site (see below).

MEXC Create the key on MEXC

  1. Open the API management

    On mexc.com, logged in: your avatar → “API Management” → “Create API”.

  2. Rights

    Tick account reading and Futures trading (and Spot if the robot is spot). Leave withdrawal unticked.

  3. IP restriction

    Add the address above to “IP whitelist”: on MEXC, a key without a whitelist expires after 90 days; with a whitelist it does not expire.

  4. Collect the key and the secret

    The secret is shown only once: copy it right away, then paste the key and the secret with us.

And then

A key can be revoked in one click on the exchange, at any time: the robot then stops on its own. With us, “Delete” in Accounts erases the encrypted key.