Historical Smart Money Perps Positions
Get historical USD exposure for one Hyperliquid perp coin, split into Smart Trader, Whale, and Public Figure cohorts. Each call costs 5 credits.
Send coin and exactly one of as_of_date or as_of_ts. A date includes the full UTC day and must be before the current UTC date. A timestamp includes positions through that exact cutoff, must include a timezone, and cannot be in the future.
curl -X POST "https://api.nansen.ai/api/v1beta1/tgm/historical-token-recent-flows-summary-perps" \
-H "Content-Type: application/json" \
-H "apikey: $NANSEN_API_KEY" \
-d '{"coin": "BTC", "as_of_date": "2025-09-15"}'For Smart Money backtesting, calculate net position from the Smart Trader fields:
net_position_usd = smart_trader_longs_usd - smart_trader_shorts_usdShort exposure is a positive magnitude. smart_trader_total_usd is gross exposure, longs plus shorts. Use the same calculation for the Whale and Public Figure cohorts.
sm_label_filter applies only to the Smart Trader cohort. An empty list selects Smart HL Perps Trader. Whale and Public Figure cohorts use fixed labels.
Date snapshots and some timestamp snapshots use labels assigned retrospectively. Membership in a cohort was not necessarily knowable at the cutoff, which can introduce look-ahead bias in backtests. Some label filters can reflect current fund membership. Historical exposure is not a guarantee of a signal observable at the time.
Requests before available history return an empty data array. Exposure fields can be null when cohort coverage is unavailable. Preserve those values as missing data. Top PnL fields are unsupported and always return null. Results may change after late data, pricing fixes, label-history corrections, or backfills.
Beta. Request shapes, response fields, and pricing may change.
Historical long, short, and total USD exposure for one Hyperliquid perp coin. Returns the Smart Trader, Whale, and Public Figure cohorts.
Supply coin and exactly one cutoff: as_of_date for a completed UTC date, or as_of_ts for an exact RFC3339 timestamp with a timezone, no later than now.
Short exposure is a positive magnitude. Net position equals longs minus shorts; total exposure equals longs plus shorts. Missing cohort coverage returns null exposure fields. Top PnL exposure fields are unsupported and return null.
sm_label_filter narrows the Smart Trader cohort. An empty list selects Smart HL Perps Trader. Whale and Public Figure cohorts are fixed.
Date snapshots and some timestamp snapshots use labels assigned retrospectively. Cohort membership was not necessarily knowable at the cutoff and can introduce look-ahead bias in backtests. Some label filters can reflect current fund membership.
Results may change after late data, pricing fixes, label-history corrections, or historical data backfills.
API key for authentication
Request model for the Hyperliquid historical token recent flows summary endpoint.
UTC date cutoff. The full date is included.
2025-09-01Hyperliquid perp coin symbol (e.g. BTC, HYPE, @1)
BTCHistorical Hyperliquid cohort exposure at the requested cutoff
Bad Request
Unauthorized
Payment Required
Forbidden
Not Found
Unprocessable Content
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout
POST /api/v1beta1/tgm/historical-token-recent-flows-summary-perps HTTP/1.1
Host: api.nansen.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 122
{
"as_of_ts": "2026-01-01T00:00:00.000Z",
"as_of_date": "2025-09-01",
"coin": "BTC",
"sm_label_filter": [
"Smart HL Perps Trader"
]
}{
"pagination": {
"page": 1,
"per_page": 10,
"is_last_page": true
},
"data": [
{
"coin": "BTC",
"smart_trader_longs_usd": 21900000,
"smart_trader_shorts_usd": 60800000,
"smart_trader_total_usd": 82700000,
"whale_longs_usd": 926000000,
"whale_shorts_usd": 903900000,
"whale_total_usd": 1830000000,
"public_figure_longs_usd": 16600000,
"public_figure_shorts_usd": 42900000,
"public_figure_total_usd": 59600000,
"top_pnl_longs_usd": 1,
"top_pnl_shorts_usd": 1,
"top_pnl_total_usd": 1
}
]
}Last updated
Was this helpful?