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

  1. Open your profile → API Management and click Create API.
  2. Choose System generated and name the key, for example CryptoPortfolio.
  3. Enable only Enable Reading. Leave trading, withdrawals and transfers off.
  4. Under Restrict access to trusted IPs, add the IP shown in the connection form on this site.
  5. 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

  1. Open your profile → API and click Create New Key.
  2. Choose System-generated API keys, type API Transaction.
  3. Permissions: Read-Only. Bind the IP shown in the connection form.
  4. Copy the API Key and Secret into the form.

Permissions

  • Read-Only

A Unified Trading Account is required.

Gate

Steps

  1. Open your profile → API Management and click Create API key.
  2. Type API v4, account type trading (classic) account, not Unified.
  3. Set Read-only for Spot, Perpetual futures and Account.
  4. For deposits and withdrawals enable Wallets (read-only); for Simple Earn enable Earn (read-only). They default to Read and write: switch them.
  5. 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

  1. Open your profile → API and click Create V5 API key.
  2. Set a name and a passphrase (an API password, not your account password): you enter it in the form.
  3. Permissions: Read. Bind the IP shown in the connection form.
  4. Copy the API Key, Secret and passphrase into the form.

Permissions

  • Read

Global OKX only, not regional sites.

BingX

Steps

  1. Open your profile → API Management and create a key.
  2. Enable only Read only. Leave trading, withdrawals and transfers off.
  3. Bind the IP shown in the connection form.
  4. Copy the API Key and Secret into the form.

Permissions

  • Read only

Spot and USDT perpetual futures are read.

Bitget

Steps

  1. Open your profile → API Keys and click Create API key, system-generated.
  2. Set a name and a passphrase: you need it in the form.
  3. Classic: read-only for spot and for futures positions and account. Unified: UTA management (read) and UTA trade (read).
  4. 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

  1. Open your profile → API Management and click Create API.
  2. Set a name and a passphrase: you need it in the form.
  3. Permissions: General (read) only. Do not enable trading, transfers or withdrawals.
  4. 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

  1. No key is needed: Lighter accounts are public.
  2. 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

  1. No key is needed: Hyperliquid data is public.
  2. Add the wallet (EVM address) you trade with on Hyperliquid, then connect the exchange to that wallet.

Permissions

  • Wallet address only

Aster

Steps

  1. No key: add an EVM wallet and connect Aster. Balance and positions are visible when account privacy is off in Aster.
  2. Full data (PnL, funding, deposits and withdrawals): create a separate API Wallet in Aster's API management.
  3. Enable only reading (canRead). Turn spot trading, perpetual trading and withdrawals off. Bind the IP shown in the form.
  4. 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.