Degen Decoded
2026-10-31 9 min read

Crypto Trading API Keys: The Permission You Should Question

A trading-enabled API key bypasses your password and 2FA. Here is the permission-by-permission checklist for scoping, restricting and revoking keys before a bot or signal group drains your account.

Start trading on Traderise →
Crypto Trading API Keys: The Permission You Should Question

Every few months a new bot, dashboard or "AI signal" service asks you to paste in an exchange API key. The onboarding screen makes it look like plugging in a USB cable. It is not. An API key is a signed letter that tells your exchange to obey whoever holds it, around the clock, without asking for your password or your 2FA code. If you take crypto trading seriously, the permissions on that letter deserve more scrutiny than any token you will ever ape into.

This is a security checklist, not a scare piece. API keys are useful. Portfolio trackers, tax tools and well-built bots all need them. The goal is to hand out the smallest possible permission, to the fewest possible parties, for the shortest possible time, and to know exactly what to do when something leaks. Along the way we will look at when you do not need a third-party key at all, which is where a self-contained platform like Traderise changes the threat model.

What an API key really is

An exchange API key normally comes as a pair: a public key that identifies you and a secret that signs each request. Some exchanges add a passphrase. When a bot sends "buy 0.5 ETH at market", the exchange checks the signature, checks the permissions attached to the key, and executes. It does not check whether you are awake, whether you are logged in, or whether the request came from the app you think you authorised.

That last point is the one people miss. Your login is protected by a password, a 2FA code and often a device check. A key with trading rights skips all three. Security researchers who studied the 3Commas incident made exactly this point: with API access, attackers bypassed 2FA and other exchange security measures entirely. In practical terms, a trading-enabled key is closer to a power of attorney than a password.

Three properties that matter

Every item on the checklist below shrinks one of those three.

The permission menu, line by line

Exchanges label permissions differently, but the menu is broadly the same everywhere. Binance's own API documentation lists toggles for reading, spot and margin trading, futures, vanilla options, internal transfers between master and sub-accounts, universal transfers and withdrawals. Here is how to think about each.

Read-only

The safest tier. It lets a tool see balances, positions and order history. Portfolio trackers and tax software should never need more. A leaked read-only key still exposes your holdings and trading history, which is useful intel for targeted phishing, but it cannot move a single satoshi.

Spot trading

This is where risk jumps. A key that can place spot orders can be used to dump your balance into a worthless pair. You do not need a withdrawal permission to be robbed; you only need a counterparty on the other side of a thin order book. More on that below.

Margin, futures and options

These permissions let a key open leveraged positions. An attacker can open oversized trades designed to be liquidated, transferring your collateral to whoever is positioned against you. If your bot only trades spot, leave these off. If you do not know whether it trades derivatives, that is your answer.

Internal and universal transfers

Often overlooked. Transfer permissions let a key move funds between your own wallets and sub-accounts. On their own they do not send coins off the exchange, but they can shuttle collateral into a futures wallet where it becomes liquidation fodder. Treat them as a trading-level risk.

Withdrawals

The nuclear option. No third-party service you do not personally run should ever hold a key with withdrawal rights. Binance's support pages state that adding an IP access restriction is mandatory to enable withdrawals, and that since 30 January 2023 its system-generated keys can only be set to reading if the IP is unrestricted. That is a sensible default. Do not work around it.

How keys get drained without a single withdrawal

The most instructive case study is the 2022 3Commas saga. In October 2022, 3Commas and FTX reported that API keys had been used to place unauthorised trades on DMG pairs, and initially attributed them to phishing sites posing as 3Commas. In December, after a hacker posted data online, the company confirmed the leaked API data was genuine and asked Binance, KuCoin and others to revoke every connected key. Reporting at the time put the haul at around 100,000 API keys, with 10,000 published publicly.

The mechanics are worth understanding because they still work today:

  1. The attacker lists an illiquid token on the order book at an absurd price from an account they control.
  2. Using your trading-enabled key, they buy that token with your BTC, ETH or stablecoins, over and over.
  3. Your account ends up holding a bag of near-worthless tokens. Their account ends up holding your liquid assets.
  4. Nothing was "withdrawn", so from the exchange's perspective you executed a series of bad trades.

Binance's security blog describes this pattern directly: with stolen keys, a hacker can use assets with relatively small trading volume to pair trade and slowly siphon assets. That is why "no withdrawals" is necessary but nowhere near sufficient. A trading key without an IP whitelist is a loaded instrument.

The uncomfortable lesson from 2022: exchanges were not obliged to reimburse losses from keys users had handed out themselves. The permission was yours, and so was the bill.

The API key security checklist

Run through this list for every key you hold. If you cannot tick an item, fix it or delete the key.

  1. One key per tool. Never reuse a key across services. If one leaks, you revoke one key and know exactly which tool was the source.
  2. Minimum scope. Trackers get read-only. Spot bots get read plus spot. Nothing gets withdrawals unless it runs on infrastructure you control.
  3. IP whitelist everything. Ask the bot provider for its static egress IPs. A provider that cannot give you a fixed IP list is telling you something about its infrastructure.
  4. Use a sub-account. Fund a dedicated sub-account with only the capital the bot needs, and issue the key on that sub-account. Your main stack stays out of reach.
  5. Disable transfer permissions. Internal and universal transfers should be off unless a specific strategy requires them.
  6. Never paste keys through links from DMs or ads. Phishing clones of bot dashboards were the first attack vector in 2022. Type the URL yourself or use a bookmark.
  7. Watch the clipboard. Clipboard-reading malware and shady browser extensions can grab a secret between copy and paste. Audit your extensions before creating a key.
  8. Store secrets properly. Use a password manager or a secrets manager. Not a notes app, not a screenshot, not a Telegram "saved messages" chat.
  9. Set an expiry habit. If the exchange does not expire keys automatically, rotate them yourself every 90 days and delete any key you have not used in 30.
  10. Enable alerts. Turn on email and push notifications for every order fill and API key creation. Unexplained fills at 3 a.m. should wake you up.
  11. Review the key list monthly. Most people who check discover at least one forgotten key from a tool they stopped using last cycle.
  12. Keep the bot's balance boring. Hold stablecoins or majors in the bot's sub-account. Illiquid alts make contra-trading easier to disguise.

Bots, signal groups and the "just connect your key" pitch

A lot of key-harvesting is not hacking at all. It is marketing. Telegram groups promising "copy my trades for free", Discord servers offering a "managed account" if you share your API, and influencer-promoted bots with no company behind them are all asking for the same thing: your trading permission, with nothing at stake on their side.

A few red flags that should end the conversation:

That last one connects to trading psychology more than security. Automation feels like discipline, but a bot that churns your account for affiliate volume is just outsourced overtrading. If a tool's business model depends on you trading more, assume its defaults are tuned for that.

When you do not need a third-party key at all

Many traders hand out API keys for reasons that have nothing to do with automation. They want a cleaner mobile interface than their exchange offers, alerts, or access to more markets from one screen. Every one of those reasons expands the attack surface by adding a middleman with trading rights.

If what you want is price exposure to major coins rather than custody of the coins themselves, a self-contained crypto app like Traderise removes the middleman. Traderise offers crypto CFDs that trade 24/7 inside the platform itself, so there is no exchange key to export, no bot dashboard to authorise and no third party holding signing rights over your account. Your login, 2FA and device checks remain the only way in.

The practical benefits stack up:

To be clear about the trade-off: CFDs give you price exposure, not ownership of the underlying coins, and leveraged CFDs can amplify losses as quickly as gains. If you need on-chain custody for DeFi or self-custody, you still need an exchange or wallet. But if your goal is to trade price movements, there is no reason to run that through a chain of API keys.

Incident response: the first 15 minutes

If you see fills you did not place, speed matters more than diagnosis. Work through this in order:

  1. Delete every API key on the account, not just the one you suspect. Deleting is faster than auditing.
  2. Cancel all open orders so the attacker's resting orders cannot keep filling.
  3. Change your exchange password and reset 2FA from a clean device, in case the key leak came from malware.
  4. Screenshot everything: trade history, timestamps, the pairs traded and the counterparty token. Exchanges and law enforcement will ask.
  5. Contact exchange support with the trade IDs and ask them to freeze the counterparty account. Response windows are short.
  6. Revoke keys on every other exchange where you used the same bot or the same device.
  7. Scan or wipe the machine you used to create the key before generating a new one.

Then do the post-mortem. Which tool had the key, what permissions it held, and whether it was IP-restricted. Nine times out of ten, the answer points back to a checklist item that was skipped.

The bottom line

API keys are not inherently dangerous. Unscoped, unrestricted, forgotten API keys are. Give read-only access wherever you can, whitelist IPs everywhere, isolate bots in sub-accounts and never grant withdrawals to anything you do not run yourself. And before you connect yet another tool, ask whether you need the middleman at all.

If you want 24/7 crypto exposure with zero commissions, multi-asset access and no third-party keys in the loop, open an account with Traderise and keep your permissions where they belong: with you.

Ready to start?

Zero commissions, multi-asset trading, and a modern mobile-first UX. Start on Traderise.

Start on Traderise →

Get the Degen Decoded weekly

The crypto newsletter for people who've lost money and want to stop.

One email a week. Unsubscribe any time.

Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account
Start trading on TraderiseOpen account