API Trading with AI: Exchange API Keys or Your Own Wallet?

30 November 20266 min readBy Alex Marzell, founder of CoinGPT

An AI can find a trade, but to place it, it needs a way into your account. There are two: a trade-only API key on an exchange such as WEEX, BloFin or Bybit, or your own wallet on a decentralised exchange such as Hyperliquid. Both let CoinGPT place trades and neither lets it withdraw. The difference is who holds your money.

Option 1: an exchange API key

An API key is a password made for apps. You create it in your exchange account and give it only the permissions you choose. For CoinGPT that's trading, never withdrawals.

On WEEX, BloFin, Bitget and KuCoin you don't even copy a key: you press connect, sign in to the exchange and approve, and the key is made for you. On other exchanges you create the key and paste it in. CoinGPT stores it encrypted.

Your money stays in your exchange account, held by the exchange.

Option 2: your own wallet (Hyperliquid)

With a DEX there's no account and no company holding your money. You connect a wallet such as MetaMask or Rabby, move USDC into your Hyperliquid account from inside CoinGPT, and sign two approvals. The second creates a trade-only key for CoinGPT, held for your account on Hyperliquid.

Your money stays under your wallet's control. Only your wallet can withdraw it.

Side by side

Exchange account (CEX)Your own wallet (DEX)
Who holds the moneyThe exchangeYou, in your wallet
How you sign inEmail and passwordYour wallet is your login
How CoinGPT connectsOne tap, or a trade-only API keyTwo signatures in your wallet
What CoinGPT can doPlace, cancel and close tradesPlace, cancel and close trades
Withdrawals by CoinGPTNeverNever
FundingCard, bank or crypto, on the exchangeUSDC on Arbitrum, moved in inside CoinGPT
ExtrasFees back on WEEX and BloFin accounts opened through CoinGPTEvery trade on-chain; doesn't use one of your plan's exchange slots

How the AI part works either way

  1. The Trade Agent reads the chart and gives a setup: entry, stop, target and why. It says no when there's no trade worth taking.
  2. You choose how much of your balance you're willing to lose if the stop is hit. CoinGPT sizes the trade to that and keeps liquidation well beyond the stop.
  3. You press Place. The stop and target go with the entry.

The same works from Claude or ChatGPT once CoinGPT is connected: the AI plans the trade, and nothing is placed until you tap Place on CoinGPT's card. More in how to use Claude for crypto trading.

Staying safe with either

  • API keys: never switch on withdrawal permission for a trading app. If an app asks for it, walk away.
  • Wallets: never type your recovery phrase into a website. Connecting only ever asks for signatures.
  • Both: you can disconnect CoinGPT any time from the Exchanges page. Open positions stay where they are.

Fees on Hyperliquid

CoinGPT adds a small fee to the Hyperliquid trades it places: 0.06% of the trade size on the free Discover plan, 0.03% on Pro and 0.02% on Advanced. You approve it once in your wallet, capped at 0.06%. Hyperliquid charges its own trading fee on top. Both are on the trade card before you place, in dollars.

Which should you choose?

If you already have an exchange account you like, connect it: it's the quickest start. If you'd rather hold your own money, with no account and no sign-up, use your own wallet on Hyperliquid. You don't have to choose for good: Hyperliquid doesn't count towards your plan's exchange connections, so you can have both.

Either way
  1. Trade permission only, never withdrawals.
  2. Every trade carries a stop loss.
  3. You confirm every trade.

Questions

Not CoinGPT. Exchange keys are trade-only, and on Hyperliquid CoinGPT's key can only place, cancel and close orders. Only you can withdraw.
A key you create on your exchange that lets an app place and cancel trades but not withdraw. On WEEX, BloFin, Bitget and KuCoin, CoinGPT makes it for you in one tap.
Yes. Hyperliquid doesn't use one of your plan's exchange connections, so you can connect it alongside your exchange.
They protect you from different things. An exchange looks after your money but holds it; a wallet keeps it in your control but you must keep the recovery phrase safe. With CoinGPT, neither lets it withdraw.

This guide is for education only and is not financial advice. Trading perpetual futures with leverage involves substantial risk of loss, and in a fast market price can move past a stop. AI analysis can be wrong. Review every setup before you trade, and never trade money you can't afford to lose.

Connect it your way

An exchange in one tap, or your own wallet in two signatures. Free to start.

Open the App