Connect Gate to Sumex
Gate (formerly Gate.io, and still listed as Gate.io in Sumex) offers two kinds of API keys. Sumex needs an APIv4 key, because older APIv2 keys only cover spot trading. A Gate key has an API key and a secret, with no passphrase.
What you get after connecting
- Spot and perpetual futures trading on your Gate account from the Sumex trading terminal.
- Balances and positions from Gate in your Sumex portfolio.
Before you start
- Gate's verification step asks for your fund password and a 2FA code. Set both up first.
- Gate allows up to 20 APIv4 keys per account, each with its own permissions.
Create the API key on Gate
- Log in on gate.com, hover over the profile icon and choose API Management (Gate also calls the page APIv4 Keys).
- Click Create API Key.
- Add a remark such as "Sumex" so you can identify the key later.
- Set the key type to API v4 Key and pick your main trading account as the account type (not Testnet).
- Set the permissions to Read and Write for:
- Spot (spot/margin trading)
- Perpetual Futures Use Read Only instead if you only want tracking. Leave Withdrawal and Wallet disabled.
- Decide on IP binding (next section), click Submit, accept the risk reminder and confirm with your fund password and 2FA.
- Copy the API Key and Secret Key.
Withdrawal disabled
Each Gate permission group can be set to disabled, read-only or read-write. For a Sumex key, the withdrawal group must stay disabled. A key with withdrawal rights shows Can Transfer in Sumex.
IP binding and the 90-day limit
The Sumex form doesn't currently publish a server IP for allow lists, so you'll normally create the key without IP binding. On Gate, a key with no IP binding is valid for 90 days. Put a reminder in your calendar: before it expires, create a new key and reconnect, or the Gate Bundle will switch to Invalid Key.
Connect Gate in Sumex
- Open the Exchanges tab of the Connection Manager and click Add Bundle.
- Choose Gate.io.
- Under If You Have Account, click Manual API Connect. Gate has no one-click option in Sumex.
- In Add Gate.io API, fill in Account Name, API Key and Secret Key.
- Click Connect.
Troubleshooting
| What you see | What to do |
|---|---|
| Gate rejects the key | Confirm it is an APIv4 key; APIv2 keys won't work for futures. |
| The card has no Futures label | Perpetual Futures was left disabled or read-only. Edit the key on Gate. |
| Invalid Key after about three months | The 90-day validity of an unbound key ran out. Click Check to open Gate's API page and create a new key. |
| The card shows READ only | The key is read-only. Switch Spot and Perpetual Futures to Read and Write. |
| Can Transfer on the card | Withdrawal or wallet permissions are enabled. Replace the key. |
| "Max API connections reached for your subscription" | Delete or disable another exchange connection. |
Security notes
- Sumex stores the secret encrypted and never asks for your fund password.
- Delete the Bundle in Sumex or the key on Gate to revoke access.
- Use a separate key per tool; Gate's per-key permissions make this easy.