How to connect an exchange
Where to find the API key on each exchange, which permissions to enable and what to enter on the site.
General rules
- Read permissions only. Do not enable trading, withdrawals or transfers: the site rejects such a key.
- Bind the key to the IP shown in the connection form on the site.
- The Secret is shown once; the site stores it encrypted and never shows it again.
Binance
Steps
- Open your profile → API Management and click Create API.
- Choose System generated and name the key, for example CryptoPortfolio.
- Enable only Enable Reading. Leave trading, withdrawals and transfers off.
- Under Restrict access to trusted IPs, add the IP shown in the connection form on this site.
- Copy the API Key and Secret into the form: the Secret is shown only once.
Permissions
- Reading only
- Spot and USDⓈ-M futures are read; transfers use the same read right
COIN-M, Earn and special modes are not supported.
Bybit
Steps
- Open your profile → API and click Create New Key.
- Choose System-generated API keys, type API Transaction.
- Permissions: Read-Only. Bind the IP shown in the connection form.
- Copy the API Key and Secret into the form.
Permissions
- Read-Only
A Unified Trading Account is required.
Gate
Steps
- Open your profile → API Management and click Create API key.
- Type API v4, account type trading (classic) account, not Unified.
- Set Read-only for Spot, Perpetual futures and Account.
- For deposits and withdrawals enable Wallets (read-only); for Simple Earn enable Earn (read-only). They default to Read and write: switch them.
- Bind the IP shown in the connection form, then copy the key and Secret into the form.
Permissions
- Spot, Perpetual futures, Account: read-only
- Wallets: read-only (deposits and withdrawals)
- Earn: read-only (Simple Earn, optional)
A key with Read and write on any section is rejected. Without Wallets there is no transfer history, without Earn no Earn balance. Staking and fixed-term products are not read yet.
OKX
Steps
- Open your profile → API and click Create V5 API key.
- Set a name and a passphrase (an API password, not your account password): you enter it in the form.
- Permissions: Read. Bind the IP shown in the connection form.
- Copy the API Key, Secret and passphrase into the form.
Permissions
- Read
Global OKX only, not regional sites.
BingX
Steps
- Open your profile → API Management and create a key.
- Enable only Read only. Leave trading, withdrawals and transfers off.
- Bind the IP shown in the connection form.
- Copy the API Key and Secret into the form.
Permissions
- Read only
Spot and USDT perpetual futures are read.
Bitget
Steps
- Open your profile → API Keys and click Create API key, system-generated.
- Set a name and a passphrase: you need it in the form.
- Classic: read-only for spot and for futures positions and account. Unified: UTA management (read) and UTA trade (read).
- Bind the IP shown in the connection form, then copy the key, Secret and passphrase into the form.
Permissions
- Classic: read spot and futures
- Unified: UTA management and UTA trade, read
The mode (Classic or Unified) is detected automatically. Funding wallet, Earn and COIN-M are not read.
KuCoin
Steps
- Open your profile → API Management and click Create API.
- Set a name and a passphrase: you need it in the form.
- Permissions: General (read) only. Do not enable trading, transfers or withdrawals.
- Restrict the key to the IP shown in the connection form, then copy the key, Secret and passphrase into the form.
Permissions
- General, read only
Spot and USDT/USDC futures are read. The Unified account, margin, Earn and inverse futures are not supported yet.
Lighter
Steps
- No key is needed: Lighter accounts are public.
- Add the wallet (EVM address) you sign in to Lighter with. The connection appears by itself after the wallet syncs, if the address has an account.
Permissions
- No key, by wallet address
The main account and sub-accounts are read: equity, collateral and perpetual positions. Position funding is not shown yet.
Hyperliquid
Steps
- No key is needed: Hyperliquid data is public.
- Add the wallet (EVM address) you trade with on Hyperliquid, then connect the exchange to that wallet.
Permissions
- Wallet address only
Aster
Steps
- No key: add an EVM wallet and connect Aster. Balance and positions are visible when account privacy is off in Aster.
- Full data (PnL, funding, deposits and withdrawals): create a separate API Wallet in Aster's API management.
- Enable only reading (canRead). Turn spot trading, perpetual trading and withdrawals off. Bind the IP shown in the form.
- Enter the API Wallet address and its private key in the form. Never enter your main wallet's private key.
Permissions
- API Wallet: canRead only
Aster spot is not read yet.