Aster API wallet
Aster is a decentralized exchange: instead of an API key it uses a separate API wallet that signs orders on behalf of your account. It cannot withdraw funds unless you give it the Withdraw permission.
ArbiSnake does not accept an Aster API wallet that is allowed to withdraw funds. Trading does not need it.
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 binding” step.
- You trade on Aster from a wallet (for example, MetaMask). Its address is the “account wallet address” — ArbiSnake needs it. Never enter the private key of your main wallet anywhere.
- ArbiSnake switches the position mode to One-way itself if the account has no open positions or orders. Margin is Cross. Only crypto is traded (Aster stocks and metals are not used).
Create an API wallet
- Open API WalletOn asterdex.com: account menu → API Wallet → switch to Pro API at the top.
- Create an API walletClick create, name it (for example, arbisnake) and confirm with a signature in your wallet.
- Save the address and private keySave the API wallet address (0x…) and its private key: the key is shown only once.
Which permissions to give
ArbiSnake does not need Spot Trade. Give the API wallet a long expiry: after it expires, bots cannot trade until you add a new one.
IP binding
In the API wallet's IP Whitelist, enter only the ArbiSnake server IP from the API keys page.
ArbiSnake does not accept an API wallet without an IP binding.
Add the API wallet to ArbiSnake
- Settings → API keysIn the Aster row, paste the account wallet address, the API wallet address and its private key.
- Click “Check on the exchange and save”ArbiSnake checks that the private key belongs to this API wallet, its permissions (Perp Trade without Withdraw), IP binding and expiry (read-only, no orders) and shows the available USDT balance.
If the key is rejected
| Message | What to do |
|---|---|
| Withdrawals are allowed | Create a new API wallet without Withdraw. It is best to delete the old one on Aster. |
| The private key belongs to another wallet | Copy the private key of exactly the API wallet whose address you pasted. |
| Aster did not find this API wallet | Check the account wallet address (the one you sign in to Aster with) and the API wallet address, and that it has not expired. |
| No Perp Trade permission | Give the API wallet futures trading permission. |
Create a separate API wallet just for ArbiSnake. To disconnect the service, delete it on Aster or click “Delete key” in ArbiSnake (with a 2FA code if 2FA is on).