Cryptocurrency Portfolio Tracker: How to Track Crypto Across Multiple Exchanges and Wallets

To track crypto across several exchanges and wallets, connect each exchange with a read-only API key so balances update on their own, add coins held in your own wallets by hand, and record what you paid for each coin so profit and loss are right. Keep your full trade history as well, because the tax rules where you live depend on it. Agni Folio syncs seven exchanges today: Binance, Bybit, Coinbase, HTX (Huobi), Kraken, KuCoin and OKX.

This guide walks through the setup step by step, shows a worked profit-and-loss example, explains how crypto is taxed in the US, the UK, Singapore, India and the UAE, and lists the mistakes that cause most wrong numbers.

Why crypto is harder to track than shares

  • It is spread out. One exchange for buying, another for a coin the first does not list, a hardware wallet for long-term coins, maybe an app wallet for DeFi.
  • Each exchange has several wallets inside it. Spot, funding, Earn or savings, staking, margin and futures can each hold part of your balance.
  • Moving coins looks like selling. A withdrawal from one exchange and a deposit at another can look like a sale and a new purchase unless you know they are the same coins.
  • Many events count. Trades between coins, staking rewards and spending crypto can all matter for tax, depending on your country.
  • Prices never stop. Crypto trades all day, every day, so a value from yesterday evening can already be stale.

Step 1: List every place you hold crypto

Before connecting anything, write a simple list: each exchange account, each wallet, and roughly what is in it. Include the exchange you stopped using two years ago with a small balance still on it. Forgotten balances are the most common gap in any crypto tracker, and they also matter to your family if something happens to you.

Step 2: Connect each exchange with a read-only API key

An API key lets a tracker read your balances without your password. In Agni Folio:

  1. On the exchange, open API Management and create a new key. Turn on read permission only. Leave trading and withdrawal off.
  2. Copy the API key and secret. Coinbase, KuCoin and OKX also need the passphrase you set when you created the key (not your login password).
  3. In Agni Folio, open Source Connections from your profile menu, click Add Exchange, choose the exchange, give it a name such as "My Binance", pick the portfolio account it belongs to, and paste the key.
  4. Agni Folio checks the key with the exchange straight away and tells you if it fails.

What happens after that:

  • Balances sync every hour, and you can press Sync Now at any time.
  • Read-only is enforced. Where the exchange reports what a key can do, Agni Folio refuses a key that can trade, withdraw or move funds. Where the exchange cannot report it, you are asked to confirm the key is read-only.
  • Keys are encrypted before they are stored.
  • More than spot. Depending on the exchange, Agni Folio reads spot plus Earn or savings, funding, staking, and margin or futures wallets. Margin shows as one net figure: what you hold minus what you borrowed.
  • Each connection appears as one holding in your net worth, named after the connection. Coin-by-coin detail is on the Crypto Overview page.
  • Failed syncs stop. After 5 failures in a row (for example, the key was deleted on the exchange), the connection is switched off until you fix the key and reactivate it.

If you restricted the key to certain IP addresses on the exchange, the check can fail. Remove the restriction and rely on read-only permission instead.

Step 3: Add coins held in your own wallets

Agni Folio does not read ordinary coin balances from a blockchain address today. For Bitcoin on a hardware wallet, Ether in a browser wallet or tokens in a DeFi app, add a holding by hand: choose the crypto type (Bitcoin, Ethereum, altcoins, stablecoins or DeFi tokens), enter the coin symbol and the number of coins. The price then updates with the market.

There is one exception. If you hold tokenized shares (blockchain tokens that track a listed stock or fund) in an Ethereum wallet, you can add the wallet's public address and Agni Folio finds and values those tokens. You never share a private key or recovery phrase for this. See how to track tokenized shares in an onchain wallet.

Step 4: Record what you paid (cost basis)

An exchange connection tells Agni Folio what you hold and what it is worth now. It does not know what you paid. That purchase cost, called the cost basis, is what profit and loss are measured from.

You set it by asking Astra, the chat assistant in Agni Folio, in plain words:

  • "Set my BTC cost basis to $42,000 and ETH to $2,300." This records one average buy price per coin, in US dollars. Setting it again replaces the old figure.
  • "Recover my crypto cost basis from KuCoin." For KuCoin only, Astra reads about the last three months of spot and margin trades on USDT and USDC pairs and works out your average buy price. Coins bought before that window still need a price set by hand. Other exchanges do not support this yet.

Then ask "What's my crypto profit and loss by coin?" You get, per coin, the gain or loss on what you still hold. If you recovered history from KuCoin, you also see profit already locked in by sales and the interest paid on margin loans. Your net worth does not depend on cost basis: it always uses today's value.

Worked example: average cost vs first in, first out

Sam buys Bitcoin twice and sells once:

DateActionBTCPriceAmount
MarchBuy0.5$40,000$20,000
JuneBuy0.3$60,000$18,000
SeptemberSell0.2$70,000$14,000

Average cost. Sam paid $38,000 for 0.8 BTC, so the average is $38,000 / 0.8 = $47,500 per BTC. The 0.2 BTC sold cost 0.2 x $47,500 = $9,500, so the profit on the sale is $14,000 - $9,500 = $4,500. Sam still holds 0.6 BTC with a cost of $28,500. If Bitcoin is now $65,000, those coins are worth $39,000, an unrealised gain of $10,500. Agni Folio's crypto profit and loss uses this average cost method.

First in, first out. If the 0.2 BTC sold is treated as coming from the March purchase, its cost is 0.2 x $40,000 = $8,000 and the profit is $14,000 - $8,000 = $6,000.

Same trades, a $1,500 difference in the profit on the sale. Which method is correct depends on your country, which is why a tracker's profit and loss is a guide to how you are doing, not a figure to copy into a tax return.

How crypto is taxed: US, UK, Singapore, India and UAE

A short summary of each country's main rules. Rules change, so check the linked official page before you file.

United States

  • The IRS treats digital assets as property, not currency. Selling, exchanging one coin for another and spending crypto can all create a gain or loss. Moving coins between wallets you control is not a sale.
  • Gains and losses on disposals go on Form 8949. Holding for more than one year generally gives long-term rates; one year or less is short-term.
  • Staking and mining rewards are ordinary income when you receive them.
  • Brokers report gross proceeds on Form 1099-DA for sales from 1 January 2025, and cost basis for certain sales from 1 January 2026.
  • From 1 January 2025, cost basis is tracked per wallet or account, not across all your wallets at once.

Sources: IRS, Digital assets; IRS Topic 409, Capital gains and losses.

United Kingdom

  • Capital Gains Tax can apply when you sell crypto, swap it for another coin, spend it, or give it away (gifts to a spouse, civil partner or charity are the exception).
  • Costs are pooled per coin, at an average cost. Coins bought on the same day as a sale, or within the following 30 days, are matched first instead of using the pool.
  • The tax-free allowance is £3,000 a year. Above it, rates are 18% for gains within the basic rate band and 24% above it.
  • Tokens from staking, mining or lending are usually taxed as income, with a £1,000 allowance for this kind of income.

Sources: HMRC, tax when you sell cryptoassets; HMRC, tax when you receive cryptoassets; GOV.UK, CGT allowance; GOV.UK, CGT rates.

Singapore

  • Singapore has no capital gains tax. Gains from holding crypto as a long-term investment are generally not taxed.
  • If you buy and sell in a way that amounts to trading (frequent trades, short holding periods, intent to profit from resale), IRAS can treat the gains as taxable income. This is judged on the facts of each case.
  • Tokens received as payment for goods or services are taxable income.

Source: IRAS e-Tax Guide, Income Tax Treatment of Digital Tokens.

India

  • Income from transferring crypto (a "virtual digital asset") is taxed at a flat 30%.
  • Only the cost of buying the asset can be deducted. No other expenses are allowed.
  • A loss on crypto cannot be set off against any other income and cannot be carried forward.
  • 1% tax is deducted at source (TDS) on the sale value when you transfer crypto, once your transfers in the year pass ₹10,000 (₹50,000 for certain smaller taxpayers).
  • India's new Income-tax Act, 2025 applies from 1 April 2026 and renumbers sections, so use the current return form's crypto schedule rather than old section numbers.

Sources: Income Tax Department, Taxation of Virtual Digital Assets; Section 115BBH.

United Arab Emirates

  • The UAE has no personal income tax. Personal investment income is not treated as business income for UAE Corporate Tax.
  • An individual is within Corporate Tax only if they carry on a business in the UAE and its turnover exceeds AED 1 million in a calendar year. If your crypto activity looks like a business, get professional advice.
  • If you are a citizen or tax resident of another country, that country may still tax your gains.

Source: UAE Federal Tax Authority, Basis of taxation for natural persons.

Common mistakes

  • Leaving out small or old balances. They add up, and nobody else will find them.
  • Using a key with trading or withdrawal rights. A tracker only needs to read. A read-only key cannot move your money even if it leaks.
  • Counting a transfer as a sale. Moving coins between your own accounts is not a disposal in any of the countries above. Keep notes so you can show it.
  • Forgetting the cost basis. Without it, "profit" is just today's value. Set an average price per coin, even a rough one, and refine it later.
  • Filing tax from a tracker's profit figure. Use it to understand your position. For a return, use the method your country requires (pooling in the UK, per-wallet lots in the US, per-transfer gains in India) and your full trade history.
  • Relying on the exchange keeping your history. Some exchanges limit how far back you can download trades, and exchanges can close. Export your history every year and keep it.
  • Forgetting the people who would need to find it. If your family does not know a wallet exists, the coins are lost. Keep a record of where every account is, without the recovery phrase itself.

Frequently asked questions

Which exchanges does Agni Folio connect to?

Binance, Bybit, Coinbase, HTX (Huobi), Kraken, KuCoin and OKX, through read-only API keys. Balances refresh every hour. Other exchanges, and coins in self-custody wallets, can be added by hand.

Can a crypto tracker steal my coins?

Not with a read-only key, which cannot place orders or withdraw. Never give any tracker a key with trading or withdrawal rights, and never share a recovery phrase or private key with any app or person.

Why does my profit differ from what the exchange shows?

Usually because of the cost method (average cost vs first in, first out), because the exchange only counts trades made on that exchange, or because coins moved in from elsewhere have no purchase price on the new exchange.

Does Agni Folio read my hardware wallet?

Not for ordinary coins. Add those by hand. It can read a public Ethereum address to find tokenized shares.

Are staking and Earn balances included?

Yes, where the exchange reports them through its API. Depending on the exchange, that covers Earn or savings, staking, funding, and margin or futures wallets alongside spot.

Can I see crypto next to my other investments?

Yes. Each exchange connection and each hand-added coin counts toward the same net worth as your shares, funds, cash and property, converted to your display currency. See how to track your net worth and true crypto profit and loss.

Related Articles