Video
Watch the Bitget API setup walkthrough
Open API keys in your Bitget account
Sign in to Bitget, open your account settings and choose API keys in the left menu, then click Create API key.
Choose System-generated API key
Bitget asks which key type to create. Pick System-generated API key — it uses HMAC and returns a key and secret, which is what TradeAdapter signs with. The User-generated option is RSA and requires you to supply your own public key; such a key will not work here.
Set a passphrase and grant trading permissions
Fill in the form for TradeAdapter. The passphrase is a separate secret you invent here — it is required on every API call alongside the key and secret.
- Note — a name you will recognise later, for example
tradeadapter - Passphrase — 8–32 alphanumeric characters; Bitget does not accept special characters here
- Permissions — Read-write
- Spot → Trade for spot routing, and Futures → Orders if you trade futures
- Leave withdrawal, loan and sub-account permissions off
Bind the key to TradeAdapter and save credentials
Add the TradeAdapter address to the key's IP binding, finish the security verification, then copy the key, secret and passphrase — the secret is shown only once.
35.75.198.16
Continue to TradingView webhook setup
Paste the key, secret and passphrase into your TradeAdapter Bitget connection, then continue to page 2 to connect TradingView alerts for real-time trade execution.