npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vike-io/cli

v0.37.0

Published

CLI, agent skills and MCP client for the free Vike Data API: a Polymarket full-L2 order-book archive in Parquet, Hyperliquid positions, fills and cohorts, and labelled Ethereum/BNB wallets

Downloads

6,177

Readme

Vike Data — Hyperliquid, Polymarket and on-chain wallets for your AI agent

Free, MIT, no signup. 50 requests a day without an account, 400 with a free one (vike-data login, one click).

Demo: a free anonymous query from the terminal

Hyperliquid: what you can ask

Ask your agent in plain words; each row is one skill it picks up.

| You get | Ask | Skill | |---|---|---| | The wallet behind a position share card | "Whose 25x ETH long at $3,210 is this?" | vike-hl-position-match | | Whether whales and profitable wallets are long or short a coin right now | "Are whales long or short BTC?" | vike-hl-cohort-positioning | | How whales or smart money changed their position in one coin over a day, a week or 30 days, hour by hour without hindsight | "What did smart money do on BTC this week?" | vike-hl-cohort-trend | | Where liquidations are stacked around the price, how those levels moved, and what a BTC drop would liquidate through cross margin | "Where are ETH liquidations clustered?" | vike-hl-liquidation-radar | | What moved open interest: new longs, new shorts, closes and liquidations hour by hour, and the perps whose open interest jumped | "Is BTC open interest rising on new longs or new shorts?" | vike-hl-oi-flow | | Top traders by PnL, ROI, win rate or drawdown | "Who made the most on Hyperliquid this week?" | vike-hl-top-traders | | Everything about one wallet: positions, PnL, trades, funding, deposits | "Is 0x… any good?" | vike-hl-trader-profile | | Whether copying a wallet would have made money, after delay, fees and funding | "Would copying 0x… since November have paid?" | vike-hl-copy-sim | | One page on one coin: price, funding, open interest, positioning, liquidations | "Brief me on HYPE." | vike-hl-asset-briefing | | Whether whale positioning led the price, tested without look-ahead | "Did smart-money positioning lead BTC?" | vike-hl-cohort-backtest | | Stock, index and commodity perps against their real price: basis, funding, open interest, whale bias, and their history | "Is NVDA on Hyperliquid trading at a premium?" | vike-hl-hip3 | | Big resting orders, whether they were filled or pulled, who owns the book, and where stops and liquidations would squeeze it | "Is that BTC wall real, and is a squeeze building?" | vike-hl-order-book | | Slow big orders (TWAPs) across wallets: who, which side, how big, how much done | "Who is TWAP-buying HYPE?" | vike-hl-twaps | | The largest deposits, withdrawals and transfers on Hyperliquid, across wallets | "Any $1M withdrawals from Hyperliquid today?" | vike-hl-money-flows | | The order book, fills and liquidations live, as they happen | "Show BTC liquidations over $1M as they happen." | vike-stream |

Install (pick one):

/plugin marketplace add vike-io/vike-data-cli     # Claude Code
npx skills add vike-io/vike-data-cli              # Cursor, Codex, Copilot and others
npm i -g @vike-io/cli                             # the CLI (Node 22+)
npx @vike-io/cli install --cursor                 # one agent's rules, no global install (--copilot, --agents, --all)

ChatGPT, Gemini or any other assistant: paste vike-generic.md into its instructions (or npx @vike-io/cli install --generic writes it here) and connect https://data.vike.io/mcp in its settings. Claude Code, step two: /plugin install vike@vike-io (the skills plus the Vike MCP server). The MCP server works without signing in: 50 requests a day on a free anonymous token, saved in ~/.vike/config.json and shared with the CLI. For 400 run vike-data login: Claude Code's own sign-in to the server (/mcp) applies after that, or whenever no anonymous token is saved.

Repo + package: @vike-io/cli (npm) · vike-io/vike-data-cli (GitHub) · binary: vike-data

npm version License: MIT Node skills.sh

@vike-io/cli is an open-source (MIT) command-line client and agent skill pack for the free Vike Data API. One free API key covers Hyperliquid (traders, positions, fills, funding, liquidations, candles, and hourly long/short positioning by wallet cohort), Polymarket (markets, the trade and event tape, order-book snapshots, candles and on-chain settlements, plus a daily Parquet archive of the full L2 order book since 2026-07-25, for personal use), Predict.fun (prediction markets on BNB Chain: markets, order books, every on-chain fill with its wallet, per-wallet positions and P&L, and a wallet leaderboard), and labelled EVM wallets on Ethereum and BNB Chain, with Base and HyperEVM for the wallet and token tools. The same data is served three ways: an MCP server at https://data.vike.io/mcp (the one this CLI calls), a REST API at https://data.vike.io/v1/, and the Parquet archive at https://data.vike.io/archive/. Paid plans: https://vike.io/pricing. An account can hold up to 5 keys; archive downloads are not counted. The archive manifest and a sample market need no key at all. Derivatives market data from centralised exchanges (perp funding, cross-venue spreads, open interest and its movers, long/short, liquidations, a carry screener, dated-futures basis, Deribit option flow, skew and DVOL) is served at https://data.vike.io/v1/marketdata/ (vike-data md).

Quickstart

vike-data token search PEPE                      # works with no account: 50 requests a day
vike-data perp top-traders --window 7d           # Hyperliquid wallets ranked by PnL
vike-data candles hl BTC --interval 1h --limit 48
vike-data polymarket markets --category Crypto   # trending markets by 24h volume
vike-data login                                  # 400 a day: opens the browser, sign in on vike.io, click Allow
vike-data doctor                                 # Node version, credential, MCP connectivity, tool list

No account needed to start. With no key and no sign-in, the first command gets a free anonymous token from the server (50 requests a day, reset at 00:00 UTC), saves it to ~/.vike/config.json and says so once on stderr. When few requests are left, the server's warning is printed on stderr (stdout stays clean JSON); at the limit the command prints the server's message and exits with code 3. vike-data login (or login --api-key) gives 400 a day and replaces the anonymous token, which is claimed for your account. VIKE_NO_ANON=1 turns the anonymous token off.

vike-data login opens vike.io in your browser. Sign in (Google, GitHub, X or email; a new account is free), click Allow, and the CLI saves the sign-in to ~/.vike/config.json and refreshes it by itself. --no-browser prints the URL instead of opening it.

Or use an API key (servers, CI, scripts): get a free key at vike.io/account?tab=api-keys (keys start with vk_), then vike-data login --api-key vk_... or export VIKE_API_KEY=vk_.... vike-data init asks for a key and checks it.

The browser sends the sign-in back to http://127.0.0.1:<port> on the machine that runs vike-data login, so on a server with no browser use an API key, or run vike-data login --no-browser --port 8765 there, forward that port from your computer (ssh -L 8765:127.0.0.1:8765 <server>) and open the URL on your computer. There is no device-code sign-in. The config file is readable by your user only (mode 0600 on Linux and macOS; on Windows, the permissions of your user profile).

The CLI uses one credential: VIKE_API_KEY first, then ~/.vike/config.json, which holds either a key (login --api-key), the browser sign-in (login) or the anonymous token; saving a key or a sign-in removes the others. vike-data logout removes it and revokes the browser sign-in on vike.io.

Free datasets

| Dataset | What is in it | Access | Page | |---|---|---|---| | Polymarket historical order book (archive) | book_events (full L2: snapshots, price_change deltas, trades, tick-size and status markers), trades (taker tape), l1_quotes (derived top of book). One Parquet file per stream per UTC day since 2026-07-25, every recorded market (crypto up/down, sports, politics). | Manifest + sample: no key. Full days: key (2 days a month, each older than 14 days); every day with the Files plan. | polymarket-historical-data | | Polymarket up/down families (archive) | The same archive by Polymarket category (category=sports, crypto, finance, ...), each up/down series (asset=btc&tenor=5m and so on) in its own file inside its category | key (2 days a month, each older than 14 days); every day with the Files plan | polymarket-updown-markets | | Polymarket API /v1/polymarket | Markets, the raw event and trade tape (about 30 days back), order-book snapshots, candles, on-chain settlements | free key | polymarket | | Hyperliquid cohorts /v1/hyperliquid/coins/{coin}/cohort-metrics | Long vs short per cohort, hourly, up to 8,760 hours in one request. Axes: size (account value, shrimp to 4x whale), tier (position notional), pnl (realized-PnL percentile), pnl_abs (PnL in dollars). labelBasis=point_in_time grades each hour with the label it had then (from 2026-04-07). | free key | hl-cohorts | | Hyperliquid API /v1/hyperliquid | Trader rankings and leaderboards, 5-minute position snapshots kept for a year, wallet fills, funding and ledger, standing orders and the order book (perp and spot), order walls and fake walls, squeeze maps, liquidations (inferred from snapshots), builders, candles since the start of 2026; closed bars also stream live as the hl.candles channel of wss://stream.vike.io/v1/stream/hl | free key | hyperliquid | | Predict.fun API /v1/predictfun | Prediction markets on BNB Chain: a venue overview, the market catalog with 24h volume, one market's outcomes and stats, the newest recorded order book (the ~1,000 most active open markets), every on-chain fill with the wallet behind it, per-wallet positions and P&L, and a leaderboard of every wallet by realized and unrealized P&L, volume and fills | free key | predictfun | | Event streams wss://stream.vike.io/v1/stream/<path> | Live events on four paths, resumed by cursor after a drop: hl (the live order book with each order's owner, which starts again from a fresh snapshot instead; fills, liquidations, positions, top-10 positions per coin, closed trades, liquidation risk, order walls, candles, TWAPs, ledger, leverage changes, funding), hl-cohorts (cohort flow, indices, cohort bias, cohort leverage), onchain (transfers on eth, bsc, base, hyperevm), polymarket (trades, wallet position changes, resolutions, price moves, new markets). vike-data stream reads them; vike-data stream info lists every channel and filter. Connections are not counted against the request limit. | free key | stream channels | | On-chain API /v1/onchain | Wallet summaries, transactions, counterparties, PnL, address labels with per-source provenance, token holders and transfers. Ethereum on every route, BNB Chain on the wallet and token-flow routes, Base on token transfers. | free key | onchain |

Direct links that need no key:

Archive layout: https://data.vike.io/archive/venue=polymarket/date=YYYY-MM-DD/{book_events,trades,l1_quotes}.parquet. A full-day book_events file is several GB; trades is around 12 MB.

# No key: the newest day in the archive, and the sample tape
curl -s https://data.vike.io/archive/manifest.json | jq '.dates[0]'
curl -O https://data.vike.io/archive/samples/trades.parquet

# Free key: one full day of the Polymarket tape, and a day of BTC cohort positioning
export VIKE_API_KEY=vk_...
curl -H "X-API-KEY: $VIKE_API_KEY" -C - -o polymarket-trades-2026-10-16.parquet \
  "https://data.vike.io/archive/venue=polymarket/date=2026-10-16/trades.parquet"
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/hyperliquid/coins/BTC/cohort-metrics?axis=size&hours=24"

Download an archive file whole, then read the local copy. A Parquet reader (DuckDB, polars, pyarrow) pointed at the URL turns one file into thousands of HTTP Range requests.

Full catalog: vike.io/data/datasets · field reference: vike.io/data/schemas · keys and limits: vike.io/data/api.

MCP server

The crypto data MCP server is https://data.vike.io/mcp (Streamable HTTP, JSON-RPC 2.0), keyed with the same X-API-KEY. MCP and REST calls share one counter: no account 50 requests a day, free account 400 a day, paid plans at https://vike.io/pricing.

# Claude Code
claude mcp add --transport http vike https://data.vike.io/mcp \
  --header "X-API-KEY: $VIKE_API_KEY"

Cursor, in ~/.cursor/mcp.json:

{
  "mcpServers": {
    "vike": {
      "url": "https://data.vike.io/mcp",
      "headers": { "X-API-KEY": "YOUR_KEY" }
    }
  }
}

Claude Desktop needs no key: Settings → Connectors → Add custom connector, URL https://data.vike.io/mcp, leave the OAuth fields empty, then log in to Vike and click Allow. Setup for Gemini CLI, VS Code and other clients: vike.io/docs/ai/data/setup.

# Raw JSON-RPC: list the tools your key can call
curl https://data.vike.io/mcp -H "X-API-KEY: $VIKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

On /mcp a bad or missing key comes back as a JSON-RPC error in the body, so check the body and not only the HTTP status. A rate-limited call gets HTTP 429 with Retry-After: 60.

CLI commands

Every data command is one tools/call to the MCP server, except vike-data md: one GET of the REST API /v1/marketdata with the same key, whose --json output is the route's body as served. vike-data <group> --help lists the flags; vike-data schema --pretty prints every tool the server exposes, with its parameters.

| Command | Subcommands | MCP tool | |---|---|---| | vike-data token | search, transfers, screener, holders (--chain ethereum\|bsc\|base\|hyperevm) | token_search, token_transfers, token_screener, token_holders | | vike-data wallet | summary, transactions (txs), compare, trace, batch, counterparties, pnl-history, balances, ens, discover, first-funder, exchange-usage | wallet_summary, wallet_transactions, wallet_compare, wallet_trace, wallet_batch_labels, wallet_counterparties, wallet_pnl_history, wallet_token_balances, wallet_ens, wallet_discover, wallet_first_funder, wallet_exchange_usage | | vike-data labels <address> | multi-source label provenance for one wallet | wallet_label_provenance | | vike-data perp | top-traders, find-position (Hyperliquid); funding, spreads (cross-venue funding rates and price gaps: the cheapest venue, perp or spot, against the dearest perp) | hl_perp_top_traders, hl_position_match, perp_funding, perp_spreads | | vike-data hl | cohort-metrics <symbol>, segments, wallet <address>, wallet-activity <address>, wallet-trades <address>, leaderboard, liquidations, market, orders (--view open: resting orders with each owner's size and PnL cohort; wallet; clusters; book: the order book at one instant; walls: orders of $1M+ and what became of each, filled or pulled with no fill (fake walls); order_stats: one wallet's pulled share and cancel-to-fill ratio; squeeze: the book, stops and liquidations per price, pressure above 1 = a squeeze (--detail full: stop-losses and take-profits apart); stop_history: resting stops per hour and price; book_cohorts: which cohorts own the book near the mid over time; --market spot for a spot pair such as HYPE/USDC), twaps (--view summary: the TWAP board), ledger, leverage-changes, stats, hype-holders, builders, vaults, vault <vault>, archive; a tool with several views takes --view. Views of 2026-12-05: wallet --view equity (equity, leverage and with --include pnl portfolio PnL over time; --resolution 5m\|1h), spot, vaults; wallet-activity --view daily and --view funding --group day\|symbol; leaderboard --symbol ETH (one perp's traders); liquidations --view cascades\|replay\|near_liquidation\|by_cohort\|accuracy, risk --by cohort, --totals, --include closed_pnl,hlp, --interval on fills; market --view oi_board\|entry_profile\|position_changes\|orderflow; oi-flow --include holders,oi_fills. hip3 (the HIP-3 board: every builder-DEX market such as xyz:NVDA with funding, open interest, mark vs oracle basis and whale_bias; --category stock,etf,..., --sort oi\|rate\|basis\|abs_basis, --order, --limit, --min-oi-usd: a rate or basis sort leaves out markets under $500k of open interest by default) and hip3-history <market> (one market per --interval 5m\|1h\|4h\|1d bucket, oldest first, from 2026-04-02, with oracle_changed_at; 5m on a Free account: the last 30 days: --start, --end, --limit 1-1000 (default 50), --cursor, or --all to follow nextCursor to the last page, each page one billed request); the table leaves out the cohorts ladder, --json keeps it. copy-sim <address> (would copying this wallet have made money: a minute-by-minute replay of its perps, HIP-3 included, from 2026-01-01, against a copier with --capital, --ratio, --delay 1m\|5m\|15m\|1h\|4h, --slippage-bps, --fee-bps, an optional --leverage cap, over --start/--end (default 30 days) and --symbols; the table is leader vs copier PnL, return, drawdown, trades, fees, funding, slippage and liquidation, then capture_ratio and the caveats; --json keeps per_symbol, the hourly equity and the method). liquidations --view heatmap over time: --start/--end or --at, --interval 5m\|15m\|1h\|4h, --cohort all\|whales\|smart\|others\|hlp, --leverage-band, --step-pct (the table: one row per step and bin). cross-margin (what a BTC move of -40% to +20% liquidates through cross margin: --move, --at), oi-flow <symbol> (new longs, new shorts, closes and liquidations per --interval 1h\|4h\|1d bucket from 2026-09-30, beside Hyperliquid's own open interest; --start, --end, --limit, --cursor, --all), oi-movers (the perps whose open interest rose and fell most: --window 1h\|4h\|24h, --min-oi-usd, --limit), revisions <date> (published values that changed afterwards: --series, --key, --limit, --cursor, --all). On a Free account the history of the heatmap, cross-margin, oi-flow and revisions is the last 30 days; an older window prints the server's 403 message | hl_cohort_metrics, hl_segments, hl_wallet, hl_wallet_activity, hl_wallet_trades, hl_leaderboard, hl_liquidations, hl_market, hl_orders, hl_twaps, hl_ledger, hl_leverage_changes, hl_stats, hl_hype_holders, hl_builders, hl_vaults, hl_vault, hl_archive; hip3, hip3-history, copy-sim, cross-margin, oi-flow, oi-movers and revisions are REST: GET /v1/hyperliquid/hip-3, /hip-3/history, /wallets/{address}/copy-sim, /liquidations/cross-margin, /symbols/{symbol}/oi-flow, /oi-movers, /revisions (MCP: hl_wallet view copy_sim, hl_liquidations view cross_margin, hl_market views oi_flow, oi_movers, hl_stats view revisions) | | vike-data candles | hl <symbol> (Hyperliquid perp or spot, from executed fills; --view export, or --view latest for the newest bar of every symbol), polymarket <token_id> (one outcome token); live bars: stream hl --channel hl.candles | hl_ohlcv, polymarket_ohlcv | | vike-data polymarket (pm) | markets, market <condition_id>, wallet <address>, smart-money (--mode flows\|mispricings; --mode feed: the cohort's trades, newest first, --from-ms, --to-ms, --side, --min-trade-usd, --min-pnl, --cursor; --mode unusual: the unusual-bets board, --block open\|resolved\|groups\|accuracy, --wallet, --condition-id, a reason to look, not evidence of insider trading), leaderboard, market-trades <condition_id>, tape, orderbook <token_id>, market-stats <token_id>, settlement <condition_id>, settlements, chainlink-prices <symbol> (the Chainlink prices the crypto up/down markets resolve on), archive | polymarket_markets, polymarket_market_detail, polymarket_wallet, polymarket_smart_money, polymarket_leaderboard, polymarket_market_trades, polymarket_tape, polymarket_orderbook, polymarket_market_stats, polymarket_settlement, polymarket_settlements_bulk, polymarket_chainlink_prices, polymarket_archive | | vike-data predictfun (pf) | overview, markets, market <market_id>, orderbook <market_id>, market-trades <market_id>, wallet <address> (positions and P&L), wallet-trades <address>, wallet-flows <address> (USDT deposits and withdrawals), leaderboard | predictfun_overview, predictfun_markets, predictfun_market_detail, predictfun_market_book, predictfun_market_trades, predictfun_wallet_positions, predictfun_wallet_trades, predictfun_leaderboard | | vike-data marketdata (md) | CEX market data: funding <symbol> (history, newest first: --exchange, --start, --end, --limit up to 5000; each row's venue_symbol is the venue's own name for the perp, shown after exchange: a stock such as NVDA also brings Hyperliquid HIP-3 xyz:NVDA and io:NVDA and BingX NCSKNVDA2USD, and xyz:NVDA alone is that one market), funding-now [symbol] (each venue now, with avg_apr_7d/_30d, cum_1d/_7d/_30d, oi_usd and venue_symbol; no symbol: the top 5 funding-arbitrage pairs, with opportunity_age_h, stability_7d, spread_avg_7d/_30d_daily_pct and each leg's next_daily_pct), funding-oi [symbol] (each coin's funding averaged across venues by open interest: rate_8h, apr, oi_usd, venues; --limit up to 500), spreads [symbol] (the 10 widest cross-venue price gaps), spreads-history <symbol> --a <venue> --b <venue> (leg A's price over leg B's per bucket in bps since 2026-05-30, perp or spot legs: --market-a, --market-b, --interval 1h\|4h\|1d, --start, --end; rows carry open_bps, close_bps, avg_bps, high_bps_bound/low_bps_bound, samples_a/_b, book_bps_a/_b), oi <symbol> and long-short <symbol> (the newest print per venue, or a series, the last print per --interval 1h\|4h\|1d bucket (4h and 1d start at 00:00 UTC): --hours 1-8760 before now, or --start/--end (ISO-8601 or unix seconds; not with --hours); history from 2026-04-10, at most 10,000 buckets a venue; --exchange), liquidations [symbol] (forced liquidations on binance, bybit, okx, deribit and aster, newest first: --exchange, --side long\|short, --start, --end, --interval 1m\|5m\|15m\|1h\|4h\|1d for long/short totals per bucket, --limit; coverage says which venues undercount), carry (the carry screener, by default the list on vike.io/perp/carry: --legs all\|perp_perp\|perp_spot, --direction funding\|convergence, --costs none\|fees\|fees_slippage, --fee-bps, --slippage-bps, --horizon <hours>, --min-spread-pct (default 0), --sort net\|gross, --limit up to 500; rows carry gross_apr and net_apr as fractions, fees_usd and net_usd per $1,000 a leg, breakeven_h), basis [symbol] (every live dated future on binance, bybit, okx, deribit, gate and kraken: basis against --ref index\|spot\|perp and apr, the cash-and-carry yield to expiry before fees; --exchange, --sort apr\|expiry, --limit), options-flow [symbol] (Deribit option flow of BTC (default), ETH or SOL: --by expiry\|time (one row per expiry, soonest first, or per --interval 1m\|5m\|15m\|1h\|4h\|1d bucket, newest first), --start, --end (default: the last 24 hours, at most 366 days), --expiry YYYY-MM-DD, --limit up to 5000; each row and the total carry trades, call_volume/put_volume (in the coin), put_call_ratio, call_premium_usd/put_premium_usd, put_call_premium_ratio, call_net_premium_usd/put_net_premium_usd (taker buys minus sells: positive is net buying) and net_premium_usd; the table shows the premiums and ratio, with the total as its last row), options-skew [currency] (Deribit implied vol of BTC (default) or ETH per hour, newest first: atm_iv, iv_call_25, iv_put_25, rr_25, bf_25 at 7, 30 and 90 days, from December 2026: --tenor 7\|30\|90, --start, --end, --limit), options-dvol [currency] (Deribit's DVOL index as hourly candles from 2021-03-24: --start, --end, --limit), oi-movers (the coins whose open interest, summed over the venues, rose and fell most: --window 1h\|4h\|24h, --min-oi-usd, --limit; the table is rising then falling), oi-participation <symbol> (per hour the open interest change at constant price beside taker volume), liq-summary [symbol] (liquidations per coin over --window 1h\|4h\|12h\|24h, by_exchange, squeeze_bp), liquidations --group exchange --min-usd, spreads-history --level-bps (hold_hours), funding-matrix and long-short-matrix (every coin x venue, --exchange, --limit, --cursor), market-status (delisting and reduce-only markets). Trade flow, spot or --market perp: orderflow <symbol> (buy/sell USD, delta, cumulative delta per --interval, --by exchange), trades [symbol] (trades of $10,000 or more, --min-usd, --min-tier), volume-profile <symbol>, tiers <symbol>, divergences <symbol>, whale-heatmap, perp-prices <symbol>. Options: options-chain [currency] (--venue bybit\|deribit, --expiry, --type, --at), options-trades [currency] (Deribit prints: --instrument, --expiry, --strike, --type, --min-usd, --cursor), options-ohlcv <instrument>. A paged answer's next_cursor shows with --json. In the table view of funding-now, carry and spreads, a rate at its venue's cap or floor prints as <rate> capped, the funding interval as published (8h assumed where the venue publishes none), and a venue that is delisting or reduce-only as binance (delisting 2026-12-08) / bybit (reduce_only); --json keeps the raw capped, interval_src, market_status and delist_ts. An undeclared parameter is a 400. | REST, not MCP: GET /v1/marketdata/perp/funding, /funding/current, /funding/oi-weighted, /spreads, /spreads/history, /oi, /long-short, /liquidations, /carry, /oi/movers, /oi/participation, /liquidations/summary, /funding/matrix, /long-short/matrix, /market-status, /prices; /v1/marketdata/spot/orderflow, /spot/trades, /spot/volume-profile, /spot/tiers, /spot/divergences, /spot/whale-heatmap; /v1/marketdata/futures/basis, /v1/marketdata/options/flow, /options/skew, /options/dvol, /options/chain, /options/trades, /options/ohlcv (MCP: perp_* views, cex_trades, options_vol view chain, options_flow views trades, ohlcv) | | vike-data alerts | list, channels, create, edit, delete, events, resend, register-webhook, test-webhook, rotate-secret: transfer alerts (a token or one wallet, on eth, bsc, base, hyperevm) Hyperliquid alerts (--type hl_wallet, hl_cohort_fill, hl_liquidation, hl_cohort_bias, hl_liq_proximity, hl_wallet_orders: one wallet's orders placed or gone, --side, --events placed gone) and Polymarket alerts (--type pm_wallet_trade, pm_market_trade, pm_price_move, pm_resolution), by email or an HTTPS webhook, HMAC-signed; --max-triggers-day <n> (1-10,000) caps one alert's e-mails and webhooks per UTC day (the feed keeps every event; on edit, '' or 0 removes it); at most 200 active alerts per account; events pages by --cursor while has_more is true (a page ends at about 2 MB) | alerts_* | | vike-data stream <path> | live events from wss://stream.vike.io/v1/stream/<path> (hl, hl-cohorts, onchain, polymarket) as NDJSON: --channel (one or more), --filter key=value, --cursor | WebSocket, not MCP | | vike-data stream | info, check <channel> (the server's validator), events <channel> (stored events, 3 days), connections (yours) | stream_info, stream_check_filter, stream_events, stream_connections | | vike-data search <q> | tokens, wallets and entities, HL traders, vaults, builders, Polymarket wallets and markets, Predict.fun markets and traders by name, symbol, address or ENS name | search | | vike-data call <tool> | any MCP tool by name: --args '{json}' or --args-file, --timeout; prints the raw result | any | | setup | init, login, logout, whoami, doctor, schema, install | — |

The md series (CEX perp market data, vike.io/data/marketdata): These series may be published (charts, tables, screenshots, aggregated results and up to 100 rows per publication) with the credit “© Vike (vike.io)”, under the same rules as the other sources: Licensing. Bulk data and full datasets may not, and commercial use needs a written agreement. Plans and limits: Pricing; an API key: API.

Output is a table on a terminal and JSON with --json or whenever stdout is piped. The table rounds numbers below a thousand to 6 significant digits and shortens larger ones to K/M/B. It prints time columns (ts, time, expiry, as_of, *_ts, *_at, ..., known by name) as UTC, e.g. 2026-12-01 08:00 UTC. JSON carries every value exactly as served. A tool that refuses its input exits 1 in every mode:

vike-data token search BTC --json | jq '.'
vike-data call hl_wallet --args '{"address":"0x...","view":"trades_summary","window":"30d"}'
# BTC's Chainlink price at every 15-minute boundary of 2026-11-10 UTC, midnight to midnight (--to-ms is exclusive,
# hence +1): 97 rows, the start and end price of each 15-minute BTC up/down market that day
vike-data polymarket chainlink-prices btc --interval 15m --from-ms 1794268800000 --to-ms 1794355200001 --limit 97 --json
vike-data stream hl --channel hl.fills --filter coin=BTC --filter min_usd=100000

vike-data stream answers the server's pings, prints event and gap frames as they arrive (status on stderr), and after any drop reconnects from the last cursor of each subscription. On each path one key holds one connection: a second program on the same key takes over, and the first exits with replaced (4410) instead of reconnecting. Give each program its own key.

Examples

examples/ holds three Python scripts. Each declares its dependencies inline, so uv run installs them; plain pip install polars requests duckdb works too.

| Script | What it does | Key | |---|---|---| | polymarket_archive.py | Reads manifest.json, downloads the free sample's trades and l1_quotes and summarises them with polars, then (with VIKE_API_KEY set) downloads one full day of trades.parquet and checks its size against the manifest | steps 1-2 none, step 3 free key | | hyperliquid_cohorts.py | GET /v1/hyperliquid/coins/BTC/cohort-metrics?axis=size&hours=24 into a polars DataFrame: positioning per account-size cohort at the latest hour, and bias per cohort per hour | free key | | duckdb_archive.py | DuckDB over local archive Parquet: trades, shares and VWAP per outcome token, and mid and spread per minute from l1_quotes. Uses the free sample unless you pass your own files or globs. | none for the sample |

uv run examples/polymarket_archive.py
VIKE_API_KEY=vk_... uv run examples/hyperliquid_cohorts.py
uv run examples/duckdb_archive.py

Downloads go to ./vike-archive/.

For AI agents

This package ships 90 skill playbooks under skills/: markdown files an AI coding agent loads so it knows when and how to call each command. skills.sh.json groups them by domain (Quick start, Tokens, Wallets, CEX market data, Hyperliquid perps, Hyperliquid cohorts, Candles, Polymarket, Predict.fun, Alerts, Live streams). The entry point is the umbrella skill vike, which routes a question to the specialised skill. Per-tool skills read one command; the workflow playbooks chain several: who a wallet is, where its money went, whether two wallets are related, token holder diligence and the smart-money trend, Hyperliquid cohort positioning and how to backtest it, one trader's profile, what copying a trader would have made, a symbol briefing, liquidation risk, what moved open interest, builder codes, perp crowding, a Polymarket market's due diligence, Predict.fun markets, wallets and leaderboard, the free L2 archive, a cross-market daily brief.

Every skill, by direction:

  • Quick start: vike, vike-core, vike-daily-brief, vike-search, vike-account-usage
  • Tokens: vike-token-search, vike-token-research, vike-token-transfers, vike-token-holders, vike-token-holder-diligence, vike-token-screener, vike-smart-money-discovery, vike-token-smart-money-trend
  • Wallets: vike-wallet-who-is, vike-wallet-summary, vike-wallet-portfolio, vike-wallet-discover, vike-wallet-transactions, vike-wallet-counterparties, vike-wallet-trace, vike-follow-the-money, vike-wallet-compare, vike-wallets-related, vike-wallet-batch, vike-wallet-pnl-history, vike-wallet-balances, vike-wallet-ens, vike-wallet-label-provenance, vike-wallet-check, vike-wallet-positions, vike-wallet-first-funder, vike-wallet-exchange-usage, vike-transaction-lookup
  • CEX market data: vike-perp-funding, vike-perp-overview, vike-perp-crowding, vike-perp-carry, vike-perp-open-interest, vike-perp-spread-history, vike-perp-liquidations, vike-cex-trade-flow, vike-futures-basis, vike-options-flow, vike-options-vol
  • Hyperliquid perps: vike-hl-top-traders, vike-hl-trader-profile, vike-hl-copy-sim, vike-hl-position-match, vike-hl-asset-briefing, vike-hl-liquidation-radar, vike-hl-builder-intel, vike-hl-hip3, vike-hl-market-stats, vike-hl-oi-flow, vike-hl-order-book, vike-hl-whale-trades, vike-hl-twaps, vike-hl-money-flows, vike-hl-leverage-shifts, vike-hl-vaults, vike-hl-hype-holders, vike-hl-archive, vike-hl-revisions
  • Hyperliquid cohorts: vike-hl-cohort-positioning, vike-hl-cohort-trend, vike-hl-smart-money-index, vike-hl-cohort-explorer, vike-hl-cohort-screener, vike-hl-cohort-backtest
  • Candles: vike-candles
  • Polymarket: vike-polymarket-markets, vike-polymarket-find-market, vike-polymarket-market-detail, vike-pm-market-diligence, vike-polymarket-order-book, vike-polymarket-tape, vike-polymarket-resolutions, vike-polymarket-updown, vike-polymarket-leaderboard, vike-polymarket-trader, vike-polymarket-smart-money, vike-pm-l2-archive
  • Predict.fun: vike-predictfun-markets, vike-predictfun-market-detail, vike-predictfun-trader, vike-predictfun-leaderboard, vike-predictfun-flows
  • Alerts: vike-alerts-setup, vike-alerts-webhook
  • Live streams: vike-stream
npx skills add vike-io/vike-data-cli --list    # see them first
npx skills add vike-io/vike-data-cli           # install

# Or, from the installed CLI, write the umbrella skill into each agent's location:
vike-data install --claude     # ~/.claude/skills/vike/SKILL.md
vike-data install --cursor     # ./.cursorrules
vike-data install --copilot    # ./.github/copilot-instructions.md
vike-data install --agents     # ./AGENTS.md
vike-data install --all        # all four
vike-data install --generic    # ./vike-generic.md: paste into ChatGPT, Gemini or any assistant's instructions

Without a global install: npx @vike-io/cli install --cursor (any flag above).

vike-data install replaces only its own <!-- vike-skill:begin --> ... <!-- vike-skill:end --> block in files it does not own.

To connect a client to the MCP server itself, with this CLI's credential (a saved key, or a free anonymous token):

vike-data mcp add --cursor        # ~/.cursor/mcp.json
vike-data mcp add --vscode        # VS Code's user profile (`code --add-mcp`)
vike-data mcp add --claude-code   # Claude Code, user scope (`claude mcp add-json`)
vike-data mcp add --gemini        # ~/.gemini/settings.json
vike-data mcp add --codex         # ~/.codex/config.toml

After a browser vike-data login no key is written: the client signs in to vike.io itself the first time (Codex: codex mcp login vike).

Gemini CLI can also take this repository as an extension, the MCP server and its rules in one step (it asks you to sign in to vike.io the first time):

gemini extensions install https://github.com/vike-io/vike-data-cli

Tab completion of commands and flags:

eval "$(vike-data completion bash)"                              # in ~/.bashrc (bash 4+)
eval "$(vike-data completion zsh)"                               # in ~/.zshrc
vike-data completion powershell | Out-String | Invoke-Expression  # in $PROFILE

Environment

| Variable | Default | Purpose | |---|---|---| | VIKE_API_KEY | — | API key; wins over the saved key, browser sign-in or anonymous token | | VIKE_NO_ANON=1 | anonymous token on | With no credential, fail ("Not signed in") instead of getting a free anonymous token | | VIKE_ANON_SOURCE | cli | Tag sent when the anonymous token is created ([a-z0-9-]{1,40}, e.g. a skill pack's name) | | VIKE_MCP_URL | https://data.vike.io/mcp | MCP endpoint override; md sends its REST calls to the same origin | | VIKE_NO_TELEMETRY=1 or DO_NOT_TRACK=1 | telemetry on | Turns off anonymous usage telemetry | | VIKE_NO_UPDATE_CHECK=1 or NO_UPDATE_NOTIFIER=1 | check on | Turns off the background npm update check |

Telemetry sends the command name, the flag names (never their values), the duration, an error code and a random device id. It never sends what you queried, and it is off when CI is set.

vike-data is the Data API client. The Vike Trader platform has its own, separate command line, vike-cli (docs).

License

The CLI is MIT, see LICENSE. Everything you get from Vike through it (the REST API, the MCP server, the CLI and the Parquet files) is covered by the Terms of Service, section 7:

  • you can research and trade your own capital, keep the data on your own machine, run private backtests, and publish charts, tables, screenshots, backtest and research results, and up to 100 rows per publication, from our on-chain, Hyperliquid, Polymarket and Predict.fun data and our CEX derivatives market data (funding rates, price spreads, open interest, long/short ratios and the carry screener, from the exchanges listed on vike.io/data/marketdata), credited "© Vike (vike.io)";
  • you cannot publish bulk data or full datasets, or publish candles, trades, ticks or order books of exchanges shown on the Service;
  • commercial use (signals or a service for others, use on behalf of a company, fund or prop firm, resale) needs a written agreement: [email protected]. Details: vike.io/data/licensing.

Links