vike-hl-market-stats
Venue-level numbers from two commands: hl market (views open_interest, funding_rates, hourly) and hl stats (views ecosystem, volume). All money is USD.
Call it
Use the first of these that is available:
- MCP: the
hl_markettool withviewopen_interest,funding_rates(optionalsymbol,sort,order,start,end,limit,cursor) orhourly(symbols, optionaldays,start,end); thehl_statstool withviewecosystemorvolume(optionalsymbol,start,end,limit,cursor). - CLI:
vike-data hl market --json # open interest per symbol (the default view) vike-data hl stats --view ecosystem --limit 25 --json # venue totals per hour, newest first vike-data hl stats --view volume --limit 24 --json # venue perp volume per hour (--symbol BTC for one coin) vike-data hl market --view funding_rates --limit 20 --json # funding board, biggest open interest first vike-data hl market --view funding_rates --sort abs_rate --limit 20 --json # the most extreme rates, either sign vike-data hl market --view funding_rates --symbol BTC --start 2026-11-01T00:00:00Z --json # one perp's hourly funding vike-data hl market --view hourly --symbols BTC,ETH,SOL --days 7 --json # close, open interest, funding, premium per hour - curl: send
X-API-KEY: $TOKEN(the credential isVIKE_API_KEY, elseapi_keyoranon_tokenfrom~/.vike/config.json;vike-coresays how to get an anonymous token).
Alsocurl -s "https://data.vike.io/v1/hyperliquid/positions/symbols" -H "X-API-KEY: $TOKEN" curl -s "https://data.vike.io/v1/hyperliquid/funding-rates?sort=abs_rate&limit=20" -H "X-API-KEY: $TOKEN" curl -s "https://data.vike.io/v1/hyperliquid/stats/volume?symbol=BTC&limit=24" -H "X-API-KEY: $TOKEN"/v1/hyperliquid/statsand/v1/hyperliquid/symbols/hourly?symbols=BTC,ETH&days=7.
Example questions
| Ask | Run |
|---|---|
| "How much open interest is on Hyperliquid?" | hl stats --view ecosystem --limit 1 (open_interest) or hl market per coin |
| "Hyperliquid BTC volume over the last 24 hours" | hl stats --view volume --symbol BTC --limit 25, drop the first row (hour in progress) |
| "Which Hyperliquid perps pay the most funding?" | hl market --view funding_rates --sort rate --limit 20, check open_interest_usd |
| "BTC funding on Hyperliquid this month" | hl market --view funding_rates --symbol BTC --start 2026-11-01T00:00:00Z |
| "Is Hyperliquid growing?" | hl stats --view ecosystem --limit 169: newest row vs 24 and 168 rows back |
Reading
open_interest(hl market): a bare array, biggest first:symbol,total_value(long + short notional),total_value_long,total_value_short,count(positions),count_long,count_short,venue_open_interest_usd(Hyperliquid's own figure, to reconcile: BTC $2.086B ours vs $2.074B published on 2026-12-02). Long and short notional are equal by construction (every long has a short), so the lean of a coin is incount_longvscount_short(many small longs against fewer large shorts) and in which cohorts hold each side (vike-hl-cohort-positioning).ecosystem(hl stats):metrics, one row per hour, newest first:ts,total_perp_equity,count_wallets,count_open_positions,count_long,count_short,open_interest(long + short),open_interest_long,open_interest_short,count_positions_in_profit. 24 rows back = a day earlier.volume(hl stats):volume, one row per hour, newest first:ts,volume(USD, each trade counted ONCE, the figure the candles report),n_fills(fill records, two per trade),symbol. The newest row is the hour in progress (BTC 2026-12-02 01:00: $6.6M against $380M for a full hour). The venue figure includes builder-DEX (HIP-3) perps and leaves out spot.funding_ratesboard (no--symbol):as_of, then per perpsymbol,funding_rate(the venue's HOURLY rate as a fraction; positive = longs pay),funding_rate_annualized(x 8760, simple),premium,mid_price,open_interest(coins),open_interest_usd.--sort oi(default),rate,abs_rate;--order desc|asc.rateandabs_rateput tiny markets first: on 2026-12-02 the top two had $28k and $75k open. There is no open-interest floor flag: readopen_interest_usd.funding_rateswith--symbol: that perp's hours, newest first, fromdata_from: eachfunding_rateis the MEAN of the hour's ~12 five-minute readings (n_snapshots), not the settled rate; the newest hour is in progress (fewer snapshots). HIP-3 hours from 2026-04-22 13:00 to 2026-11-03 are the settled rate.--start/--endneed--symbol.hourly(--symbols, at most 64):columns["ts","symbol","close","open_interest","funding_rate","premium"]androwsas ARRAYS in that order, not objects;ts,startandendare unix seconds;open_interestis in coins;closecomes from fills.--days1-400 (default 120) or--start.- Paging:
funding_ratesandstatstake--limitup to 5000 and--cursor <nextCursor>(resend the same--symbol,--sortand--order).
Errors
- "hl_market view 'hourly' needs
symbols": pass--symbols BTC,ETH. - "... does not take [...]": a flag of another view (
--starton the funding board needs--symbol). - "... must be at most 5000 ... (page with
cursor)": page instead. - Exit code 3 or HTTP 429: the day's request limit; show the message, do not retry.
Anti-patterns
- Don't compare Hyperliquid's hourly funding with a CEX 8-hour rate without scaling (
vike-perp-funding). - Don't read a USD open-interest rise as new positions without the price move:
hourlygives open interest in coins beside the close. - Don't quote the newest
volumehour as a full hour.
See also
vike-perp-funding,vike-perp-overview: the same numbers across CEX venuesvike-hl-hip3: the HIP-3 board with basis to the oracle and whale biasvike-hl-asset-briefing: everything about one coin on one pagevike-hl-cohort-positioning: who holds the long and the short side
