The following is a general tutorial for creating an API. However, we recommend using sub-account APIs for trading whenever possible to reduce the risk to the main account. Sub-accounts are independent accounts that contribute to enhanced security and facilitate the assessment and optimization of different trading strategies' performance.
Sub-Accounts Page.
(1) Go to MEXC official website and log in.
(2) Click on your profile picture, then find 【API Management】 and click on it.
(1) Check 【Spot Trade: View Order Details, Trade】.
(2) Check 【Futures Trade: View Order Details, Order】.
(3) Enter API name tags in the notes area.
(4) Copy and paste the bound IP addresses into the address box:
54.64.46.83,52.198.134.2,18.179.130.89,52.68.229.228
(5) Check 【I have read and agree to the Risk Reminders for API Users】.
(6) Click 【Create】.
Please immediately copy the API Key and Secret Key and save them in a notepad or text file to prevent loss.