← Back to all guides

Security

What Are Crypto API Keys? Read-Only Keys Explained

9 min readCrypto Beginner Editorial Team30 Nov 2026
What Are Crypto API Keys? Read-Only Keys Explained

You connect a portfolio tracker to your exchange, paste in two long strings of letters and numbers, and suddenly the app shows every trade you have ever made. What did you just hand over?

Those two strings are crypto API keys. They are one of the most useful — and most misunderstood — features of a crypto exchange. Used correctly, they let tax tools, portfolio trackers and trading apps work for you automatically. Used carelessly, they can empty an account in minutes.

This guide explains what crypto API keys are, how the different permission levels work, what Indians actually use them for, and the safety rules that keep your money out of the wrong hands.

> Educational content only. This is not financial advice. API keys can give outside apps real access to your exchange account — never create or share one without understanding what permissions it carries.

What Is a Crypto API Key?

An API key is a pair of credentials that lets an outside application talk to your crypto exchange account without your password.

API stands for Application Programming Interface — a technical way of saying "a set of rules that lets two pieces of software communicate". When a portfolio tracker wants to show your balance, or a tax tool wants to download your trade history, it does not log in as you. Instead, it presents your API key, and the exchange answers the request.

Think of it like a hotel key card. Your password is the master key to the whole building — it opens everything, including changing your email and withdrawing funds. An API key is a key card programmed for specific rooms only. You decide in advance which doors it opens: reading balances, placing trades, or withdrawing funds. A well-set key card opens only the rooms the app genuinely needs.

A crypto API key always comes in two parts:

  • API key (the public part): a long string that identifies which account is making the request. This is like a username.
  • API secret (the private part): a second long string that proves the request is really coming from you. This is like a password, and the exchange shows it to you exactly once — when the key is created. If you lose it, you must delete the key and make a new one.
Both parts are needed together. Either one alone is useless, which is why they must never be shared, screenshotted or pasted into a public chat.

How API Keys Work: The Three-Part System

When an app uses your API key, the exchange checks three things before it answers.

1. Identity. The API key tells the exchange whose account is asking. Every request is tied to your account, so the app can only ever see or touch your data — never anyone else's.

2. Permission. Every API key carries a permission list, chosen by you at creation. The exchange refuses any request outside that list. A read-only key asking to place a trade gets a flat rejection.

3. Proof. Each request is signed with the API secret, a kind of digital fingerprint. If the signature does not match, the exchange ignores the request entirely. This is also why the secret must stay secret — anyone who has it can sign requests as if they were you.

Most Indian exchanges — CoinDCX, WazirX, ZebPay and others registered with FIU-IND — follow this same three-part model. The screens look slightly different, but the idea is identical: you create the key, pick its permissions, and the exchange gives you the secret once.

One more detail beginners often miss: API keys are separate from your login. Changing your password does not change or disable your API keys. If you suspect a key is compromised, you must revoke the key itself from the exchange's API settings — changing the password alone will not stop it.

Read-Only vs Trading vs Withdrawal: Permission Levels Explained

Permissions are the heart of API key safety. Most exchanges offer three broad levels, and understanding the difference is the single most important thing in this guide.

PermissionWhat it allowsWhat it cannot do
Read-onlyView balances, open orders, trade history and pricesMove funds, place trades, change account settings
TradingEverything read-only allows, plus placing and cancelling buy/sell ordersWithdraw funds to an outside wallet or bank
WithdrawalEverything above, plus sending crypto to outside addressesChange your login email or password
Read-only is the safest level, and it covers the most common uses. A portfolio tracker or a tax tool needs nothing more than to read your history.

Trading permission is riskier. An app with trading access can buy and sell in your account — it can place a market order at a bad price, or sell a holding you wanted to keep. It still cannot send funds out, so your crypto stays inside the exchange, but your positions can be changed without your knowledge.

Withdrawal permission is the most dangerous by far. It lets the key send crypto to outside wallets. Combined with trading permission, a leaked withdrawal key can sell your holdings and send the proceeds to a thief's address in a single automated sequence. This is exactly how several well-known exchange account thefts have happened: the victims had enabled withdrawal permission on a key they barely used, and the thief needed nothing else.

The rule is simple: give every key the minimum permission the app actually needs, and nothing more.

What Indians Actually Use API Keys For

For most Indian beginners, API keys serve one of four purposes.

1. Portfolio tracking. Apps that show all your holdings in one place — across two or three exchanges and a wallet — connect through read-only API keys. Instead of opening three apps every morning, you see one dashboard. This is the single most popular use, and read-only access is all it needs.

2. Tax records. Keeping crypto records for India's tax filing is far easier when a tax tool can pull your complete trade history automatically. Read-only keys let tools gather every buy, sell and transfer, which is what you need to report in Schedule VDA of your ITR. Without this, many traders end up reconstructing a year's trades from screenshots.

3. Trading bots and automation. Some traders connect automated programs — trading bots — that place orders based on rules, such as buying a fixed amount every week. These need trading permission. Bots are a separate topic with their own risks, including buggy code and fake-bot scams targeting Indian users on Telegram and WhatsApp.

4. Price alerts and dashboards. Some alert apps and spreadsheets pull live prices and your balance through a read-only key, then ping you when a holding crosses a level you set. Again, read-only is enough.

Notice the pattern: three of the four common uses need read-only access only. If an app asks for trading or withdrawal permission for a job that only needs reading, that is a warning sign — either the app is poorly designed, or it is not what it claims to be.

The Risks: Why API Keys Are Dangerous

API keys feel harmless because they are just text. But in the wrong hands, they are powerful. Here are the main risks.

Leaked keys. The most common failure is also the simplest: a key gets posted somewhere public. Beginners paste keys into Telegram groups asking for help, include them in screenshots, store them in shared Google Docs, or accidentally commit them to a public code repository. Automated scanners patrol the internet looking for exactly these strings, and a leaked key can be used within minutes.

Over-permissioned keys. Many people tick every permission box "just in case" when creating a key. A key created for a portfolio tracker does not need trading or withdrawal access — but if those boxes are ticked, a leak turns a privacy problem into a theft.

Fake apps and phishing. Scam apps and fake exchange websites ask you to "paste your API key to verify your account" or "connect your wallet to claim a reward". No legitimate service ever asks for your API secret through a chat message, a Telegram bot or a random website. The moment you paste a key into a scammer's form, your account is theirs to use within the key's permissions.

No IP restriction. Most exchanges let you lock a key to specific IP addresses — your home Wi-Fi, for example. A key without this lock can be used from anywhere in the world. Many thefts would have failed if this one setting had been switched on.

Forgotten keys. Old keys pile up: one for a tracker you stopped using, one for a bot you tested once, one for a tax tool from last year. Every forgotten key is a door you left unlocked. The more keys exist, the more chances one of them leaks.

Malware. Clipboard-stealing malware and fake browser extensions specifically hunt for API keys and seed phrases. Copying a key from your exchange and pasting it into an app is a moment when malware can grab it — one more reason to keep permissions minimal and to delete keys you no longer need.

7 Rules for Using API Keys Safely in India

Follow these seven rules and API keys become a low-risk convenience instead of a standing danger.

1. Start with read-only, always. Create every new key with read-only permission first. Only add trading permission if a specific tool genuinely needs it, and only after you understand exactly what that tool will do.

2. Never enable withdrawals. For almost every beginner use, withdrawal permission is unnecessary. Leave it off. If a tool insists it needs withdrawals, stop and ask why — and consider whether you need that tool at all.

3. Lock the key to your IP address. If your exchange offers IP whitelisting, use it. List your home internet connection's IP address so the key stops working from anywhere else. This single setting blocks most remote theft attempts.

4. Label every key and set an expiry. Give each key a clear name — "Portfolio tracker, November 2026" — and set an expiry date if the exchange allows it. Labels make it obvious which keys to delete later, and expiry dates limit the damage if you forget.

5. Never share keys in chats, screenshots or emails. Support staff at real exchanges will never ask for your API secret. Anyone who does is running a scam, whether they claim to be from CoinDCX, WazirX, ZebPay or any other platform. If a helper in a Telegram or WhatsApp group asks for your key, leave the group.

6. Delete keys you no longer use. Once a month, open your exchange's API settings and review the list. Delete anything tied to an app you stopped using. A key that does not exist cannot be stolen.

7. Keep your records separately. Your API keys help tax tools gather trade history — but keep your own records too. Save exchange statements and note which keys you created, for which app, and when. If you ever need to report a theft or file taxes, that paper trail matters.

Tax note: crypto tax rules can change — the 30% rate and 1% TDS described here were current as of September 2026. Verify the latest rules before filing. API keys do not change your tax obligations: trades made through a bot or a connected app are taxed exactly the same as trades you place by hand, and every transaction still needs to be recorded.

What to Do If an API Key Leaks

Act fast — speed matters more than anything else here.

  1. Revoke the key immediately. Log in to your exchange, go to API settings, and delete the key. This takes effect instantly. Do not wait to check whether anything was taken.
  2. Check your recent activity. Look at open orders, recent trades and withdrawal history. If you see trades or withdrawals you did not make, screenshot everything for evidence.
  3. Move your funds if withdrawals happened. If a withdrawal occurred, move your remaining crypto to a fresh wallet you control, and consider moving it off the exchange entirely until you are sure the account is secure.
  4. Change your password and 2FA. Even though the key was the entry point, refresh your login security at the same time — use a strong unique password and an authenticator app rather than SMS OTP.
  5. Report it. Tell your exchange's support team what happened, with times and screenshots. If money was stolen, file a complaint at cybercrime.gov.in or call the national cybercrime helpline 1930, and keep the acknowledgement number for your records.
The uncomfortable truth is that crypto sent to a thief's wallet is almost never recovered. That is why prevention — minimal permissions, IP locks, quick revocation — matters far more than any after-the-fact step.

Common Mistakes Beginners Make

MistakeWhy it hurtsDo this instead
Ticking all permission boxesA leaked key can trade and withdrawStart read-only; add permissions only if needed
Pasting keys into Telegram/WhatsAppScammers and scanners harvest themEnter keys only on the app's official website
Saving the secret in a screenshotPhotos sync to cloud and get sharedStore it in a password manager, or don't store it at all
Leaving old keys active for yearsForgotten keys are forgotten doorsReview and delete unused keys every month
Using one key for every appOne leak compromises everythingOne key per app, with a clear label
Skipping the IP restrictionKey works from anywhere in the worldWhitelist your own IP address
Sharing keys with "support"Real support never asks for secretsReport the account asking — it is a scam
## Conclusion

Crypto API keys are neither magic nor menace — they are a tool, and like any tool, their safety depends on how you use them. A read-only key connected to a portfolio tracker or a tax tool is one of the most useful conveniences in crypto. A withdrawal-enabled key pasted into a stranger's form is one of the fastest ways to lose everything.

Before you create your next API key, pause for thirty seconds and ask three questions: what does this app actually need, what is the minimum permission that covers it, and can I lock this key down with an IP restriction and an expiry date? If the answers are read-only, minimal and yes, you are in good shape.

And if you never need an API key at all, that is fine too. Buying, selling and withdrawing through your exchange's own app works perfectly well without one — and the safest key is the one that was never created.

Frequently asked questions

Can someone steal my crypto with a read-only API key?

No — a read-only API key cannot move funds or place trades, because the exchange only allows it to fetch information like balances and past orders. The real risk is privacy: anyone holding it can see your holdings and trading history. That is why you should still treat read-only keys as private, delete keys you no longer use, and never post one in a screenshot or a public chat.

Should I ever enable withdrawals on an API key?

For almost every beginner, the answer is no. Withdrawal permission turns an API key into a direct route out of your account, and there is no undo button if a leaked key is used to drain funds. If a specific tool genuinely needs withdrawals, use a separate key with withdrawal addresses whitelisted to your own wallets, IP restrictions switched on, and only the smallest balance you can manage. Most apps — portfolio trackers, tax tools and price alerts — work perfectly with read-only access.

Do I need an API key to use a crypto exchange?

No. You only need an API key when you want an outside app or program to talk to your exchange account on your behalf. Buying, selling and withdrawing through the exchange's own website or app works with your normal login, password and two-factor authentication. Many beginners never create an API key at all, and that is completely fine.

Related guides