Journal / Entry VIII / Guides
Read-Only API Keys: Connect an Exchange Safely
Is it safe to connect your crypto exchange to a portfolio tracker? Yes, if the API key can only read. Here is how to make one, and what to never allow.
Every crypto portfolio tracker that reads your exchange account asks for the same thing: an API key. To many traders that sounds like handing over the keys to the account. It does not have to be. An API key can be made so that it can look, and nothing else.
What an API key is
An API key is a password for software. Instead of logging in with your email and password, a program uses the key to talk to the exchange on your behalf. The key comes in two parts: a public part, often called the API key, and a private part, the secret. Together they let a program into your account.
What the program can do once inside is not decided by the key itself. It is decided by the permissions you give the key when you create it.
The three permissions that matter
Exchanges name them differently, but almost all of them offer the same three kinds:
| Permission | What it allows | A portfolio tracker needs it? |
|---|---|---|
| Read | See balances, positions, orders and trade history | Yes |
| Trade | Place and cancel orders | No |
| Withdraw | Send coins out of the account | Never |
A portfolio tracker reads. That is the whole job. It needs to see what you hold and what you traded, so it can value the portfolio and work out your profit after fees. It never needs to place an order, and it never, under any circumstances, needs to withdraw.
So the rule is simple: create a key with read permission only. If a tracking tool refuses to work without trade or withdraw permission, do not use it.
How to create a read-only API key
The steps are much the same on every exchange:
- Open the exchange’s API management page, usually under your account or security settings.
- Choose create API key and give it a name you will recognise, such as the name of the tracker.
- Under permissions, tick read (sometimes called view or read-only) and leave trade and withdraw unticked.
- If the exchange offers it, and the tracker publishes its server addresses, restrict the key to those IP addresses. A key that only works from known servers is useless to anyone who copies it.
- Confirm with your two-factor code, then copy the key and the secret into the tracker. The secret is usually shown only once.
Why read-only is safe
A read-only key cannot move money. If it leaked, whoever held it could see your balances and your history, which is private and worth protecting, but could not trade them away or withdraw a single coin. Compare that with a password or a seed phrase, which would give away everything.
That is why the safest trackers are built read-only from the ground up: not just asking for read permission, but having no way to trade or withdraw at all.
Wallets: the public address is enough
For a self-custody wallet there is no API key at all. A tracker reads a wallet from the blockchain itself, using only your public address, the one you would give someone to send you coins. Anyone can read a public address; that is how blockchains work.
Never type your seed phrase or private key into a portfolio tracker, or any website. No honest tool will ask for it. A request for a seed phrase is the clearest sign of a scam there is.
A short checklist
- The key has read permission only.
- Trade and withdraw are switched off.
- The key is limited to the tracker’s IP addresses, where possible.
- Each tool gets its own key, so you can switch one off without touching the others.
- You delete keys you no longer use.
- For wallets, you share the public address, never the seed phrase.
How the Reader handles it
The Reader, our crypto portfolio tracker, is read-only by design: it holds no custody, and it has no ability to trade or withdraw. It reads your exchange accounts with read-only keys and your wallets by their public addresses, and puts them in one portfolio. To read more about tracking every account in one place, see How to Track a Crypto Portfolio Across Wallets.
This entry is general education, not financial advice. Examples are simplified and use illustrative figures. Digital assets are volatile and you can lose all of the money you commit.