Traders: Portfolio Monitoring
Track what a portfolio is worth day by day, then compare two dates to see exactly which coins moved and by how much.
The Goal
You want to follow a portfolio over time. It could be your own fund's wallets, or a competitor you are watching. The question is simple: what is it worth today, how has that changed, and which coins are behind the change?
Arkham keeps a daily value history and a daily snapshot of every position for any entity or address. One call gives you the value curve. Two more give you the holdings on any two dates, and the difference between them is the trade list.
Endpoints Used
| Endpoint | What it gives you | Credits |
|---|---|---|
GET /history/entity/{entity} | The portfolio's USD value for every day, per chain | 2 per call |
GET /portfolio/entity/{entity} | Every position held on one day, with units, price, and USD | 2 per call |
GET /portfolio/timeSeries/entity/{entity} | One coin's balance for every day | 3 per call |
Each endpoint has an /address/{address} twin that works the same way for a single wallet, at 1, 1, and 2 credits. To track several wallets of your own as one portfolio, group them with POST /user/entities and use the returned ID anywhere an entity is accepted.
Step 1: Get the value curve
Ask for the daily USD history. This example uses the entity galaxy-digital. Find an entity ID with GET /intelligence/search, as shown in Inflow & Outflow Monitoring.
curl "https://api.arkm.com/history/entity/galaxy-digital" \
-H "API-Key: YOUR_API_KEY"{
"bitcoin": [
{ "time": "2026-09-04T00:00:00Z", "usd": 283098644.48 },
{ "time": "2026-09-05T00:00:00Z", "usd": 204227539.02 },
{ "time": "2026-09-06T00:00:00Z", "usd": 200653745.28 }
],
"ethereum": [
{ "time": "2026-09-04T00:00:00Z", "usd": 376974711.21 },
{ "time": "2026-09-05T00:00:00Z", "usd": 348866195.77 },
{ "time": "2026-09-06T00:00:00Z", "usd": 345163163.23 }
]
}- The response is keyed by chain. Add the chains together for each day to get the whole portfolio's value.
- Each point is the value at the start of that UTC day, so
2026-09-05is the close of September 4. - The whole history comes back in one call, often years of it. Add
chains=ethereum,bitcointo narrow it. - Today's point is still filling in. Use the previous day as the latest complete value.
Step 2: Get the holdings on a date
Pick a day and ask for every position. time is a Unix timestamp in milliseconds, and it is rounded down to the start of that UTC day. 1788566400000 is 2026-09-05.
curl "https://api.arkm.com/portfolio/entity/galaxy-digital?time=1788566400000" \
-H "API-Key: YOUR_API_KEY"{
"bitcoin": {
"bitcoin": { "id": "bitcoin", "name": "Bitcoin", "symbol": "btc", "balance": 2563.87, "price": 79656, "usd": 204227539.02 }
},
"ethereum": {
"coinbase-wrapped-btc": { "id": "coinbase-wrapped-btc", "name": "Coinbase Wrapped BTC", "symbol": "cbbtc", "balance": 1952.21, "price": 79686, "usd": 155564136.03 },
"liquid-staked-ethereum": { "id": "liquid-staked-ethereum", "name": "Liquid Staked ETH", "symbol": "lseth", "balance": 39005.02, "price": 2726.8, "usd": 106358876.66 },
"ethereum": { "id": "ethereum", "name": "Ethereum", "symbol": "eth", "balance": 15533.47, "price": 2455.39, "usd": 38140726.11 }
}
}- The response is keyed by chain, then by the coin's pricing ID. The same coin on two chains is two entries.
balanceis the number of units held,priceis that day's price, andusdis the two multiplied.- Passing seconds instead of milliseconds returns an empty portfolio. Multiply by 1000.
- A position the API cannot price that day, or one worth under about ten cents, is left out of the snapshot.
Step 3: Compare two dates
Call Step 2 twice, once for each date, and subtract. Splitting the change into units and dollars tells you whether the position was traded or the market moved it.
import requests
from datetime import datetime, timezone
API_KEY = "YOUR_API_KEY"
ENTITY = "galaxy-digital"
def snapshot(day):
ms = int(datetime.fromisoformat(day).replace(tzinfo=timezone.utc).timestamp() * 1000)
resp = requests.get(f"https://api.arkm.com/portfolio/entity/{ENTITY}", params={"time": ms},
headers={"API-Key": API_KEY})
resp.raise_for_status()
return {(chain, tid): row for chain, tokens in resp.json().items() for tid, row in tokens.items()}
before, after = snapshot("2026-08-29"), snapshot("2026-09-05")
moves = []
for key in set(before) | set(after):
a, b = before.get(key), after.get(key)
units = (b["balance"] if b else 0) - (a["balance"] if a else 0)
usd = (b["usd"] if b else 0) - (a["usd"] if a else 0)
moves.append((abs(usd), key, units, usd))
for _, (chain, token), units, usd in sorted(moves, reverse=True)[:5]:
print(f"{token:24} {chain:10} units {units:+,.2f} usd {usd / 1e6:+,.1f}M")bitcoin bitcoin units -1,651.87 usd -123.9M
hyperliquid hyperevm units -112,237.71 usd -8.6M
solana solana units -64,523.83 usd -6.8M
ethereum ethereum units +1,660.56 usd +4.3M
dai ethereum units +4,200,000.00 usd +4.2M- Units changed means coins were bought, sold, or moved. Galaxy held 1,652 fewer BTC on September 5 than on August 29.
- Units flat, USD changed means the price moved and the position did not. Sort by units to find the real trades.
- A coin in one snapshot but not the other shows as a full open or close. Check it in Step 4 before calling it a trade.
- The two totals should match the value curve from Step 1 on those days. Here they do: $751M and $628M.
Step 4: Check one coin's history
When a coin appears to vanish, ask for its balance on every day. A real sale shows the units dropping. A snapshot omission shows the units still there.
curl "https://api.arkm.com/portfolio/timeSeries/entity/galaxy-digital?pricingId=bitcoin" \
-H "API-Key: YOUR_API_KEY"{
"2026-08-29T00:00:00Z": {
"bitcoin": { "bitcoin": { "id": "bitcoin", "symbol": "btc", "balance": 4215.74, "price": 77839, "usd": 328149052.73 } }
},
"2026-09-05T00:00:00Z": {
"bitcoin": { "bitcoin": { "id": "bitcoin", "symbol": "btc", "balance": 2563.87, "price": 79656, "usd": 204227539.02 } }
}
}pricingIdis the coin's pricing ID from Step 2, such asbitcoinorusd-coin.- The response is keyed by day, then chain, then pricing ID, so a coin held on several chains has several entries per day.
- This is the most expensive call here, so use it on the few positions worth checking rather than on every coin.
Reading the results
- Prices are per day, not per chain. The same coin has the same price everywhere on a given day, so summing a coin across chains is safe.
- Snapshots are opening balances. The change between the September 4 and September 5 snapshots is what happened during September 4.
- A missing position is not always a sale. Coins with no price that day drop out of the snapshot. Step 4 tells you which it is.
- HyperCore positions are not itemised. Perp positions on Hyperliquid's own chain do not appear in the portfolio snapshot. HyperEVM is an ordinary chain and does appear.
- Watch units, not just dollars. A market rally lifts every holder's value at once. Only a change in units means the holder actually bought or sold.
Try an Example
Look through an example dashboard: Portfolio Monitoring Dashboard
Next Steps
- See the transfers behind a move in Inflow & Outflow Monitoring
- Check who the portfolio trades with in Counterparty Due Diligence & Risk Monitoring
- Compare this portfolio's moves to its rivals in Competitor Analysis