Skip to content
Brokers/MEXC
MEXC logo

MEXC automation

Nyria places the orders from alerts sent by TradingView, Discord, Telegram or AI agents (MCP) as spot crypto trades in your own MEXC account. You connect with an API key.

Crypto spot

MEXC isn't available to US residents.

What connects

MEXC connects with an API key you create in your own MEXC account. Give it permission to trade. Leave withdrawal permission off.

In Nyria you enter the API key and the secret key. Nyria stores both encrypted at rest and never shows them again.

Nyria reads the account and places and cancels orders. Without withdrawal permission, the key cannot move funds out.

MEXC lets you link IP addresses to a key. It's optional.

What MEXC supports

Asset classSupportedNotes
Crypto spotSupportedThe pairs MEXC opens to API trading
StocksNot supportedNot offered on this connection

Trading features

Live tradingSupported
Paper tradingNot supported
Fractional coin amountsSupported
Short sellingNot supported
Trades around the clockSupported

Orders

Market and limit orders, as the strategy sets them. MEXC takes API orders only on the pairs it opens to API trading, so an alert for any other pair is refused. Nothing waits at the broker between alerts. The exit comes from your alert.

How to connect

  1. 1Create a Nyria account. Sign up free and create a strategy for your TradingView, Discord or Telegram alerts. Run it on Nyria Paper first, then on the live account.
  2. 2Create a MEXC API key. In MEXC, select the profile icon, then API Management. Choose Spot trading, leave withdrawals off and add a note. Select Create, complete the security verification, then copy the API key and the secret key.
  3. 3Connect MEXC. Select Integrations, then the MEXC card. Paste the API key and the secret key.
  4. 4Deploy a bot. Deploy a bot on the strategy, pick the MEXC account it trades and set its budget per entry. A bot on a live account needs a Nyria Pro plan or a Premium strategy you have bought.

TradingView alerts to MEXC

Point a TradingView webhook at Nyria, and each alert becomes a MEXC spot order.

How to automate TradingView alerts to MEXC

Questions

Does the MEXC key need withdrawal permission?
No. Leave it off. Nyria needs to read your balances and orders, and to place and cancel orders.
Is MEXC available in the US?
No. MEXC isn't available to US residents.
Which MEXC pairs can I trade?
The spot pairs MEXC opens to API trading. An alert for any other pair is refused.
Does Nyria hold my MEXC login?
No. A MEXC API key does not need your password. Nyria stores the key and secret encrypted at rest.
Can I test before trading real money at MEXC?
Nyria connects live MEXC accounts only, and Nyria Paper simulates crypto spot at any hour. Nyria Paper is free, with no card, and runs the same strategy against simulated fills.

Test for free on paper first

Free on paper, no card required. Then run the same strategy on MEXC.