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

EndpointWhat it gives youCredits
GET /intelligence/searchThe entity ID for an exchange, from its name30 per call
GET /transfers/histogramHow much moved in or out of that exchange in each time bucket4 per call

Step 1: Find the exchange's entity ID

Search for the exchange by name and take the result whose type is cex.

Requestbash
curl "https://api.arkm.com/intelligence/search?query=coinbase" \
  -H "API-Key: YOUR_API_KEY"
Responsejson
{
  "arkhamEntities": [
    { "id": "coinbase", "name": "Coinbase", "type": "cex" },
    { "id": "coinbase-prime", "name": "Coinbase Prime", "type": "cex" },
    { "id": "coinbase-wallet", "name": "Coinbase Wallet", "type": "misc" }
  ]
}
  • id is what you pass to every other call. Here it is coinbase.
  • Only a cex result 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.

Requestbash
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"
Responsejson
[
  { "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 }
]
  • base is the exchange and flow=in means transfers that arrived at its wallets from addresses outside it.
  • tokens picks the coin by its token ID. Leave it out to count every coin. A ticker like btc does not work here, and IDs generally match CoinGecko: bitcoin, ethereum, solana, tether.
  • timeGte and timeLte set the window. granularity sets the bucket: 1h, 1d, 1w, 1M for a month.
  • Each row is one bucket. usd is the dollar value that moved in and count is 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.
Some exchanges keep customer deposit addresses outside the entity
For those, this query counts the sweep into the exchange's own wallets rather than the customer's send. Check with 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.

Requestbash
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"
Responsejson
[
  { "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:

DayInOutNet
Sep 32,2762,079+197
Sep 41,9312,307-376
Sep 5426427-1
Sep 61,0781,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:

Example scriptpython
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. htx is a person, and the exchange is huobi. 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