How to Create an API Key
Signup/Login
Step 1: Click the [Developer Console] entry in the website navigation bar.

Step 2: Log in or create your developer account via [Connect Wallet].

Bind Your Email and Phone Number
To enhance account security, you must complete binding before creating your first API Key.
Step 1: Click [Bind Now] button to go to the [Settings] page.

Step 2: Enter your email address and phone number.

Step 3: Complete the verification to finish binding.
After binding, your account security level will be upgraded, allowing you to manage API Keys and use platform services more securely.
Generate a New API Key
Step 1: Go to [API Key Management] page.
Step 2: Click [Create API Key] button.

Step 3: Fill in the following information:
- Name: A label to help you identify the key;
- Passphrase: Used to protect your Secret Key;
- IP Allowlist: Restricts the sources that can call this API.
Step 4: Click [Confirm] to generate your new API Key.
Each account can create up to 3 API Keys. Please keep your passphrase and key information secure—if lost, the Secret Key cannot be recovered.
View Secret Key
You will need both the API Key and the Secret Key to make API calls.
-
The Secret Key is randomly generated by the system.
You can obtain it by clicking [Copy] on the API Key Management page.

-
If you forget your passphrase, you will not be able to view or reset your Secret Key.
How to Use the API
For detailed instructions, please refer to the API documentation:
https://gateweb3.gitbook.io/gate_dex_api
The content provided herein is for reference and educational purposes only and does not constitute any financial, investment, trading, or legal advice, nor does it constitute an offer or solicitation to buy or sell any digital assets. Gate makes no express or implied representations or warranties regarding the accuracy, completeness, or timeliness of the information contained herein. Product features, interfaces, rules, and fee structures may be updated or adjusted at any time. Please refer to the latest announcements and the actual information displayed on the Gate platform for the most accurate details.
Digital asset investments involve significant risk, and prices may fluctuate substantially. You may lose the entire amount of your investment. Please make decisions cautiously based on your own financial situation and risk tolerance after fully understanding the associated risks. If necessary, you are advised to consult an independent professional financial or legal advisor.
For more information about potential risks, please refer to Gate's Risk Disclosure and User Agreement.
