Create MEXC API credentials for TradingView webhook automation

Configure MEXC spot API access so TradeAdapter can route TradingView to MEXC alerts with structured execution and no-code trading automation.

Video

Watch the MEXC API setup walkthrough

Step 1

Create your MEXC account

Register on MEXC and sign in. Spot trading through the API does not require KYC, but the account must be able to trade.

Step 2

Open API Management and grant Spot trading

Open API Management. The create form is on the page itself — tick Spot → Trade → Trade, which is the permission that lets TradeAdapter place and cancel orders.

  • Add Futures → Trade → Order Placing only if you route futures
  • Leave Withdraw and Transfer off — an automation key never needs them
  • Each account can hold up to 30 API keys
MEXC API Management form with the Spot Trade permission enabled
Step 3

Name the key and link the TradeAdapter IP

Fill in Notes — it is required — and paste the TradeAdapter address into Link IP Address. MEXC states it plainly on this screen: a key that is not linked to an IP is valid for 90 days only.

  • Up to 20 IP addresses per key, separated by commas
  • Five days before a key expires you can extend it by another 90 days from My API Key → Action → Renew
Link this IP to the key 35.75.198.16
MEXC create API key form with Notes filled in and the TradeAdapter IP linked
Step 4

Save API credentials securely

Accept the risk reminder, click Create and confirm by email. Copy the access key and secret key immediately — the secret is shown only once and cannot be retrieved afterwards.

Step 5

Allow the symbols you plan to trade

MEXC restricts which pairs an API key may trade. Configure the allowed spot symbols from My API Key → Trading Pairs → Set, then continue to page 2 for TradingView to MEXC webhook setup.