API keys
Gate.io API keys
The key lets bots trade on your Gate.io USDT futures account. It cannot be used to withdraw or transfer funds.
Never enable withdrawals or wallet access
ArbiSnake does not accept a Gate.io key that allows withdrawals (Withdrawal) or writing to the wallet (Wallet). Trading does not need them.
Before you start
- Sign in to ArbiSnake. We recommend turning on two-factor sign-in (2FA) on the Account page: then an exchange key can be deleted only with a code.
- Open Settings → API keys and copy the ArbiSnake server IP address — you will need it in the “IP restriction” step.
- Your Gate.io USDT futures account must use One-way position mode and Cross margin. If the account has no positions or orders yet, ArbiSnake switches this itself before the first entry; otherwise switch it in the Gate.io app.
Create the key
- Open API managementOn Gate.io: profile → API Management → Create API Key. Type — API v4 Key, account — main (not a sub-account).
- Name the keyFor example, arbisnake, so it is easy to find and delete if needed.
- ConfirmGate.io asks for your fund password and a 2FA code. Save the API Key and Secret Key: the secret is shown only once.
Which permissions to give
✓Perpetual Futures — Read and Writerequired
✓Account — Read Onlyrequired: this is how ArbiSnake checks the key's permissions
Spot, Margin, Options, Earnnot needed
Wallet (write)never
Withdrawalnever
Key permissions on the Gate.io page.
IP restriction
In the IP Whitelist field, enter the ArbiSnake server IP address from the API keys page. Do not add other addresses.
This is required
ArbiSnake does not accept a key without an IP restriction. Such a key works nowhere except our server — even if it is stolen.
Add the key to ArbiSnake
- Settings → API keysPaste the API Key and Secret Key in the Gate.io row.
- Click “Check on the exchange and save”ArbiSnake checks the key's permissions on Gate.io (read-only, no orders) and shows the available USDT futures balance.
If the key is rejected
| Message | What to do |
|---|---|
| Withdrawals or transfers are allowed | Create a new key without Withdrawal and without Wallet write access. It is best to delete the old one on Gate.io. |
| No futures trading permission | Give the key Perpetual Futures — Read and Write. |
| Gate.io did not show this key's permissions | Give the key Account — Read Only and check again. |
| The key is not IP-restricted | Add only the ArbiSnake server IP to the IP Whitelist. |
Tip
Create a separate key just for ArbiSnake. To disconnect the service, delete this key on Gate.io or click “Delete key” in ArbiSnake (with a 2FA code if 2FA is on).