Vike Data API

v1.1.4
io.vike/data Checked 41 minutes ago Published 19 days ago

Crypto data for AI agents: on-chain wallets, Hyperliquid, HL Cohorts, Polymarket and Predict.fun.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

wallet_summary Wallet Summary

Get a wallet's aggregate metrics: volume, inflow, outflow, net flow, tx count, tokens traded across time windows (24h/7d/30d/90d/all). Without `chain` it answers for the more recently active of ethereum and bsc, and for base or hyperevm only when the wallet has no priced ethereum/bsc volume; the result's `chain` says which.

ParameterTypeDescription
address *stringWallet address (0x-prefixed hex)
chainstringAnswer for this chain only (default: see the tool description)

wallet_discover Wallet Discover

Find top wallets ranked by volume, inflow, outflow, net flow, tx count, or realized PnL. On base and hyperevm window=all always works; 24h/7d/30d/90d only while those windows were refreshed in the last 2 days, otherwise a 400.

ParameterTypeDescription
chainstringChain (default ethereum)
include_hubsboolean | stringAlso rank round-trip hubs (flash-loan/MEV/router pass-through wallets: volume of $10B or more, net flow and realized PnL each within 0.1% of it), hidden by default
orderstringSort direction (default desc)
sizeintegerResults per page (default 10, max 20)
sortstringSort metric (default volume)
windowstringTime window (default 30d; base and hyperevm default to all, and serve the others only while those windows are under 2 days old)

token_transfers Token Transfers

Get who bought and sold a specific token in a given period, ranked by net USD. tab=bought lists the top NET buyers (bought more than sold), tab=sold the top NET sellers, largest first, with quantities and USD values. Wallets that only pass the token through (routers, pools: bought ~= sold) are not listed; a row can still be a contract (a pool, vault or settlement contract), and `title` names the known ones; `hide_contracts` leaves out the contracts we know of. bought / sold / net_tokens are whole tokens, usd_spent / usd_received USD. net_usd = usd_received - usd_spent, so a net buyer's is NEGA…

ParameterTypeDescription
token_address *stringToken contract address (0x-prefixed)
chainstringChain (default ethereum)
hide_contractsboolean | stringLeave out the contracts we know of (the website's 'Hide pools & routers'): wallets labelled as a pool, router, vault, bridge or staking contract, and addresses with contract code that bought and sold…
max_amountnumber | stringCount only transfers of at most this many tokens (whole tokens, not raw units, up to 1e18). Applied to each transfer BEFORE a wallet's totals are summed, so bought, sold and the USD columns add up onl…
min_amountnumber | stringCount only transfers of at least this many tokens (whole tokens, not raw units, up to 1e18). Applied to each transfer BEFORE a wallet's totals are summed, so bought, sold and the USD columns add up on…
periodstringLookback period (default 24h)
tabstringNet buyers or net sellers (default sold)

hl_ohlcv Hyperliquid OHLCV

Historical OHLCV candles for a Hyperliquid market, aggregated from HL's own executed fills, by `view`. `candles` (default): one symbol's bars. Pass `symbol` as the HL asset (BTC, ETH, HYPE); `market` picks perps or HL spot and `dex` picks a builder-deployed HIP-3 perp DEX (default HL, the core venue). Buckets are left-aligned UTC and the window is half-open [start, end). Returns candles as {ts (epoch ms, UTC), open, high, low, close, volume, volume_usd, n_trades} ascending by ts, plus `source` naming the rollup that answered. `export`: the same, with `limit` defaulting to the maximum, 5000 (th…

ParameterTypeDescription
dexstringPerp DEX. Default HL, the core venue; the others are builder-deployed HIP-3 DEXs. On `latest`, omitted = every DEX.
endstringISO-8601 UTC or epoch ms (exclusive). Default: now.
intervalstringCandle width. Default 1h; `latest` takes 1m only, its default.
limitinteger | stringMax candles (default 500 on `candles`, 5000 on `export`; hard max 5000).
marketstringPerpetual or HL spot. Default perp.
startstringISO-8601 UTC or epoch ms (inclusive). Default: end - limit*interval.
symbolstringHL asset: perp ticker (BTC), spot token (HYPE) or raw spot index (@107). Required by `candles` and `export`.
viewstring`candles` (default): one symbol's bars; `export`: the same with `limit` defaulting to 5000; `latest`: the newest 1-minute bar of every symbol.

polymarket_ohlcv Polymarket OHLCV

Historical OHLCV candles for ONE Polymarket outcome token, from the recorded L2 tape. `token_id` is the ERC-1155 outcome token id — a market's condition_id will NOT work here; read the token ids off `clob_token_ids` from polymarket_market_detail. Prices are probabilities in [0, 1]. Returns bars OLDEST first as {ts (epoch ms, UTC), open, high, low, close, volume, trades}. There is no cursor, so a window wider than `limit` is truncated at the OLD end — raise `from` to reach the recent end. With `to` and no `from`, `limit` keeps the bars nearest `to` (`to`=X, `limit`=1 is the last bar at or b…

ParameterTypeDescription
interval *stringCandle width. Required.
token_id *stringERC-1155 outcome token id. Required.
frominteger | stringEpoch MILLISECONDS, inclusive lower bound. Omit for no lower bound.
limitinteger | stringMax candles (default 500, hard max 1000).
tointeger | stringEpoch MILLISECONDS, INCLUSIVE upper bound. Omit for no upper bound.

perp_funding Perp Funding

Perpetual-futures funding rates. Pass `symbol` (e.g. 'BTC') to get current per-venue rates for one asset: `funding_rate` per settlement, `interval_h` between settlements, and the same rate as `rate_8h` and `apr` (fractions) so venues compare; `interval_src` says where `interval_h` comes from ('venue': the venue publishes it for the symbol, 'fixed': the venue settles every hour for every market, 'default': nothing published, 8 h assumed), and `capped` is true when the rate sits at the venue's published cap or floor for the symbol (null when the venue publishes none). `funding_rate` is the rate…

ParameterTypeDescription
symbolstringSpecific symbol (e.g. 'BTC'), or one HIP-3 market ('xyz:NVDA'). Omit for all symbols.

perp_spreads Perp Spreads

Get top cross-venue spread-arbitrage opportunities for perpetual futures. Returns symbols where the price gap between the cheapest and most-expensive exchange is >= 0.5%, the ten widest. With symbol: that one coin's cheapest and dearest venue now, whatever the gap (one row, or none when fewer than two perps quote it). Each row includes buy_exchange+buy_price, sell_exchange+sell_price, and spread_pct. Pre-ranked — just cite the rows directly. Outliers (>400 bps from cross-venue median, typically unit-mismatch listings like 1000SHIB) are already filtered out. Each perp leg carries buy_/sell_ma…

ParameterTypeDescription
symbolstringOne coin (BTC): its spread whatever the size. Omit for the ten widest gaps of 0.5% or more.

alerts_list Alerts List

List the current user's alert rules. Returns active alerts by default; pass include_inactive=true to include paused/deleted ones. Also use this to look up an alert_id before editing or deleting. Each row has `alert_type`, `policy` (per_event, cooldown or hysteresis: how often it notifies) and, for a Hyperliquid alert, an `hl` object holding its parameters (a `pm` object for a Polymarket alert, `cex` for a CEX perpetual one).

ParameterTypeDescription
include_inactiveboolean | stringInclude paused/deleted alerts. Default false.

alerts_create Alerts Create

Create an alert rule for the current user: an on-chain transfer alert (the default), a Hyperliquid or a Polymarket alert, chosen by `alert_type`. TRANSFER ('transfer'): fires when a transfer on ONE chain (eth, bsc, base or hyperevm) matches: token_symbol if given, min_value_usd if given, and, if `address` is given, that wallet on the side `address_role` says. `address` = ONE 20-byte EVM address ('0x' + 40 hex); ENS names, entity names and non-EVM addresses are refused. Without min_value_usd EVERY transfer touching the address matches (dust and unpriced tokens too); with min_value_usd or max_va…

alerts_edit Alerts Edit

Partial update of one of the user's alerts. Only the fields you pass are modified; pass alert_id to identify which one (get it from alerts_list). Use is_active=false to pause an alert without deleting it. `address` replaces the alert's wallet condition (one per alert; same rules as alerts_create); address='' removes it; `address_role` alone moves the existing address to that side. The fields mean what they mean in alerts_create, and a Hyperliquid alert (its type cannot change) is re-validated whole after the edit: '' or [] clears an optional field such as token_symbol or pnl_cohorts, and a fie…

ParameterTypeDescription
alert_id *integer | stringThe alert ID (from alerts_list).
actionsarrayhl_wallet only: which fills notify. Default: open, close, flip, increase ('add' is accepted for increase); reduce is opt-in.
addressstring0x + 40-hex EVM address; '' removes the wallet condition.
address_rolestring
bandnumber | stringhl_cohort_bias and hl_liq_proximity: hysteresis, greater than 0 (default 0.1). A bias alert fires when the index reaches threshold + band (up) or threshold - band (down); a proximity alert fires when…
chainstring
channelsarray
condition_idstringPolymarket only: the market, its 0x + 64-hex condition id. Required for pm_market_trade, pm_price_move and pm_resolution; optional for pm_wallet_trade (one market of that wallet).
cooldown_minutesinteger | string
directionstringhl_cohort_bias: which crossings notify. pm_price_move: which moves of the market's first outcome (Yes on a yes/no market) notify. Default both. cex_funding: up = alert when funding rises to `threshold…
eventsarrayhl_wallet_orders only: placed = a new order appeared in the book, gone = an order left it (its outcome filled, partially_filled or canceled comes from the order's own fills). Default both. Each check'…
exchangesarrayCEX perpetual alerts only: the exchanges to watch, lower-case (binance, bybit, okx ...). Leave out for every exchange we track. cex_funding: alerts per exchange; cex_funding_arb and cex_spread compare…
hold_minutesinteger | stringcex_spread only: the spread must stay at or above `threshold` this many minutes before the alert fires, so a one-minute spike does not (default 5, 0 = at once, at most 1440).
indexstringhl_cohort_bias only, required: the index watched for token_symbol. smi = long share of smart wallets minus long share of rekt wallets; wsi = long share of whales minus long share of shrimp; smart_bias…
is_activeboolean | string
labelstring
max_triggers_dayinteger | stringYour own daily cap: at most this many notifications of this alert per UTC day (1 to 10,000), e-mail and webhook alike, counted per event (a wallet-orders check is one); every event past it still reach…
max_value_usdnumber | string
min_amountnumber | stringWhole tokens of token_symbol; '' or 0 removes the amount floor.
min_value_usdnumber | string
pnl_cohortsarrayhl_cohort_fill and hl_liquidation: only wallets in these realised-PnL cohorts (the ladder runs from '3x smart' = top 1% to '3x rekt' = bottom 5%). hl_cohort_fill REQUIRES at least one PnL or size coho…
sidestringhl_wallet_orders only: only buy or only sell orders. Leave out for both.
size_cohortsarrayhl_cohort_fill and hl_liquidation: only wallets in these account-size cohorts (the ladder runs from '4x whale' = $10M+ to 'shrimp' = under $1k). hl_cohort_fill REQUIRES at least one PnL or size cohort…
thresholdnumber | stringhl_cohort_bias: the index level to cross (default 0). hl_liq_proximity: the share of the way from entry price to liquidation price, strictly between 0 and 1 (default 0.8). cex_funding (required): the…
token_symbolstring
walletstringOne 0x + 40-hex address. Hyperliquid: the account to watch, required for hl_wallet, hl_wallet_orders and hl_liq_proximity, optional for hl_liquidation. Polymarket: the proxy wallet (the address of its…

alerts_delete Alerts Delete

Delete one of the user's alerts by id. Soft-delete (pauses it, keeps history) by default; pass hard=true to remove permanently. Returns {ok: true} on success.

ParameterTypeDescription
alert_id *integer | stringThe alert ID to delete.
hardboolean | stringHard-delete vs pause. Default false.

alerts_list_channels Alerts List Channels

List the user's enabled email + webhook notification channels. Use before creating an alert to confirm which channels are available (a Hyperliquid or Polymarket alert mails the account address, needs a webhook, or is read with alerts_events). Returns a list of {id, channel_type, is_verified, label} rows.

alerts_events Alerts Events

Read the events the current user's alert rules produced, oldest first (the feed behind GET /v1/alerts/events). Page forward by passing the returned `next_cursor` back as `cursor`; an empty page returns the same cursor, so a poller keeps it and asks again. A page also ends once its events pass about 2 MB (a wallet-orders event can list 200 orders), so it can hold fewer than `limit` events with `has_more` true: keep paging, nothing is skipped. A wallet-orders event keeps its `orders` list 1 hour after the alert (until its deliveries are done, if later); after that it has its totals, `orders_remo…

ParameterTypeDescription
cursorstringThe previous page's `next_cursor`. Omit for the oldest retained event.
limitinteger | stringEvents per page, 1 to 500. Default 100.
rule_idinteger | stringOnly the events of this alert (its id from alerts_list).

alerts_resend_delivery Alerts Resend Delivery

Send one of the user's own alert deliveries again (the same as POST /v1/alerts/deliveries/{id}/resend): the webhook or e-mail of an event that failed, expired or was lost on the receiving side. Take the delivery `id` from the `delivery` list of an event in alerts_events. Works whatever the delivery's status, up to 15 days after its event; it is queued for an immediate attempt with the same event id and a fresh signature, then retried as usual. Returns {id, status, result} where result is queued, already_queued or sending. Queued is a request, not a promise: the sender checks the rule and the c…

ParameterTypeDescription
delivery_id *integer | stringThe delivery `id` from an event's `delivery` list in alerts_events.

hl_perp_top_traders Hyperliquid Perp Top Traders

Rank top Hyperliquid perp wallets by PnL / ROI / win rate / volume / trade count within a time window. Use for questions like 'top HL traders with win rate > 75%' or 'best HL perp wallets last 7d'. Data comes from the same pipeline that backs vike.io/hyperliquid/wallets. Use win_rate expressed as percent (0-100). roi_pct is window realized PnL over the CURRENT account value (a unified or portfolio-margin wallet's whole value, native + builder + USDC outside them; perp_account_value is the native perp account and account_mode default, unifiedAccount, portfolioMargin or disabled) and max_drawdow…

ParameterTypeDescription
min_tradesinteger | stringMinimum trade count (default 3)
min_volumenumber | stringMinimum volume USD (default 0 = no filter)
min_win_ratenumber | stringMinimum win rate as percent 0-100 (default 0 = no filter)
orderstringSort direction (default desc)
sizeinteger | stringNumber of traders (default 20, max 100)
sortstringSort metric (default pnl)
windowstringTime window (default 30d)

hl_position_match Hyperliquid Position Match

Reverse-lookup a Hyperliquid open position from share-card details (symbol + side + leverage + entry price). Given the info shown on a HL trader's share card, return wallet(s) with matching open positions, ranked by entry-price proximity. Useful for 'whose share card is this?' or 'who has a 25x ETH long open at $3,200?'. Walks tight (±0.05%) -> loose (±0.5%) -> fallback (±1.0%) entry bands and requires leverage within ±0.5. Reads from the latest position snapshot (freshness-gated to the newest 15-minute window).

ParameterTypeDescription
entry_price *number | stringEntry price from share card
leverage *number | stringLeverage from share card (e.g. 5, 10, 25); 0 finds positions with no leverage recorded
side *stringPosition side
symbol *stringAsset symbol (e.g. BTC, ETH, SOL)
limitinteger | stringMax matches to return (default 50, max 500)
mark_pricenumber | stringOptional current mark price; sharpens the tie-break when multiple wallets share the same entry.

hl_cohort_metrics Hyperliquid Cohort Metrics

Hourly long/short positioning of ONE Hyperliquid perp split by cohort: every bucket of one ladder, every hour, in one call (the matrix behind 'are whales / smart money long or short BTC'). `axis` picks the ladder: `size` (account value), `pnl` (percentile of cumulative realized PnL), `pnl_abs` (realized PnL in dollar bands), `pnl_unrealized` (currently onside), `tier` (each position's own notional). Data from 2026-04-07 (the first hour cohort labels are correct); an older `start` is served from there and the envelope says `data_from`. Rows are hour x cohort: `n_wallets` (wallets in the cohort…

ParameterTypeDescription
symbol *stringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Required: an all-symbol matrix is refused.
axisstringLadder to split by: `size` (account value), `pnl` (percentile of cumulative realized PnL), `pnl_abs` (realized PnL in dollar bands), `tier` (each position's own notional bucket; `trade_size` is an ali…
cursorstringCursor over HOURS: `nextCursor` from the previous page, verbatim.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z.
gradingstringWhich PnL grading labels each wallet (axis `pnl` or `pnl_unrealized` only): `realized` (default on `pnl`), `realized-pit` (a control rebuilt once a day through 23:00 of the last complete UTC day, so a…
hoursinteger | stringNumber of hourly buckets, newest first; the response holds about this many x 12-13 cohort rows. Pass 1-24 for a current read. Max 8760.
includestringComma list of `volume`, `median_pnl`; default none. Adds to the NEWEST hour's rows `volume_24h_usd` (USD the cohort's wallets filled in this symbol in the last 24 hours; on `size` only wallets holding…
label_basisstring`point_in_time` returns each hour's cohort label AS IT WAS: use it for every backtest (axis=pnl). Every field is served while each hour of the page carries that label on its rows: every hour from 2026…
opened_withinstringOnly positions opened within this window BEFORE EACH HOUR (rolling per bucket, not relative to now): `24h`, `7d`, `30d` or `all`. Applied on `size`, `tier`, `pnl_abs` and `pnl` with the default label…
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. The hour in progress is never returned.

hl_segments Hyperliquid Segments

The Hyperliquid cohort vocabulary and its latest-snapshot positioning, by `view`. `cohorts`: the label sets per ladder, the exact spellings every `cohort` parameter accepts. `segments`: the catalogue with bounds, ranks and what each ladder measures (`size` is account value in USD; `pnl` is a percentile rank of cumulative realized PnL, not dollars; `pnl_abs` is dollars). `summary`: everything ONE cohort holds right now across all symbols: long/short notional in USD, `bias` a fraction from -1 to +1, `pct_wallets_in_profit` a FRACTION from 0 to 1 despite its name, `exposure_ratio` = notional / ma…

ParameterTypeDescription
axisstringCohort ladder: `size` = account-value tiers in USD, `pnl` = percentile rank of cumulative realized PnL (NOT dollars), `pnl_abs` = dollar bands of that same PnL. Per-position `trade_size` / `tier` is r…
cohortstringOne label on `axis`, spelled exactly as `hl_segments` view=cohorts lists it, e.g. `whale` (size) or `3x smart` (pnl). Used by view: summary, history. Required by view: summary, history.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. `history` only: with no `start`, the window is the `hours` newest hours at or before it. Used by view: history.
hoursinteger | string`history` only: window length in hours when `start` is omitted, ending at `end` or now. Max 8760. Used by view: history.
includestring`history` only: comma list, only `leverage`; default none (nothing extra is read). Adds to every hourly row `perp_bias` = (long - short) / equity, `equity_exposure` = (long + short) / equity and `equi…
limitinteger | string`history` only: max hourly rows, newest first; `has_more` says older ones exist, page back with `end` = the oldest `ts` minus 1 second. Max 5000. Used by view: history.
opened_withinstringOnly positions opened within this window: `24h`, `7d`, `30d` or `all`; positions with no known open time are left out of every bounded window. Used by view: summary, heatmap.
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. `history` only; hours before 2026-04-07 are never returned. Used by view: history.
viewstringWhat to read. `segments`: the catalogue of every cohort bucket with its bounds and what the ladder measures. `cohorts`: the flat label sets, i.e. the exact spellings every `cohort` parameter accepts.…

hl_wallet Hyperliquid Wallet

One Hyperliquid wallet, by `view`. `summary`: live equity, open positions, both cohort labels, the risk metrics of the window (`win_rate` is a FRACTION from 0 to 1; `max_drawdown_pct` and `pnl_pct` are percents, `pnl_pct` is null under $1 of equity), cumulative realized PnL since inception and lifetime deposits and withdrawals, all money in USD; `equity.account_value` is the wallet's whole value in the venue's unified and portfolio-margin modes (native perp account + builder accounts + USDC outside them, free spot tokens left out; those modes also read null on the drawdown fields), else the na…

ParameterTypeDescription
addressstringHyperliquid wallet address: 0x followed by 40 hex characters, any case. Required.
opened_withinstringBounds the open-positions block ONLY (equity, lifetime and metrics are wallet-level totals with nothing per-position to filter): `24h`, `7d`, `30d` or `all`. Used by view: summary.
viewstringWhat to read. `summary`: equity, open positions, cohort labels, risk metrics and lifetime flow. `trades_summary`: closed-trade statistics overall and per symbol. Default `summary`.
windowstringWindow of the risk metrics and trade statistics, by trade time: `1d`, `7d`, `30d` or `all`.

hl_wallet_activity Hyperliquid Wallet Activity

A Hyperliquid wallet's event history, by `view`. `fills`: raw fills, newest first (`size_usd`, `closed_pnl` in USD; `fee` is in its own `fee_token`). `funding`: funding payments, `payment_usd` signed from the wallet's side (negative = the wallet PAID). `ledger`: deposits, withdrawals, transfers and vault events with `amount_usd`. `builders`: the builder codes the wallet's flow is routed through, by volume (`share_of_volume` is of its builder-routed volume only, not of all its trading). Keyset-paged: pass `nextCursor` back; it is null on the last page. Same data as GET /v1/hyperliquid/wallets/{…

ParameterTypeDescription
addressstringHyperliquid wallet address: 0x followed by 40 hex characters, any case. Required.
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. Used by view: fills, funding, ledger.
event_typestringOne ledger event type; an unknown value is refused, not answered with an empty list. Used by view: ledger.
limitinteger | stringRows per page, newest first. Default by view: fills 100, funding 100, ledger 100, builders 50. Max by view: fills 5000, funding 5000, ledger 5000, builders 500.
sidestring`buy` or `sell`. Omit for both. Used by view: fills.
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. Used by view: fills, funding, ledger.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Omit for all symbols. Used by view: fills, funding.
viewstringWhat to read. `fills`: raw fills, newest first. `funding`: funding paid and received, newest first. `ledger`: deposits, withdrawals, transfers and vault events, newest first. `builders`: which builder…
windowstringWindow of the builder-routed flow: `1d`, `7d`, `30d` or `all`. Used by view: builders.

hl_leaderboard Hyperliquid Leaderboard

Rank Hyperliquid wallets with the full risk set, by `view`. `ranking`: precomputed per-window metrics sorted on any of 20 keys (PnL, ROI, win rate, Calmar, profit factor, drawdown, streaks, ...), filtered by cohort and by minimum trades / win rate / volume, cursor-paged. A window is what was REALIZED in it (the trades closed in it) and a wallet needs 3 closed trades in it unless `min_trades` says otherwise (0 = no floor). `flow_adjusted`: ranks FILLS-DERIVED realized trading PnL, which excludes deposits by construction, with deposits, withdrawals and daily attribution returned beside it, both…

ParameterTypeDescription
axisstringCohort ladder: `size` = account-value tiers in USD, `pnl` = percentile rank of cumulative realized PnL (NOT dollars), `pnl_abs` = dollar bands of that same PnL. Selects the ladder `cohort` filters on.…
cohortstringOne label on `axis`, spelled exactly as `hl_segments` view=cohorts lists it, e.g. `whale` (size) or `3x smart` (pnl). Omit for no cohort filter. Used by view: ranking.
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. Resend the same window / sort / order / axis / cohort with it.
limitinteger | stringRows per page. Max 500.
min_tradesinteger | stringMinimum closed trades in the window. Default 3, the floor hl_perp_top_traders applies; pass 0 for no floor (view `flow_adjusted` then still needs at least one).
min_volumenumber | stringMinimum total volume in USD. Used by view: ranking.
min_win_ratenumber | stringMinimum win rate as a FRACTION from 0 to 1 (0.6 = 60%), compared with the `win_rate` the rows show; 60 is refused, not read as 60%. hl_perp_top_traders takes a percent instead. Max 1. Used by view: ra…
orderstring`desc` (best first) or `asc`. Used by view: ranking.
sortstringRanking metric; an unknown key is refused, never replaced by a default. Used by view: ranking.
viewstringWhat to read. `ranking`: traders ranked on any of 20 metrics with the full risk set. `flow_adjusted`: traders ranked on fills-derived trading PnL, deposits reported beside it. Default `ranking`.
windowstringWindow: `1d`, `7d`, `30d` or `all`. The trades CLOSED in the current UTC day and the 1, 7, 30 or 365 days before it: PnL, trade counts, win rates and tags are what was realized in it.

hl_liquidations Hyperliquid Liquidations

Hyperliquid liquidations, by `view`. `fills`: liquidation events, newest first, filtered by symbol, wallet, side and time. Since 2026-08-03 rows are EXACT, the liquidated wallet's own fill from the node (`liq_ts` the fill's millisecond, sizes what it closed, `mark_price` the venue's mark); older rows are INFERRED from ~5-minute position snapshots (a position over $100 whose mark was within 5% of its liquidation price and which is gone from the next snapshot; `liq_ts` is that snapshot's time and size/mark are the last values seen; a hand close that near liquidation counts, partial liquidations…

ParameterTypeDescription
axisstringCohort ladder: `size` = account-value tiers in USD, `pnl` = percentile rank of cumulative realized PnL (NOT dollars), `pnl_abs` = dollar bands of that same PnL. Used by view: risk.
binsinteger | stringNumber of equal-width price bins, minimum 5. The window is fixed at +-50% around the mark price. Max 500. Used by view: heatmap.
cohortstringOne label on `axis`, spelled exactly as `hl_segments` view=cohorts lists it, e.g. `whale` (size) or `3x smart` (pnl). Omit for all wallets. Used by view: risk.
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. Used by view: fills.
directionstringThe side of the position that was CLOSED: `long` = longs liquidated (price fell), `short` = shorts liquidated. Used by view: fills.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. Used by view: fills.
limitinteger | stringRows per page, newest first. Max by view: fills 5000, risk 500. Used by view: fills, risk.
min_value_usdnumber | string`risk` only: smallest total open notional in USD a symbol needs to be ranked. Default 0 (no floor), so thin micro-cap markets can lead; raise it to keep only markets big enough for a cascade to matter…
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. Used by view: fills.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Used by view: fills, heatmap. Required by view: heatmap.
viewstringWhat to read. `fills`: liquidation events, newest first: exact from the node's fills since 2026-08-03, inferred from position snapshots before. `risk`: per symbol, the share of open notional close to…
walletstringOne wallet, to ask whether it has been liquidated. Used by view: fills.

hl_market Hyperliquid Market

Hyperliquid market positioning, by `view`. `open_interest`: open interest per symbol at the latest snapshot beside the venue's own figure, so the two can be reconciled. `symbol_metrics`: the hourly open-interest, position-count and `bias` series (a fraction from -1 to +1) of ONE symbol, all cohorts summed or one cohort sliced; the newest row is `provisional` (the hour in progress). A cohort slice has data from 2026-04-07 (the first hour cohort labels are correct; `data_from`), all cohorts summed the whole history. A `pnl` cohort slice here uses TODAY's grading for past hours (look-ahead): use…

hl_builders Hyperliquid Builders

Hyperliquid builder codes (front-ends and bots that attach their address to an order and take a slice of the taker fee), by `view`. `leaderboard`: builders ranked by fee revenue, routed volume, unique users or fills over a window. `stats`: venue-wide builder economics. `profile`: one builder's totals with per-symbol and per-dex breakdowns, user-volume deciles and lifetime totals. `users`: the wallets routing through one builder. `fills`: its raw routed fills (sum `fee_usd`; `fee` is in its own `fee_token`). `series`: fee, volume, users and fills per hour or day (`users` is NOT additive across…

ParameterTypeDescription
breakdown_limitinteger | stringRows per breakdown (per-symbol and per-dex). Max 1000. Used by view: profile.
bucketstringBucket width: `1h` or `1d`. Used by view: series.
builderstringBuilder address: 0x followed by 40 hex characters. Used by view: profile, users, fills, series. Required by view: profile, users, fills, series.
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. Used by view: leaderboard, users, fills, series.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. Used by view: fills, series.
limitinteger | stringRows per page. Default by view: leaderboard 50, users 100, fills 100, series 500. Max by view: leaderboard 500, users 1000, fills 5000, series 2000. Used by view: leaderboard, users, fills, series.
orderstring`desc` or `asc`. Used by view: leaderboard, users.
sidestring`buy` or `sell`. Omit for both. Used by view: fills.
sortstring`leaderboard`: `fee` (the builder's own cut), `volume`, `users` or `fills`. `users`: `volume`, `fees` or `pnl` (the TRADERS' signed realized PnL, not the builder's). Default by view: leaderboard fee,…
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. Used by view: fills, series.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Omit for all symbols. Used by view: fills.
viewstringWhat to read. `leaderboard`: builders ranked by fee revenue, volume, users or fills. `stats`: venue-wide builder-code economics. `profile`: one builder's totals with per-symbol and per-dex breakdowns.…
windowstringWindow: `1d`, `7d`, `30d` or `all`. Used by view: leaderboard, stats, profile, users.

hl_vaults Hyperliquid Vaults

Hyperliquid vaults across the platform, by `view`. `list`: one row per vault family (HLP and its sub-vaults are one row) with current TVL, APR (our 30-day share-price return, annualised) and the window's PnL, return, net flow, volume and fills, plus `leverage` (gross notional / equity) and the leader's and top-5 depositors' shares; `q` searches by name or address. A family is measured from the first day all its open vaults are recorded (`start`, `partial`); its flows are the parent's. `stats`: platform TVL, deposits, withdrawals and net flow over the window, vaults created per month. `flows`:…

ParameterTypeDescription
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. Used by view: list, flows.
depositsstring`any`, or only vaults whose deposits are `open` or `closed`. Used by view: list.
limitinteger | stringRows per page. Default by view: list 50, flows 100. Max by view: list 500, flows 1000. Used by view: list, flows.
min_tvlnumber | stringMinimum current TVL in USD. Used by view: list.
min_usdnumber | stringSmallest flow in USD. Used by view: flows.
orderstring`desc` or `asc`. Used by view: list.
qstringSearch, 2-64 characters: a case-insensitive part of the vault name, or an address prefix starting `0x` (a sub-vault's address finds its family). Used by view: list.
smart_onlyboolean | stringOnly depositors in the top 1,000 of the all-time PnL leaderboard. Used by view: flows.
sortstringRanking: `tvl`, `apr`, `pnl`, `return`, `net_flow`, `volume`, `age`, `leverage` or `top5_share` (the five largest depositors' share). Used by view: list.
statusstring`open`, `closed` or `all` vaults. Used by view: list.
typestring`all`, `deposit`, `withdraw`, `distribution` or `commission`. Used by view: flows.
viewstringWhat to read. `list`: every vault family with TVL, APR, the window's PnL, return, net flow and volume, leverage and depositor concentration; `q` searches by name or address. `stats`: platform TVL, flo…
windowstringWindow ending on the newest recorded day: `7d`, `30d`, `90d`, `365d` or `all` (all history). Default by view: list 30d, stats 30d, flows 7d.

hl_vault Hyperliquid Vault

One Hyperliquid vault by address, by `view`. `profile`: TVL, APR, leverage, leader and top-5 shares, active depositors and all five windows (7d, 30d, 90d, 365d, all). `depositors`: every current depositor (not only the largest 100) with equity, PnL on the current position, all-time PnL, entry time, lockup end and PnL rank. `flows`: the vault's own ledger rows, newest first. `series`: equity, chained share price (`nav`), net flow and PnL per hour or day, oldest first (for a parent vault, its whole family). Its fills, trades and positions: hl_wallet and hl_wallet_activity with the vault address.…

ParameterTypeDescription
bucketstringPoint width: `1h` or `1d`. Used by view: series.
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. Used by view: depositors, flows, series.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. Used by view: series.
limitinteger | stringRows per page. Default by view: depositors 100, flows 100, series 500. Max by view: depositors 1000, flows 1000, series 5000. Used by view: depositors, flows, series.
min_equity_usdnumber | stringSmallest depositor equity in USD, at least 1. Used by view: depositors.
orderstring`desc` or `asc`. Used by view: depositors.
smart_onlyboolean | stringOnly depositors in the top 1,000 of the all-time PnL leaderboard. Used by view: depositors.
sortstringRanking: `share`, `pnl` (on the current position), `all_time_pnl` (since the first deposit) or `entered` (entry time). Used by view: depositors.
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. Used by view: series.
typestring`all`, `deposit`, `withdraw`, `distribution` or `commission`. Used by view: flows.
vaultstringVault address: 0x followed by 40 hex characters. Required.
viewstringWhat to read. `profile`: TVL, APR, leverage, depositor concentration and all five windows. `depositors`: current depositors with their equity, PnL, entry and lockup, largest share first. `flows`: the…
windowstringWindow ending on the newest recorded day: `7d`, `30d`, `90d`, `365d` or `all`. Used by view: flows.

hl_orders Hyperliquid Orders

Hyperliquid standing orders, by `view`. `open`: every order resting at one instant (`at`, default the newest snapshot) for a `symbol` and/or a `wallet`, in key order, each with its owner's `sizeCohort`, `pnlCohort` and `pnlCumUsd` (without `at` the current labels, with `at` those of the hour before the snapshot's own hour), optionally one cohort's, with `snapshotTs` and `source`: `l4_tick` = a perp or spot `symbol`'s orders at the moment `at` itself (the last 7 days; untriggered stops as of the 5-minute snapshot before it), `l4_5m` = the node's 5-minute order snapshot (from 2026-10-23 21:45 UT…

ParameterTypeDescription
addressstringHyperliquid wallet address: 0x followed by 40 hex characters, any case. Used by view: wallet, order_stats. Required by view: wallet, order_stats.
atstringISO-8601 UTC instant, floored to 5 minutes; on `open` and `book` a perp or spot `symbol` in the last 7 days answers that moment itself (`l4_tick`). Default: the newest snapshot; not before 2026-07-29…
band_bpsinteger | string`book_cohorts`: the orders within `50`, `200` (the default) or `1000` basis points of the mid. Used by view: book_cohorts.
cohortstringOne label on `axis`, spelled exactly as `hl_segments` view=cohorts lists it, e.g. `whale` (size) or `3x smart` (pnl). Only that cohort's orders (`open`, `clusters`), or its stops and liquidations (`sq…
cohort_axisstringThe ladder `cohort` is read on: `size`, `pnl` or `pnl_abs`. Default `size`. On `book_cohorts` the ladder the book is split by: `size` or `pnl`. Default by view: book_cohorts size. Used by view: open,…
created_fromstringISO-8601 UTC: only orders placed at or after this. Used by view: open.
created_tostringISO-8601 UTC: only orders placed at or before this. Used by view: open.
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page. On `open` it pins the snapshot of the first page. Used by view: open, wallet, walls.
fromstringISO-8601 UTC start of the window. Default: 7 days before `to` (`wallet`, `order_stats`), 24 hours before `to` (`walls`, `book_cohorts`). Used by view: wallet, book_cohorts, walls, order_stats.
intervalstring`book_cohorts`: one point per `5m`, `1h` (the default) or `1d`; hours and days average the 5-minute snapshots. Used by view: book_cohorts.
kindstring`both` (the default), `resting` (limit orders on the book) or `trigger` (untriggered stops and take-profits). Used by view: walls.
levelsinteger | stringPrice levels per side, counted from the best price outward. Max 1000. Used by view: book.
limitinteger | stringRows per page. Max 1000. Used by view: open, wallet, walls.
marketstring`perp` (the default) or `spot`. Perp and spot books are never mixed: HYPE is both. Used by view: open, clusters, book, book_cohorts, walls, order_stats.
min_usdnumber | stringSmallest wall in USD: limit price x original size, a stop or take-profit at its trigger price. At least 100,000. Default by view: walls 1000000.0, order_stats 100000.0. Used by view: walls, order_stat…
oidinteger | stringOne order id. 0 (the default) = every order. Used by view: open.
order_typestringOne order type; an unknown value is refused. Used by view: open.
outcomestringOnly the walls with this outcome: `filled`, `partially_filled`, `pulled` (left the book with no fill), `open` (still resting) or `unknown` (left the book, fills not yet stored). Omit for all. Used by…
range_pctinteger | stringHalf-width of the price range around the mid, in percent, at least 1. Default 10 (`clusters`), 8 (`squeeze`). Default by view: clusters 10, squeeze 8. Max 50. Used by view: clusters, squeeze.
sidestring`both` (the default), `bid` or `ask`: which side of the book to return. Used by view: book.
statusstring`open`, `filled`, `partially_filled` or `canceled_or_expired`. Omit for every status. Used by view: wallet.
step_bpsinteger | stringBucket width in basis points of the mid, at least 1. Default 10 (`clusters`), 25 (`squeeze`). Default by view: clusters 10, squeeze 25. Max 500. Used by view: clusters, squeeze.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. With `market=spot` a spot pair, `HYPE/USDC` (a bare `HYPE` is `HYPE/USDC`). On `open` and `walls`, `s…
tostringISO-8601 UTC end of the window. Default: the newest order snapshot (`wallet`, `walls`, `order_stats`), now (`book_cohorts`). At most 30 days after `from` (`wallet`), 7 days (`walls`, `order_stats`, `b…
touch_bpsinteger | stringHow close the other side of the book must have been, in basis points of the wall's price, when it was last seen, for `near_touch` to be true. Max 500. Used by view: walls.
viewstringWhat to read. `open`: the orders resting at one instant for a symbol and/or a wallet, each with its owner's labels. `wallet`: what became of one wallet's orders in a window (open, filled, canceled), n…
walletstring`open`: one wallet's resting orders; `walls`: one wallet's walls. 0x followed by 40 hex characters. Used by view: open, walls.

hl_twaps Hyperliquid Twaps

Hyperliquid TWAP orders, one row per status line, newest first. A line is a status CHANGE (`activated`, `waitingForTrigger`, then `finished`, `terminated` or `stopped`), not a slice fill: `executed_size` and `executed_notional_usd` are the cumulative totals when the line was written. `ts` is Hyperliquid's block time; `first_seen_at` is when Vike first stored the line, null for lines not recorded live (before the field existed, or backfilled). Rejected placements (`error`) are hidden unless `status=error`. Across all wallets the window defaults to the last 24 hours and is at most 31 days; with…

ParameterTypeDescription
cursorstring`nextCursor` from the previous page, verbatim. It pins the call that returned it: send the same `order`, filters, `start` and `end` again, or the call is refused.
endstringISO-8601 UTC upper bound. Default: now. A window wider than 31 days is refused unless `wallet` or `twap_id` is given.
limitinteger | stringRows per page. Max 5000.
orderstring`desc` (default, newest first) or `asc`, oldest first: the mode for FOLLOWING the feed. Pass each `nextCursor` back verbatim and stop on an EMPTY page, not on a null cursor (an `asc` page with rows al…
startstringISO-8601 UTC lower bound. Default: the 24 hours before `end`, unless `wallet` or `twap_id` is given.
statusstringOne status. Default: every status except `error` (a rejected placement, not an order); `error` shows those rows.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Omit for all symbols.
twap_idinteger | stringOne TWAP id: every status line of that TWAP. 0 (the default) = every TWAP. Max 9007199254740991.
walletstringOne wallet, 0x followed by 40 hex characters, any case. With it (or `twap_id`) there is no default window and no 31-day cap.

hl_ledger Hyperliquid Ledger

Hyperliquid deposits, withdrawals, transfers and vault events ACROSS wallets, newest first, with `wallet` and `amount_usd` (USD) on every row; `min_usd` keeps the large ones (most events are small transfers). A transfer between two wallets is one row per affected wallet with the same `hash`. Without `wallet` the window defaults to the last 24 hours and is at most 31 days. `order=asc` follows the feed: pass each `nextCursor` back and stop on an empty page. One wallet's own ledger is also hl_wallet_activity view=ledger. Same data as GET /v1/hyperliquid/ledger.

ParameterTypeDescription
cursorstring`nextCursor` from the previous page, verbatim. It pins the call that returned it: send the same `order`, filters, `start` and `end` again, or the call is refused.
endstringISO-8601 UTC upper bound. Default: now. A window wider than 31 days is refused unless `wallet` is given.
event_typestringOne ledger event type; an unknown value is refused, not answered with an empty list.
limitinteger | stringRows per page. Max 5000.
min_usdnumber | stringSmallest absolute `amount_usd`, 0 or more. Default 0: no floor.
orderstring`desc` (default, newest first) or `asc`, oldest first: the mode for FOLLOWING the feed. Pass each `nextCursor` back verbatim and stop on an EMPTY page, not on a null cursor (an `asc` page with rows al…
startstringISO-8601 UTC lower bound. Default: the 24 hours before `end`, unless `wallet` is given.
walletstringOne wallet, 0x followed by 40 hex characters, any case. With it there is no default window and no 31-day cap.

hl_leverage_changes Hyperliquid Leverage Changes

Hyperliquid positions whose leverage or margin mode differs between two consecutive complete position snapshots, newest first: one row per wallet and symbol with the previous and the new leverage, margin mode, side, size and entry price. `ts` is when the later snapshot was written, not when the venue changed the setting; positions are captured about every 12 minutes, so changes arrive in batches. Without `wallet` the window defaults to the last 24 hours and is at most 31 days. `order=asc` follows the feed (stop on an empty page). Same data as GET /v1/hyperliquid/leverage-changes.

ParameterTypeDescription
changestring`up` (leverage rose), `down` (leverage fell) or `mode` (only the margin mode, `cross` or `isolated`, changed). Omit for every change.
cursorstring`nextCursor` from the previous page, verbatim. It pins the call that returned it: send the same `order`, filters, `start` and `end` again, or the call is refused.
endstringISO-8601 UTC upper bound. Default: now. A window wider than 31 days is refused unless `wallet` is given.
limitinteger | stringRows per page. Max 5000.
min_leveragenumber | stringSmallest NEW `leverage`, 0 or more. Default 0: no floor.
orderstring`desc` (default, newest first) or `asc`, oldest first: the mode for FOLLOWING the feed. Pass each `nextCursor` back verbatim and stop on an EMPTY page, not on a null cursor (an `asc` page with rows al…
startstringISO-8601 UTC lower bound. Default: the 24 hours before `end`, unless `wallet` is given.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Omit for all symbols.
walletstringOne wallet, 0x followed by 40 hex characters, any case. With it there is no default window and no 31-day cap.

hl_wallet_trades Hyperliquid Wallet Trades

One Hyperliquid wallet's CLOSED round-trip trades, newest close first, keyset-paged: per trade the symbol, direction, `open_ts` / `close_ts`, entry and exit price, the largest size held (`max_size_usd`), traded `volume_usd`, `realized_pnl` and `total_fee` in USD and the fill count. A trade still open is not listed. For statistics over these trades use hl_wallet view=trades_summary; for the raw fills hl_wallet_activity view=fills. Same data as GET /v1/hyperliquid/wallets/{address}/trades.

ParameterTypeDescription
address *stringHyperliquid wallet address: 0x followed by 40 hex characters, any case.
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z. Bounds the close time.
limitinteger | stringTrades per page, newest close first. Max 5000.
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z. Bounds the close time.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. Omit for all symbols.

hl_stats Hyperliquid Stats

Hyperliquid venue-wide hourly series, newest hour first, by `view`. `ecosystem`: perp equity, open interest and position counts per hour. `volume`: traded perp notional per hour, of the whole venue (builder-DEX perps included; spot and outcome markets left out) or of one `symbol`: `volume` counts each trade ONCE (one side), the figure the candles report, while `n_fills` counts fill records, two per trade. Money is USD. Keyset-paged with `cursor`. Same data as GET /v1/hyperliquid/stats and /stats/volume.

ParameterTypeDescription
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page.
endstringISO-8601 UTC upper bound, e.g. 2026-10-02T00:00:00Z.
limitinteger | stringHourly rows per page, newest first. Max 5000.
startstringISO-8601 UTC lower bound, e.g. 2026-10-01T00:00:00Z.
symbolstringHyperliquid instrument ticker, e.g. BTC, ETH, HYPE; a HIP-3 market is `dex:TICKER`, e.g. xyz:TSLA. `volume` only; omit for the whole venue (perps, builder-DEX perps included; spot and outcome markets…
viewstringWhat to read. `ecosystem`: hourly venue-wide perp equity, open interest and position counts, newest first. `volume`: hourly perp volume of the whole venue or one symbol, newest first. Default `ecosyst…

hl_hype_holders Hyperliquid Hype Holders

The HYPE holder leaderboard: each wallet's spot HYPE balance plus staked HYPE, largest first, valued at one current HYPE price, with its `pnl_cohort` resolved at query time (`label_basis` is `current`; balances are last-known, so a stale balance can sit beside a fresh label) and `account_value`, the wallet's perp account value in USD (null for a holder with no perp account on record, never 0). Keyset-paged with `cursor`. Same data as GET /v1/hyperliquid/hype/holders.

ParameterTypeDescription
cursorstring`nextCursor` from the previous page, passed back verbatim; it is null on the last page. Omit it for the first page.
limitinteger | stringHolders per page. Max 500.
orderstring`desc` (largest holders first, the default) or `asc`.

polymarket_markets Polymarket Markets

Polymarket markets, by `view`. `trending` (default): top prediction-market events ranked by 24h volume. Returns market title, slug, category, current Yes/No mid quotes, 24h volume, and end_date. Filter by category (Crypto | Sports | Politics | Pop-Culture | Tech | all). Use for 'what's hot on Polymarket' or 'top crypto prediction markets'. `search`: the recorded markets whose slug contains every word of `query` (any order, case-insensitive: 'bitcoin up or down' finds bitcoin-up-or-down-…), optionally only active or only closed ones, newest end_date first, paged with `limit` and `offset`; row…

ParameterTypeDescription
activeboolean | string`search` only: true = only active markets, false = only closed ones; omit for all. Not together with `closed`.
categorystring`trending` only: category filter (default all)
closedboolean | string`search` only: the complement of `active` (true = only closed). Not together with `active`.
condition_idstring`market` only, required there: the 0x-prefixed condition id.
limitinteger | stringMax markets: `trending` default 10, max 30; `search` default 50, max 100 (a larger value is clamped).
offsetinteger | string`search` only: rows to skip, 0 to 10000 (default 0); above 10000 is refused.
querystring`search` only: case-insensitive substring of the market slug.
viewstring`trending` (default): top by 24h volume; `search`: filter the recorded markets; `market`: one market by condition_id.

polymarket_market_detail Polymarket Market Detail

Deep-dive on one Polymarket market by condition_id: question, category, outcomes with their clob_token_ids, 24h and total volume, liquidity, a price series per outcome, the top 30 holders per side, the last 100 trades (with wallets), tape stats and resolution status. There is no live quote or smart-money block here: use polymarket_orderbook for quotes and polymarket_smart_money for the cohort. Use after polymarket_markets when the user asks about a specific market.

ParameterTypeDescription
condition_id *stringMarket condition_id (hex string)

polymarket_wallet Polymarket Wallet

Profile a Polymarket trader: realized P&L (24h / 7d / 30d / all-time), hit-rate on resolved markets, total volume, top categories traded, and recent positions. Use when the user gives a Polymarket wallet address. Also returns `correlated`: up to 8 other wallets that trade the same markets (each sharing at least 3 markets and $500 of volume with this one, compared over its 1,000 largest markets), most shared markets first, each with proxy_wallet, pseudonym, display_name, shared_markets, overlap_volume_usd, overlap_trades and last_seen; `[]` = none qualifies. Same data as GET /v1/polymarket/wall…

ParameterTypeDescription
address *stringPolymarket wallet address (0x-prefixed)
windowstringWindow for windowed metrics (default all)

wallet_label_provenance Wallet Label Provenance

Full multi-source label cascade for one ETH wallet. Returns labels from several third-party label providers and the heuristic classifier with per-source attribution and a consensus entity/type. Source provider_e covers addresses that are, control or funded Polymarket wallets (category pm_wallet / pm_owner / pm_funder, with n_wallets, volume_usd, realized_pnl_usd, top_wallet and its public name) and mass payers of those wallets (bridge, exchange, batch_sender, campaign, pm_rewards_payer, ...), with basis onchain_fact or behaviour_inferred / behaviour_corroborated (a guess from behaviour) and ev…

ParameterTypeDescription
address *stringWallet address (0x-prefixed hex)

token_holders Token Holders

Top holders of an ERC-20 token by cumulative net inflow USD. Returns wallet, net flow USD, volume USD, tx count, first/last seen dates, and known labels. Use when the user asks 'top holders of X' or 'who holds the most of token Y'. sort='flow' (default) ranks by cumulative net inflow USD, a flow and not a holding. sort='balance' ranks by the on-chain balanceOf among candidate wallets chosen by net inflow and by volume (a holder outside both is not in it) and adds balance, value_usd, supply_pct, balance_basis, balance_approximate and candidate_coverage to each row; balance_basis is 'chain' for…

ParameterTypeDescription
token_address *stringERC-20 token contract address (0x-prefixed)
chainstringChain (default ethereum)
exclude_exchangesbooleanDrop wallets labelled as an exchange (default false)
limitinteger | stringMax holders (default 10, max 50)
sortstringflow = cumulative net inflow USD (default); balance = on-chain balanceOf among candidate wallets

alerts_register_webhook Alerts Register Webhook

Register an HTTPS webhook as an alert delivery channel for the current user. We POST signed JSON to the URL when alerts fire, and once right now: a signed `test` event whose result comes back as `test` ({ok, status} or {ok, error}); a failing test does not refuse the channel. Every POST is signed with HMAC-SHA256: pass your own `secret` (>=16 chars) or we generate one and return it as `secret` in this answer (show it to the user now; it is shown at registration and again any time on Account -> Alerts -> channels, Show secret; alerts_rotate_webhook_secret issues a new one). The test is signed w…

ParameterTypeDescription
url *stringWebhook URL, https:// only. Must be reachable from our server.
secretstringOptional HMAC secret (>=16 chars). If omitted, we generate one and return it as `secret` in the answer.

alerts_rotate_webhook_secret Alerts Rotate Webhook Secret

Rotate the signing secret of one of the user's webhook channels (ids from alerts_list_channels). A new secret is generated and returned as `secret` (show it to the user now; it is shown again any time on Account -> Alerts -> channels, Show secret). When the channel had a secret, the old one keeps signing for 24 hours (`previous_secret_valid_until`): until then every delivery carries TWO `sig=` values in X-Vike-Signature (the new secret's first, the old one's second). A receiver must accept a delivery if ANY `sig=` value matches its secret; one that compares a single value rejects deliveries du…

ParameterTypeDescription
channel_id *integer | stringThe webhook channel id (from alerts_list_channels).

alerts_test_webhook Alerts Test Webhook

Send the signed `test` event to one of the user's webhook channels again (ids from alerts_list_channels), for example after the receiver installed a new secret from alerts_register_webhook or alerts_rotate_webhook_secret. Signed like a real delivery: the current secret and, inside a rotation's 24 hours, the previous one too (two `sig=` values; accept if ANY matches). Returns {ok, channel_id, test}, where `test` is {ok, status} when the endpoint answered (ok = HTTP 2xx) or {ok: false, error: timeout | network | ssrf_refused | ...}. Nothing is queued, retried or stored.

ParameterTypeDescription
channel_id *integer | stringThe webhook channel id (from alerts_list_channels).

wallet_transactions Wallet Transactions

Raw per-wallet transfer list (single transactions, not aggregates). Filter by direction (in/out/all), days back, min USD, and optionally a specific token and, for that token, an amount range in whole tokens. Returns time, tx_hash, from, to, token_address, symbol, amount (whole tokens; null when the token's decimals are unknown), value_usd, direction, block. Use when the user asks 'show me recent transfers for X' / 'last 100 transactions of wallet Y' / forensic audit queries.

ParameterTypeDescription
address *stringWallet address (0x-prefixed)
chainstringChain (default ethereum)
daysinteger | stringDays back (default 30, max 365)
directionstringTransfer direction (default all)
limitinteger | stringMax transactions (default 50, max 500)
max_amountnumber | stringOnly transfers of at most this many tokens (whole tokens, not raw units, up to 1e18). Needs token_address (an amount across different tokens means nothing) and that token's decimals known, else an err…
min_amountnumber | stringOnly transfers of at least this many tokens (whole tokens, not raw units, up to 1e18). Needs token_address (an amount across different tokens means nothing) and that token's decimals known, else an er…
min_usdnumber | stringFilter dust below this USD value (default 0)
token_addressstringOptional: restrict to one token

wallet_compare Wallet Compare

Compare two wallets: shared counterparties (both wallets transacted with these addresses) + shared tokens (both wallets touched these tokens) within a window. Use when the user asks 'are these two wallets related' / 'what do X and Y have in common'.

ParameterTypeDescription
address_a *stringFirst wallet
address_b *stringSecond wallet
chainstringChain (default ethereum)
limitinteger | stringMax shared items per category (default 10, max 50)
windowstringWindow (default 30d)

wallet_trace Wallet Trace

Trace a wallet's money through counterparties. direction=out follows where funds went, in where they came from, both (default) either way. At each hop, expand to the top N counterparties by USD volume in that direction. Returns nodes + edges of the resulting graph. Use when the user asks 'where did funds from X go' (out) / 'who funded Y' (in) / 'follow the money 3 hops from Z' / wallet investigation.

ParameterTypeDescription
address *stringRoot wallet to trace from
chainstringChain (default ethereum)
depthinteger | stringHops to follow (1-5, default 2)
directionstringout = where funds went, in = where they came from, both = either (default both)
min_usdnumber | stringMinimum USD per transfer to follow (default 10000)
widthinteger | stringTop N counterparties per hop (1-10, default 5)
windowstringWindow (default 30d)

wallet_batch_labels Wallet Batch Labels

Bulk label + 30d summary lookup for many addresses in one call. Caps at 100 addresses. Returns one row per input address in input order, with: entity, wallet_type, risk_flag, 30d net flow, 30d volume, 30d tx count, read from `chain`'s own tables. The 30d fields are live and null only for an address with no label (found: false). A row whose address source provider_e knows also carries provider_e: a list of that source's labels (the same entries wallet_label_provenance returns for source='provider_e'), on any chain; it never changes entity, wallet_type or found. Use when the user pastes a CSV of…

ParameterTypeDescription
addresses *arrayWallet addresses (0x-prefixed). Max 100.
chainstringChain (default ethereum)

token_screener Token Screener

Discover tokens by activity within a window. Rank by volume, net inflow, holder count, or smart-money inflow. Filters: min volume USD, min holders, smart-money-only. Use when the user asks 'what tokens are trending today' / 'find tokens with smart money accumulating' / 'rising tokens under $100M cap'.

ParameterTypeDescription
chainstringChain (default ethereum)
limitinteger | stringMax tokens (default 20, max 100)
min_holdersinteger | stringFilter tokens below this holder count
min_volume_usdnumber | stringFilter tokens below this 24h volume
smart_money_onlyboolean | stringRestrict to smart-money cohort flows. ethereum only: other chains (and sort=smart_inflow on them) are a 400
sortstringSort metric (default volume)
windowstringWindow (default 24h)

wallet_counterparties Wallet Counterparties

Top trading partners of an ETH/BSC/Base/HyperEVM wallet by combined transfer volume. Returns counterparty address, total volume, amount sent/received, tx count, first/last seen, and labels (when known). Use when the user asks 'who does this wallet trade with' / 'main counterparties of X'.

ParameterTypeDescription
address *stringWallet address (0x-prefixed)
chainstringChain (default ethereum)
limitinteger | stringMax counterparties (default 10, max 50)
windowstringWindow (default 30d)

wallet_pnl_history Wallet PnL History

Daily net-flow series for a wallet over the last N days (proxy for daily PnL). Returns per-day net inflow USD + cumulative + gross volume + tx count. NOTE: this is net inflow USD, not true realized PnL (which would require WAC accounting per token). Useful as a directional indicator.

ParameterTypeDescription
address *stringWallet address (0x-prefixed)
chainstringChain (default ethereum)
daysinteger | stringDays back (default 30, max 365)

wallet_token_balances Wallet Token Balances

Current token balances for a wallet on Ethereum, BSC, Base and HyperEVM, read from the chain at request time. Returns per-holding (chain, symbol, balance, USD value, USD price). On base and hyperevm, symbol, name, balance and USD exist only for tokens we map and price (about 170 on base, about 50 on hyperevm). Any other token is listed, with its address and balance_raw and the rest null, only when min_usd=0 is passed: the default floor of $1 keeps priced tokens only. A non-zero native balance is always listed, with a USD value where a price exists; HyperCore (spot or perp accounts) is not incl…

ParameterTypeDescription
address *stringWallet address (0x-prefixed)
chainsarrayChains to scan: ethereum, bsc, base, hyperevm (default: all four). Any other chain is reported in chain_errors
min_usdnumber | stringFilter dust below this USD value (default 1.0)

wallet_ens Wallet ENS

Reverse ENS lookup: turn a 0x address into a human-readable name like 'vitalik.eth'. Returns null if the address has no ENS name set. Use whenever you have an address and want to display a friendlier identifier.

ParameterTypeDescription
address *stringEVM wallet address (0x-prefixed, 42 chars)

wallet_first_funder Wallet First Funder

The earliest inbound transfers of a wallet, from our own transfer tables, as TWO separate answers: `first_native_in` (the first plain send of the chain's coin to the wallet, at least `min_native` WHOLE coins; `amount` in whole coins, `amount_wei` exact in wei) and `first_token_in` (the first token transfer priced at `min_usd` USD or more; `amount` in whole tokens). Each carries the sender, its label (entity, wallet_type, label_confidence), time, tx_hash, block and `amount_usd` in plain dollars (null = no USD price). This is NOT proof of who funded the wallet: native rows hold top-level sends o…

ParameterTypeDescription
address *stringWallet address (0x-prefixed)
chainstringChain (default ethereum)
min_nativenumber | stringDust floor for the native coin in WHOLE coins (ETH, BNB or HYPE; 0.01 means 0.01 coin, not wei). Inbound native transfers below it are skipped. Default 0.0001; 0 = no floor (the very first inbound, pr…
min_usdnumber | stringFloor for the token side in USD. Token transfers priced below it, or with no USD price, are skipped. Default 1; 0 = no floor (unpriced tokens, mostly spam, included).

wallet_exchange_usage Wallet Exchange Usage

Which centralised exchanges a wallet sent to and received from over a window, computed from our transfers joined to the addresses the chain's label table marks as exchanges. Returns `exchanges` [{entity, sent_usd, recv_usd, sent_share, transfers, first_seen, last_seen, addresses, label_confidence, label_sources}] with USD in plain dollars (priced transfers only), and `activity` totals over ALL counterparties so shares can be checked. `pattern` is "sweeps_to_single_cex" when >=90% of the wallet's outgoing USD went to one exchange across >=3 outgoing transfers: an OBSERVED pattern, not a claim t…

ParameterTypeDescription
address *stringWallet address (0x-prefixed)
chainstringChain (default ethereum)
windowstringLook-back window (default 365d). A very active wallet may be refused over a long window: narrow it

polymarket_market_trades Polymarket Market Trades

ONE Polymarket market's trades WITH the wallet behind each, newest first, paged: who traded, which side, how many shares and at what price, from 2026-01-01 to a few minutes ago, read from the on-chain trade tape. Takes the market's `condition_id` (0x plus 64 hex digits, from polymarket_markets or polymarket_market_detail), NOT an outcome token id. Returns {trades, has_more, next_cursor}; while has_more is true pass next_cursor back as `cursor` for the next, older page. `from_ms` is inclusive and `to_ms` exclusive (epoch ms). A page is 100 rows by default and at most 10,000; a row is ~430 chara…

ParameterTypeDescription
condition_id *stringThe market's condition id: 0x followed by 64 hex digits.
cursorstringThe previous page's next_cursor, passed back unchanged.
from_msinteger | stringTrade time, epoch MILLISECONDS, inclusive. Omit for the first trade.
limitinteger | stringRows per page (default 100, max 10000, as the REST route).
to_msinteger | stringTrade time, epoch milliseconds, EXCLUSIVE; must be greater than from_ms. Omit for no upper bound.

polymarket_smart_money Polymarket Smart Money

Detect smart-money signals on Polymarket. Two modes: 'flows' = markets with the largest net cohort inflow in the last N hours; 'mispricings' = markets where cohort bought meaningfully below current mid (potential edge). Cohort is wallets with $1k+ realized PnL over 5+ resolved markets.

ParameterTypeDescription
categorystringCategory filter (default all)
hoursinteger | stringLookback window in hours (default 24)
limitinteger | stringMax rows (default 10, max 20)
modestringSignal type (default flows)

polymarket_tape Polymarket Tape

Raw Polymarket L2 event tape for ONE time window (at most 24 hours) on one or more outcome tokens, oldest first, from the recorded order-book feed. `token_id` / `token_ids` are ERC-1155 OUTCOME token ids (long decimal strings: read them off `clob_token_ids` in polymarket_market_detail or `outcomes[].token_id` in polymarket_markets); a market's condition_id (0x...) will NOT work. Event types: `trade` (price = probability in [0, 1], size = shares, side = buy | sell), `price_change`, `book` (the whole ladder in `bids` / `asks`, JSON carried as strings), `tick_size_change` (the new tick in `tick_s…

ParameterTypeDescription
from_ms *integer | stringRequired. Window start, epoch MILLISECONDS, inclusive.
to_ms *integer | stringRequired. Window end, epoch MILLISECONDS, EXCLUSIVE. Must be greater than `from_ms` and at most 86400000 (24 hours) after it.
cursorstring`next_cursor` from the previous page; resumes strictly after it.
event_typestringReturn only this event type. Strongly recommended.
limitinteger | stringEvents per page (default 100, max 50000, as REST /events).
token_idstringOne outcome token id (decimal string). Give this or `token_ids`.
token_idsstringComma-separated outcome token ids, at most 100. Wins over `token_id` when both are given.

polymarket_orderbook Polymarket Orderbook

Order-book snapshot for ONE Polymarket outcome token: the nearest full-book snapshot at or before `ts` (the latest when omitted), flattened to price levels. `token_id` is the ERC-1155 OUTCOME token id (decimal string from `clob_token_ids` in polymarket_market_detail or `outcomes[].token_id` in polymarket_markets); a condition_id (0x...) will NOT work. Returns rows {as_of_ts (epoch ms, the snapshot actually used), side ('ask' | 'bid'), level (1 = best), price (probability in [0, 1]), size (shares)}, all asks before all bids. A book can be one-sided, so fewer than 2 x depth rows is normal. Each…

ParameterTypeDescription
token_id *stringRequired. The outcome token id (decimal string).
depthinteger | stringLevels per side, 1 to 25 (default 25).
tsinteger | stringAs-of epoch MILLISECONDS; the nearest snapshot at or before it is used. Omit for the latest.

polymarket_market_stats Polymarket Market Stats

Tape summary for ONE Polymarket outcome token: recorded events (`total_events`), `trades`, `trade_volume` in outcome SHARES (not USD), `snapshots`, and the first / last recorded timestamps (`first_ms` / `last_ms`, epoch ms). `token_id` is the ERC-1155 OUTCOME token id (decimal string from `clob_token_ids` in polymarket_market_detail or `outcomes[].token_id` in polymarket_markets); a condition_id (0x...) will NOT work. Always returns ONE row: a token that was never recorded answers all zeros with total_events = 0, which means 'never recorded', not 'quiet'.

ParameterTypeDescription
token_id *stringRequired. The outcome token id (decimal string).

polymarket_settlement Polymarket Settlement

On-chain resolution of ONE Polymarket market, keyed by its `condition_id` (the market's 0x... hex id from polymarket_markets or polymarket_market_detail; an outcome token id matches nothing here). Returns [] or one row {condition_id, slug, question, outcomes, winning_index, winning_outcome, winning_token_id, token_ids, payouts, resolved_block, resolved_ts_ms (epoch ms), market_known}. market_known false means the market list has no row for it: slug, question, outcomes, token_ids, winning_outcome and winning_token_id are then empty, the on-chain fields still exact. [] means the chain has not re…

ParameterTypeDescription
condition_id *stringRequired. The market's condition id (0x-prefixed hex).

polymarket_settlements_bulk Polymarket Settlements Bulk

On-chain resolutions of MANY Polymarket markets in one call, oldest resolution first, paged: the list form of polymarket_settlement (same row fields), for 'which markets resolved in this window', 'every settled BTC 5-minute market' or a backtest set. `from_ms` is inclusive and `to_ms` exclusive (epoch ms, on resolution time); `slug_prefix` (lowercase letters, digits and `-`, e.g. `btc-updown-5m-`) keeps one family of markets. Returns {settlements, has_more, next_cursor}; while has_more is true pass next_cursor back as `cursor` for the next page. Only markets the chain resolved appear: a cancel…

ParameterTypeDescription
cursorstringThe previous page's next_cursor.
from_msinteger | stringResolution time, epoch ms, inclusive. Omit for the first resolution.
limitinteger | stringRows per page (default 100, max 5000).
slug_prefixstringOnly markets whose slug starts with this, e.g. `btc-updown-5m-`.
to_msinteger | stringResolution time, epoch ms, exclusive; must be greater than from_ms. Omit for no upper bound.

polymarket_archive Polymarket Archive

Index of the bulk Polymarket L2 archive: daily Parquet files of three streams (book_events, trades, l1_quotes), cut three ways: the whole day ('flat', trades only), one Polymarket category's markets that are not up/down series ('category', e.g. sports), and one up/down series inside its category ('family': asset + tenor, e.g. btc + 5m in crypto). view='datasets' (default) lists files, filtered and paged, with `bytes` and `rows` where recorded; view='url' resolves exactly one file to a download link (give `date` and `stream`, plus `asset` and `tenor` together for a series file, or `category` al…

ParameterTypeDescription
assetstringFamily files only, e.g. `btc`. With view=url give it together with `tenor`, or neither.
categorystringOne category folder, e.g. `crypto`: its category file and the series inside it. With view=url, alone for the category file, or beside `asset` and `tenor` (it must be that series' category).
datestringview=url only. Required there. The UTC day, YYYY-MM-DD.
date_fromstringview=datasets only. First UTC day, YYYY-MM-DD, inclusive (the REST route spells it `from`).
date_tostringview=datasets only. Last UTC day, YYYY-MM-DD, inclusive (the REST route spells it `to`).
limitinteger | stringview=datasets only. Files per page (default 50, max 1000; `total` counts every match).
offsetinteger | stringview=datasets only. Skip this many matching files (default 0).
streamstringOne stream. Required for view=url.
tenorstringFamily files only, e.g. `5m`. Pairs with `asset`.
viewstringdatasets = list files (default); url = resolve one file.

polymarket_leaderboard Polymarket Leaderboard

Leaderboard of Polymarket wallets ranked by realized P&L, hit rate, volume or trade count, for all time or over a window, optionally within one market category. The same board vike.io/polymarket shows. Returns rows {rank, proxy_wallet, pseudonym, display_name, realized_pnl_usd (lifetime, USD, resolved markets only), realized_pnl_window_usd (USD over `window`, by resolution time), resolved_markets, hit_rate, hit_rate_ci, volume_all_usd, volume_window_usd (USD), trades_all, trades_window, avg_trade_usd, markets, first_seen, last_seen (UTC), tags}. `hit_rate` is a FRACTION from 0 to 1 (0.62 = 62%…

ParameterTypeDescription
categorystringMarket category (default all). Every figure is recomputed on that category's markets only.
limitinteger | stringRows per page (default 20, max 50).
min_avg_usdnumber | stringMinimum average trade size in USD (default 0). 20 drops every wallet tagged bot.
min_resolvedinteger | stringMinimum resolved markets (a count). Default 20; 0 includes wallets too thin for a hit rate to mean anything.
min_volume_usdnumber | stringMinimum lifetime volume in USD, buys plus sells (default 0).
offsetinteger | stringRows to skip, 0 to 1000 (default 0). `rank` continues across pages; the board is rebuilt hourly, so a page fetched after a rebuild can repeat or skip a wallet.
sortstringDefault: realized_pnl_window when `window` is 24h, 7d or 30d, realized_pnl when it is all. realized_pnl: lifetime USD, largest first, whatever the window. realized_pnl_asc: biggest losers first. reali…
windowstringThe period behind trades_window, volume_window_usd and realized_pnl_window_usd (P&L of markets RESOLVED inside it), and what the *_window and volume_24h / trades_24h sorts rank on. Default all (lifeti…

perp_open_interest Perp Open Interest

Open interest of one perpetual-futures symbol on each venue Vike polls: aster, binance, bitget, bybit, deribit, hyperliquid, kraken, kucoin, okx. `oi_usd` is USD NOTIONAL (open contracts x mark price when polled), not contracts or coins. Without `hours`, `start` or `end`: the newest print per venue and its age in seconds; `venues` printed within the last hour, `stale_venues` went silent (last print within 30 days) and must NOT be summed in. With `hours` (1-8760, the hours before now) or `start` / `end` (a window; not with `hours`): a series per venue of `[ts, oi_usd]` pairs, the last print in…

ParameterTypeDescription
symbol *stringRequired. Base asset, e.g. 'BTC', 'ETH', 'SOL' (not 'BTCUSDT').
endstringA series up to this time, exclusive: ISO 8601 or unix seconds. Default: now.
exchangestringOnly this venue (lower case), e.g. 'binance'. Omit for every venue.
hoursinteger | stringA series over this many hours before now, 1 to 8760 (a year). Not with start/end. Omit hours, start and end for the latest print per venue.
intervalstringThe bucket of a series: 1h (default), 4h or 1d; 4h and 1d start at 00:00 UTC. Only with hours, start or end.
startstringA series from this time, inclusive: ISO 8601 ('2026-11-01', '2026-11-01T12:00:00Z') or unix seconds, floored to the interval. Default: 7 days before end.

perp_long_short Perp Long Short

Long/short positioning that perp venues publish for one symbol: binance, bybit, gate, okx. The venues do NOT measure the same thing, so every row carries `basis`: binance = top traders by POSITIONS; okx and gate = top traders by ACCOUNTS; bybit = ALL accounts. Compare a venue with itself over time, never as a like-for-like average across venues. `long_share` / `short_share` are fractions of 1 (0.63 = 63 %); `long_short_ratio` = long / short (1.72 = 1.72 longs per short; above 1 is long-heavy). Without `hours`, `start` or `end`: the newest 5-minute print per venue and its age in seconds (`venue…

ParameterTypeDescription
symbol *stringRequired. Base asset, e.g. 'BTC', 'ETH', 'SOL' (not 'BTCUSDT').
endstringA series up to this time, exclusive: ISO 8601 or unix seconds. Default: now.
exchangestringOnly this venue (lower case), e.g. 'okx'. Omit for every venue.
hoursinteger | stringA series over this many hours before now, 1 to 8760 (a year). Not with start/end. Omit hours, start and end for the latest print per venue.
intervalstringThe bucket of a series: 1h (default), 4h or 1d; 4h and 1d start at 00:00 UTC. Only with hours, start or end.
startstringA series from this time, inclusive: ISO 8601 ('2026-11-01', '2026-11-01T12:00:00Z') or unix seconds, floored to the interval. Default: 7 days before end.

perp_spreads_history Perp Spreads History

History of the price spread between two venues for one symbol, perp or spot, in 1h, 4h or 1d buckets: (A / B - 1) x 10,000 bps, positive when exchange_a is above exchange_b. Each leg is priced every minute (the book mid where the venue quotes a book, else its last price) and measured against the cross-venue median of the symbol's perp venues, so any pair (binance perp vs okx perp, bybit spot vs hyperliquid perp) comes from one history. Per bucket: open_bps, close_bps, avg_bps; high_bps_bound and low_bps_bound BOUND the extremes (each leg's own extreme can fall on a different minute), they are…

ParameterTypeDescription
exchange_a *stringRequired. Leg A's venue, lower case, e.g. 'binance'.
exchange_b *stringRequired. Leg B's venue, lower case, e.g. 'okx'.
symbol *stringRequired. Base asset, e.g. 'BTC', 'ETH', 'SOL' (not 'BTCUSDT').
endstringISO 8601 or unix seconds, exclusive. Default: now.
intervalstringBucket size; 4h and 1d buckets start at 00:00 UTC.
market_astringLeg A's market.
market_bstringLeg B's market.
startstringISO 8601 ('2026-11-01', '2026-11-01T12:00:00Z') or unix seconds. Default: 7 days before end.

hl_archive Hyperliquid Archive

Index of the Hyperliquid Parquet archive and download links to its files. One file per UTC day for `fills` (every fill), `positions` (every 5-minute snapshot of every open position), `positions_hourly` (every position as last seen in each hour), `cohorts_hourly` (the hourly cohort matrix of every asset) and `wallets_hourly` (each wallet's native perp account per hour), from 2026-05-01, plus `latest`, one `positions` file of the current open positions replaced every 5 minutes. view='datasets' (default) lists the published days with each file's `rows` and `bytes`, the column `schema` of every da…

ParameterTypeDescription
datasetstringview=url only, required there: `fills`, `positions`, `positions_hourly`, `cohorts_hourly` or `wallets_hourly`.
datestringview=url only, required there: a published UTC day, YYYY-MM-DD, or `latest` (`positions` only: the current open positions).
viewstringdatasets = the index (default); url = a link to one file.

stream_info Stream Info

How to use the vike WebSocket stream (wss://stream.vike.io/v1/stream/<path>), read off the server's own registry: every path (hl, hl-cohorts, onchain, polymarket, cex) with its channels; per channel its filter keys, each a list (with its maximum length), one value, a number (min_usd and the other min_ keys) or a boolean (contract: true or false, not a string), with the allowed values or the server's own message for a bad one, and its defaults (hl.fills: min_usd 1000 unless given); the REST catch-up route of each path; the limits (ONE connection per API key per path and THREE per account per pa…

stream_check_filter Stream Check Filter

Validate a stream subscribe message (or a `channel` + `filter`) with the SAME validator the stream server runs, without connecting. Returns {valid: true, url, subscribe} with the filter exactly as the server will apply it (values normalised, lists sorted, defaults added: hl.fills gets min_usd 1000 unless given), or {valid: false, code, message} with the server's own error (`bad_subscription` naming the key, `unknown_channel` listing the path's channels). `path` checks the channel against the endpoint the connection would use (a channel of another path is `unknown_channel` there). Costs nothing…

ParameterTypeDescription
channelstringA stream channel, e.g. `hl.fills`, `hl.liquidations`, `chain.transfers`, `pm.trades`; stream_info lists them all. Used when `message` is not given.
filterobject | stringThe filter object, e.g. `{"wallet": ["0x..."], "min_usd": 50000}`. Used when `message` is not given.
messageobject | stringA whole subscribe message, e.g. `{"action": "subscribe", "id": "w1", "channel": "hl.fills", "filter": {"coin": ["BTC"]}}`. Or give `channel` and `filter` instead.
pathstringThe endpoint the connection would use. Default: the channel's own path.

stream_events Stream Events

Stored events of ONE stream channel after a cursor, oldest first, with the stream's own filters: the REST catch-up of wss://stream.vike.io, for what a socket missed or a quick look without a socket. Returns {events: [{cursor, event}], next_cursor, has_more}; `event` is byte for byte what the WebSocket frame carried. An idle window of the on-demand channel is an item {cursor, gap} in its place. Pass next_cursor back as `cursor` for the next page; a page at the end returns the channel head, so an empty page on a quiet channel returns the same cursor. Events are kept 3 days: an older cursor is re…

ParameterTypeDescription
channel *stringA stream channel, e.g. `hl.fills`, `hl.liquidations`, `chain.transfers`, `pm.trades`; stream_info lists them all. Required.
cursorstring`next_cursor` of the previous page or the `cursor` of a stream frame. Omit (and omit since_ms) for the oldest retained event.
filterobject | stringThe channel's filter keys as on a subscribe, e.g. `{"coin": ["BTC"], "min_usd": 100000}`. An unknown or channel-foreign key is refused.
limitinteger | stringEvents per page, 1 to 1000 (default 200).
since_msinteger | stringEpoch MILLISECONDS: start after this arrival time instead of a cursor. Not together with `cursor`.

stream_connections Stream Connections

Your own recent stream connections (this account only, every API key and OAuth app of it), newest first: path, url, api_key_id (or oauth_client_id), connected_at, `state` open or closed, the subscribe count and, once closed, closed_at, duration_s, the channels, close_code (4410 = replaced by a newer connection) and events_sent. RECONSTRUCTED from the connect, subscribe and close records the stream writes, not read from the stream's live state, and it may lag a few seconds: `open` means no close has been recorded yet (a server crash records none), and an open connection's channels are named onl…

ParameterTypeDescription
hoursinteger | stringHow far back to look, 1 to 720 hours (default 168, a week). A connection opened before it is not listed.
limitinteger | stringConnections to return, newest first, 1 to 1000 (default 50).

wallet_check Wallet Check

Everything we know about ONE address in one call: a wallet checker / address lookup. Each part is its own block: `ens` (reverse ENS name), `tags` (names attached to the address, e.g. a token's name), `labels` (per chain: entity and wallet type), `label_sources` (which source claimed what about the address, read for Ethereum; third-party providers are named provider_a to provider_e), `label_origins` (BNB Chain, Base, HyperEVM: the origins each chain's label records and what each claimed, `origin` one of third_party (provider_a), model (our heuristic, with its source, confidence (null = not scor…

ParameterTypeDescription
address *stringEVM address (0x-prefixed, 42 chars), a wallet or a contract
chainstringRead first_funder and exchanges on this chain only (default: every chain the address has transfers on)

wallet_positions Wallet Positions

A wallet's per-token positions on one chain with real profit and loss. Per token: token_address, symbol, name, bought_qty and bought_usd, sold_qty and sold_usd, avg_buy_price and avg_sell_price (USD per token), realized_pnl_usd, balance (read from the chain at request time), price_usd (latest daily price), value_usd and unrealized_pnl_usd = balance x (price_usd - avg_buy_price), null when either is unknown. Bought and sold are the wallet's priced inbound and outbound transfers of the token (a swap, a move between its own wallets and an exchange deposit all count); a transfer with no USD price…

ParameterTypeDescription
address *stringWallet address (0x-prefixed)
chainstringChain (default ethereum)
limitinteger | stringPositions returned (default 20, max 100); totals always cover every token
orderstringdesc = biggest first (default), asc = biggest losses first
sortstringRank positions by realized PnL, unrealized PnL or current value (default realized). Unknown values sort last

transaction_lookup Transaction Lookup

What happened in one transaction, by hash: `status` (success, failed, pending; unknown for Ethereum transactions before October 2017), `block`, `time`, `from` and `to` (each with its label: entity, wallet_type, label_confidence), `value` (the chain's coin sent at the top level: `amount` in whole coins, `amount_wei` exact, `amount_usd`), `fee` (gas_used, gas price and the fee in the chain's coin) and `token_transfers`: every ERC-20 transfer in it with token_address, symbol, decimals, from and to (labelled), `amount` in whole tokens, `amount_raw` exact and `amount_usd`. `usd_basis` says how each…

ParameterTypeDescription
tx_hash *stringTransaction hash: 0x followed by 64 hex characters
chainstringChain (default ethereum)

predictfun_overview Predict.fun Overview

Predict.fun (prediction markets on BNB Chain) at a glance: open markets, and the USD volume, number of matches and number of wallets over the last 24 whole fill hours, ending with the newest hour built (`newest_trade_ts`, epoch ms, is the newest fill counted; rebuilt hourly, so up to ~1.5 h behind the live tape). Volume counts each match once, on the side that took liquidity.

predictfun_markets Predict.fun Markets

Predict.fun markets with each one's 24-hour USD volume, matches and wallets (the 24 whole fill hours ending with the newest hour built, up to ~1.5 h behind the live tape), largest volume first (or newest first). Filter by `status` (open, closed, resolved) and `q` (a substring of the title or question). Returns {markets, next_cursor, as_of_ts}; each market has `market_id` (what the other predictfun tools take), `condition_id`, `title`, `question`, `status`, `trading_status`, `category_slug`, `created_at` (epoch ms).

ParameterTypeDescription
cursorstringA previous page's `next_cursor`, unchanged, to read the next page.
limitinteger | stringRows (default 20, max 100).
qstringCase-insensitive substring of the title or question.
sortstring`volume_24h` (default) or `newest`. A cursor works only with its own sort.
statusstringOnly markets in this state. Default: all.

predictfun_market_detail Predict.fun Market Detail

One Predict.fun market by `market_id`: the market (title, question, status, category, fees, and `details`, Predict.fun's own record of it), its outcomes (token ids, names, WON/LOST once resolved, each one's last price) and stats (24-hour and total USD volume, 24-hour matches and wallets, `last_price` of the first outcome, Yes). The 24 hours are whole fill hours ending with the newest hour built (up to ~1.5 h behind the live tape). An unknown id is an error.

ParameterTypeDescription
market_id *integer | stringThe Predict.fun market id (`market_id` from predictfun_markets). Required.

predictfun_market_book Predict.fun Market Book

The newest recorded order book of one Predict.fun market, priced on its first outcome (Yes): `bids` highest first and `asks` lowest first as [price, quantity], orders matched but not yet settled (`pending_*`), the last settled order, `ts` (Predict.fun's time) and `recorded_ts` (ours), epoch ms. Books are recorded for the ~1,000 most active open markets; none in 30 days is an error.

ParameterTypeDescription
market_id *integer | stringThe Predict.fun market id (`market_id` from predictfun_markets). Required.

predictfun_market_trades Predict.fun Market Trades

One Predict.fun market's on-chain fills with the wallet behind each, newest first: ts (epoch ms), tx_hash, wallet, counterparty, role (maker/taker), side (BUY/SELL of token_id), outcome, size (shares), price (0-1), usd, fee. Returns {trades, next_cursor}. One row is one ORDER's fill, not one match: a match is a `maker` row per resting order hit plus one `taker` row for the order that took them (whose amounts are theirs added up), so add `usd` over ONE role, never both.

ParameterTypeDescription
market_id *integer | stringThe Predict.fun market id (`market_id` from predictfun_markets). Required.
cursorstringA previous page's `next_cursor`, unchanged, to read the next page.
limitinteger | stringRows (default 100, max 10000).

predictfun_wallet_trades Predict.fun Wallet Trades

One wallet's Predict.fun fills, newest first, each with its market (`market_id`, `market_title`) and `outcome`; otherwise the rows of predictfun_market_trades. Returns {trades, next_cursor}. One row is one ORDER's fill, not one match: a match is a `maker` row per resting order hit plus one `taker` row for the order that took them (whose amounts are theirs added up), so add `usd` over ONE role, never both.

ParameterTypeDescription
address *stringThe wallet, 0x and 40 hex digits. Required.
cursorstringA previous page's `next_cursor`, unchanged, to read the next page.
limitinteger | stringRows (default 100, max 10000).

predictfun_wallet_positions Predict.fun Wallet Positions

One wallet's Predict.fun positions and P&L, per outcome token: net shares, cost, proceeds, mark (last price), value (net x 1 won, x 0 lost, x mark while open), pnl = proceeds - cost + value, state (open, won, lost, uncatalogued); totals over ALL positions with realized (resolved) and unrealized (open) P&L. At most 500 positions are listed (open first, then the largest |pnl|): `positions_total` counts them all, `truncated` says some were left out. Exchange fills only: shares split, merged, redeemed or transferred are not seen.

ParameterTypeDescription
address *stringThe wallet, 0x and 40 hex digits. Required.

predictfun_leaderboard Predict.fun Leaderboard

Every Predict.fun wallet ranked by realized P&L (default), volume or fills over a window, or by today's unrealized P&L; each row carries realized and unrealized P&L, open value, open and resolved positions (outcome tokens), volume and fills for every window. Rebuilt hourly. Returns {rows, window, sort, label_basis, as_of_ts}; page with `offset` (max 1000).

ParameterTypeDescription
limitinteger | stringRows (default 20, max 50).
offsetinteger | stringRows to skip, 0 to 1000.
sortstringDefault `realized`. `unrealized` takes window `all` only.
windowstringDefault `all`.

predictfun_wallet_flows Predict.fun Wallet Flows

Where one Predict.fun wallet's money came from and went: its USDT deposits (`in`) and withdrawals (`out`) on BNB Chain, newest first, each with the counterparty address and our label for it, such as cex/binance; transfers with Predict.fun's own contracts (trading, splits, merges, redemptions) are left out. Returns {flows, totals, next_cursor, as_of_ts}; totals cover the whole history since 2025-11-21: deposited, withdrawn, net, and the first deposit with its sender (`first_funder`). It is the wallet's whole USDT traffic outside Predict.fun (a wallet also used elsewhere carries that activity to…

ParameterTypeDescription
address *stringThe wallet, 0x and 40 hex digits. Required.
cursorstringA previous page's `next_cursor`, unchanged, to read the next page.
limitinteger | stringRows (default 100, max 10000).

account_usage Account Usage

Your own request usage: your plan and, for the month, the day, the minute and the hour, the request limit and what is used of it. `plan` is free, starter, requests, requests_plus, high, high_plus or custom, or null when no plan limit covers your account. `month` {limit, used, remaining, resets_at}: a paid plan's requests this month (what it carried in plus each payment's), `remaining` what you hold; unused requests never expire, and `resets_at` is when new requests next arrive (your renewal day, or a yearly plan's next monthly date, UTC), null when none will (a plan cancelled at its period end…

perp_carry Perp Carry

Carry screener for perpetual futures: pairs of venues for one symbol, long one leg and short the other (perp x perp, or spot bought and a perp shorted), scored by what the price gap captures plus the funding the pair earns over `horizon_h` hours, before costs (`gross_apr`) and after them (`net_apr`). The defaults are the list on vike.io/perp/carry: both kinds of pair (`legs`), legs chosen by funding (`direction`: long the lower funding rate, short the higher; `convergence` longs the cheaper price instead), no minimum gap. APRs are fractions of the capital on both legs (0.25 = 25 % a year); `fe…

ParameterTypeDescription
costsstringWhich costs `net_apr` subtracts. Default fees_slippage.
directionstringfunding (default: long the lower funding rate, short the higher) or convergence (long the cheaper price, short the dearer).
fee_bpsnumberTaker fee in basis points for every venue, per fill (0 to 100). Omit for each venue's own fee. Not with costs=none.
horizon_hnumberHours the pair is held, over which funding accrues and the APR is annualised (1 to 720). Default 48.
legsstringperp_perp (a perp on each of two venues), perp_spot (spot bought, a perp shorted) or all (default).
limitintegerRows, 1 to 500. Default 50.
min_spread_pctnumberSmallest price gap between the legs, in percent, either sign (0 to 25). Default 0.
slippage_bpsnumberSlippage in basis points per fill, four fills (0 to 100). Default 2. Only with costs=fees_slippage.
sortstringRank by net_apr (default) or gross_apr, highest first.

perp_liquidations Perp Liquidations

Forced liquidations on CEX perpetual futures (binance, bybit, okx, deribit, aster), newest first. `side` is the LIQUIDATED position: long or short. `notional_usd` = price x qty in USD; `qty` is in coins. Without `interval`: one row per liquidation. With `interval` (1m, 5m, 15m, 1h, 4h, 1d): long_usd, short_usd, long_count and short_count per UTC bucket, summed over the matching venues and symbols. Coverage differs by venue and every answer says how in `coverage`: binance and aster publish at most one liquidation per symbol per second, so their counts and totals UNDERCOUNT; bybit and deribit pu…

ParameterTypeDescription
endstringBefore this time (exclusive), same format.
exchangestringOnly this venue (lower case): binance, bybit, okx, deribit or aster.
intervalstringBucket the answer (long/short notional and counts) instead of one row per liquidation.
limitinteger | stringRows or buckets, newest first. Default 100, max 5000.
sidestringOnly liquidations of this position side. Omit for both.
startstringFrom this time (inclusive), ISO 8601 or YYYY-MM-DD, UTC.
symbolstringBase asset, e.g. 'BTC'. Omit for every symbol.

perp_funding_oi_weighted Perp Funding Oi Weighted

Each coin's current perpetual funding averaged across venues by their open interest: sum(rate per hour x oi_usd) / sum(oi_usd), as `rate_8h` and `apr` (fractions: 0.1 = 10 % a year; positive: longs pay shorts), with `oi_usd` (the open interest weighed, USD notional) and `venues` (the venues weighed). A venue counts when it printed a funding rate within the hour and has an open-interest print in dollars (binance, aster, bybit, okx, bitget, kucoin, hyperliquid, kraken, deribit); bingx, gate, lighter, mexc and weex carry no weight. Without `symbol`: every coin, largest open interest first. Per-ve…

ParameterTypeDescription
limitinteger | stringCoins, largest open interest first. Default 50, max 500.
symbolstringBase asset, e.g. 'BTC' (not 'BTCUSDT'). Omit for every coin.

futures_basis Futures Basis

Dated (quarterly, monthly, weekly) futures on CEX venues (binance USDT-M and COIN-M, bybit, okx, deribit, gate, kraken) against the underlying: each live contract's price, its basis (price - ref) / ref and the annualised basis `apr` = basis x 365 / days to expiry, i.e. the cash-and-carry yield (buy spot, sell the future, hold to expiry) before fees. Both are fractions (0.01 = 1 %). `ref` picks the reference: index (default, the venue's index the contract settles against), spot (the same venue's spot pair) or perp (its perpetual). `apr` is null under 2 days to expiry, where noise annualises int…

ParameterTypeDescription
exchangestringOnly this venue (lower case): binance, bybit, okx, deribit, gate or kraken.
limitinteger | stringRows. Default 500, max 5000.
refstringThe price the basis is measured against. Default index.
sortstringapr (highest first, the default) or expiry (soonest first).
symbolstringBase asset, e.g. 'BTC'. Omit for every symbol.

options_flow Options Flow

Deribit options flow: every option trade in a window (default the last 24 hours), summed per expiry (by=expiry, soonest first) or per UTC time bucket (by=time with interval 1m, 5m, 15m, 1h, 4h or 1d, newest first). Per row and for the whole window (`total`): trades, call_volume and put_volume in the underlying coin, put_call_ratio (put over call volume), call_premium_usd and put_premium_usd (premium traded, USD), put_call_premium_ratio, and the NET premium: call_net_premium_usd and put_net_premium_usd (premium the takers bought minus premium they sold, positive = net buying) and net_premium_us…

ParameterTypeDescription
bystringexpiry (default): one row per expiry date; time: one row per bucket.
endstringBefore this time (exclusive), same format. Default: now.
expirystringOnly options expiring on this date, YYYY-MM-DD.
intervalstringThe bucket of by=time. Default 1h.
limitinteger | stringRows. Default 500, max 5000.
startstringFrom this time (inclusive), ISO 8601 or YYYY-MM-DD, UTC. Default: 24 hours before end.
symbolstringThe underlying. Default BTC.