Traders: Inflow & Outflow Monitoring
Watch whether coins are piling into an exchange or draining out of it. Two calls per exchange give you the money in and the money out for each day, week, or hour, and the difference between them is the net flow.
The Goal
When people send coins to an exchange, they are usually getting ready to sell. When they pull coins off, they are usually planning to hold. So the direction of flow is an early hint of where price pressure is coming from.
Exchanges also move coins between their own wallets all the time, for example from a hot wallet into cold storage. Those internal moves are not counted here. Inflow only counts coins arriving from outside the exchange, and outflow only counts coins leaving to addresses outside it.
Endpoints Used
| Endpoint | What it gives you | Credits |
|---|---|---|
GET /intelligence/search | The entity ID for an exchange, from its name | 30 per call |
GET /transfers/histogram | How much moved in or out of that exchange in each time bucket | 4 per call |
Step 1: Find the exchange's entity ID
Search for the exchange by name and take the result whose type is cex.
curl "https://api.arkm.com/intelligence/search?query=coinbase" \
-H "API-Key: YOUR_API_KEY"{
"arkhamEntities": [
{ "id": "coinbase", "name": "Coinbase", "type": "cex" },
{ "id": "coinbase-prime", "name": "Coinbase Prime", "type": "cex" },
{ "id": "coinbase-wallet", "name": "Coinbase Wallet", "type": "misc" }
]
}idis what you pass to every other call. Here it iscoinbase.- Only a
cexresult is an exchange. The same name can also match wallets, products, and people.
You only need to do this once per exchange. Common IDs match the name you would guess: binance, coinbase, kraken, okx, bybit.
Step 2: Read the money coming in
Ask for transfers into the exchange, bucketed by day.
curl "https://api.arkm.com/transfers/histogram?base=coinbase&flow=in&tokens=bitcoin&timeGte=2026-09-01&timeLte=2026-09-07&granularity=1d" \
-H "API-Key: YOUR_API_KEY"[
{ "time": "2026-09-03T00:00:00Z", "count": 10429, "usd": 2276238216.30 },
{ "time": "2026-09-04T00:00:00Z", "count": 10008, "usd": 1931442965.04 },
{ "time": "2026-09-05T00:00:00Z", "count": 8002, "usd": 425646788.31 },
{ "time": "2026-09-06T00:00:00Z", "count": 7530, "usd": 1078255756.15 }
]baseis the exchange andflow=inmeans transfers that arrived at its wallets from addresses outside it.tokenspicks the coin by its token ID. Leave it out to count every coin. A ticker likebtcdoes not work here, and IDs generally match CoinGecko:bitcoin,ethereum,solana,tether.timeGteandtimeLteset the window.granularitysets the bucket:1h,1d,1w,1Mfor a month.- Each row is one bucket.
usdis the dollar value that moved in andcountis the number of transfers. - A bucket with no transfers is left out rather than returned as zero. If you are lining rows up by date, fill the gaps with zero.
base=all&to=deposit:binance&from=!binance on the same window, and if it returns rows, use that call as your inflow series.Step 3: Read the money going out
Same call, with flow=out.
curl "https://api.arkm.com/transfers/histogram?base=coinbase&flow=out&tokens=bitcoin&timeGte=2026-09-01&timeLte=2026-09-07&granularity=1d" \
-H "API-Key: YOUR_API_KEY"[
{ "time": "2026-09-03T00:00:00Z", "count": 9827, "usd": 2079189308.19 },
{ "time": "2026-09-04T00:00:00Z", "count": 9390, "usd": 2307089686.07 },
{ "time": "2026-09-05T00:00:00Z", "count": 7634, "usd": 427010064.65 },
{ "time": "2026-09-06T00:00:00Z", "count": 7344, "usd": 1212491417.29 }
]Step 4: Subtract to get net flow
Net flow for a bucket is inflow minus outflow. Using the two responses above, in millions of dollars:
| Day | In | Out | Net |
|---|---|---|---|
| Sep 3 | 2,276 | 2,079 | +197 |
| Sep 4 | 1,931 | 2,307 | -376 |
| Sep 5 | 426 | 427 | -1 |
| Sep 6 | 1,078 | 1,212 | -134 |
- Positive net means more coins arrived than left. Customers are moving coins onto the exchange, which often comes before selling.
- Negative net means coins are leaving. Customers are withdrawing to hold or to move elsewhere.
- Near zero with large in and out, like Sep 5, means the exchange was busy but balanced.
- Compare the net to the gross. A net of -134 on 1,212 out is a small imbalance. A net of -376 on 2,307 is a large one.
A few lines do the subtraction and line the buckets up by date:
import requests
API_KEY = "YOUR_API_KEY"
EXCHANGE = "coinbase"
PARAMS = {"tokens": "bitcoin", "timeGte": "2026-09-01", "timeLte": "2026-09-07", "granularity": "1d"}
def histogram(flow):
resp = requests.get("https://api.arkm.com/transfers/histogram",
params={"base": EXCHANGE, "flow": flow, **PARAMS},
headers={"API-Key": API_KEY})
resp.raise_for_status()
return {row["time"]: row["usd"] for row in resp.json()}
inflow, outflow = histogram("in"), histogram("out")
for day in sorted(set(inflow) | set(outflow)):
net = inflow.get(day, 0) - outflow.get(day, 0)
print(f"{day[:10]} net {net / 1e6:+,.0f}M")Run it for each exchange you follow and put the columns side by side. The same script with granularity=1h gives an intraday view for a volatile day.
Reading the results
- A whole column of zeros or empty responses usually means the entity ID is real but is not the exchange you meant.
htxis a person, and the exchange ishuobi. Go back to Step 1. - The last bucket is partial. A day bucket read at noon only has half a day in it. Drop the bucket that is still in progress before comparing it to the others.
- Weekly and monthly buckets follow the calendar, not your start date. A window that opens mid-week gets a short first bucket.
- Track the trend, not one bucket. Several days in a row with the same sign is what to look for. One large day is often just a single fund moving coins to a new custodian.
Try an Example
Look through an example dashboard: Inflow & Outflow Monitoring Dashboard
Next Steps
- Find out who moved it, and whether any of them trace back to a flagged source, in Counterparty Due Diligence & Risk Monitoring
- Track what the entities you follow hold with Portfolio Monitoring
- Rank a group of rival firms by how much each one moved in Competitor Analysis
- Check Credit Pricing and Rate Limits before widening the exchange list