Trading with an API key on MEXC
You can trade on MEXC using Altrady, however there are some features available on the exchange that MEXC does not make available for API trading.
How to add a MEXC API Key to Altrady
MEXC allows only some pairs to be traded by API, and this excludes some high volume markets such as BTC/USDT and ETH/USDT.
Pairs with a price with more than 12 decimal places are excluded as this level of precision is not yet available on the platform.
Currently (at April 2025), more than 2000 MEXC pairs (~80%) are available for trading i.e. order creation, by API using Altrady.
For excluded or non-tradeable pairs that are shown in the Markets widget:
An icon is shown next to the pair in the Markets widget.
MEXC allows orders to be cancelled by API but not created.
The traffic light for status will be red.
A warning message is shown in the Trading widget, with a link to the pair on the exchange.
Assessment Zone tokens are not tradable via API. Most Innovation Zone tokens are available for API trading.
Some pairs that are not tradable via API, will not be shown in the Markets widget.
CBS does not send signals for pairs that are not tradable via API.
Note that a pair that is moved from the Spot Exchange to the Assessment Zone will become untradeable by API. These pairs can only be managed on the exchange.



In addition, MEXC allows market orders on some pairs and not others (see pie chart above for the numbers and proportions).
If market orders are available for the pair, the option will be shown in the Trading widget.
MEXC implements Market orders as Limit orders 10% from the current price with IOC (immediate or cancel) enabled for Time in Force. The result is that, if the order is not completely filled within the limit price, it will be partially filled and closed by the exchange, leaving unsold coins.

For pairs where market orders are available, the Market order option is shown in the Trading widget for Entries and Stop Losses.
Where Market orders are usually used in Altrady:
Altrady uses market orders for signal bot Stop Losses and for all Trailing Take Profit orders.
For MEXC pairs that do not allow market orders, Altrady will place a Limit order at 10% from the current price. This will function as a Taker order, and be filled at the best prices in the order book, in the same way as a market order. However, on a low liquidity market it is possible that the order will not completely fill. If it is partially filled, it will remain open until filled.
If Market-type is chosen for a Close Position order, it will also be placed as a limit order, 10% from the current price.
MEXC offers Futures trading on the exchange but not by API.
So Altrady can only offer Spot trading for MEXC.
How to add a MEXC API Key to Altrady
Related articles
How to add a MEXC API Key to Altrady
Available MEXC Pairs
MEXC allows only some pairs to be traded by API, and this excludes some high volume markets such as BTC/USDT and ETH/USDT.
Pairs with a price with more than 12 decimal places are excluded as this level of precision is not yet available on the platform.
Currently (at April 2025), more than 2000 MEXC pairs (~80%) are available for trading i.e. order creation, by API using Altrady.
For excluded or non-tradeable pairs that are shown in the Markets widget:
An icon is shown next to the pair in the Markets widget.
MEXC allows orders to be cancelled by API but not created.
The traffic light for status will be red.
A warning message is shown in the Trading widget, with a link to the pair on the exchange.
Assessment Zone tokens are not tradable via API. Most Innovation Zone tokens are available for API trading.
Some pairs that are not tradable via API, will not be shown in the Markets widget.
CBS does not send signals for pairs that are not tradable via API.
Note that a pair that is moved from the Spot Exchange to the Assessment Zone will become untradeable by API. These pairs can only be managed on the exchange.



Market order availability and functionality
In addition, MEXC allows market orders on some pairs and not others (see pie chart above for the numbers and proportions).
If market orders are available for the pair, the option will be shown in the Trading widget.
MEXC implements Market orders as Limit orders 10% from the current price with IOC (immediate or cancel) enabled for Time in Force. The result is that, if the order is not completely filled within the limit price, it will be partially filled and closed by the exchange, leaving unsold coins.

Optional Limit or Market orders.
For pairs where market orders are available, the Market order option is shown in the Trading widget for Entries and Stop Losses.
Where Market orders are usually used in Altrady:
Altrady uses market orders for signal bot Stop Losses and for all Trailing Take Profit orders.
For MEXC pairs that do not allow market orders, Altrady will place a Limit order at 10% from the current price. This will function as a Taker order, and be filled at the best prices in the order book, in the same way as a market order. However, on a low liquidity market it is possible that the order will not completely fill. If it is partially filled, it will remain open until filled.
If Market-type is chosen for a Close Position order, it will also be placed as a limit order, 10% from the current price.
MEXC Futures availability
MEXC offers Futures trading on the exchange but not by API.
So Altrady can only offer Spot trading for MEXC.
Related articles
How to add a MEXC API Key to Altrady
Updated on: 04/06/2025
Thank you!