Data CLI (vike-data)
vike-data, the open-source command line for the Data API — install it, save a key, query wallets, Hyperliquid and Polymarket from a terminal, and install the agent skills.
vike-data is the Data API's command line: the npm package @vike-io/cli, open source (MIT) at
github.com/vike-io/vike-data-cli. Every data command is
one call to the MCP server at https://vike.io/mcp, so it reaches the same tools with
the same key and spends the same hourly budget as MCP and REST — see
Rate limits.
It is not the Trader's command line. vike-cli drives the trading platform and is documented under
Trader.
Install
npm install -g @vike-io/cli # Node.js 22.12 or newerThe package installs one command, vike-data. Before 0.13.0 it was also installed as vike; a
script or an installed agent skill that still calls vike needs updating.
First run
# paste your key: it is saved to ~/.vike/config.json and checked against vike.io/mcp
vike-data init
# Node version, key, MCP connectivity and the tool list, in one check
vike-data doctor
# then the first queries
vike-data token search PEPE
vike-data perp top-traders --window 7d
vike-data candles hl BTC --interval 1h --limit 48
vike-data polymarket markets --category CryptoThe key is read from VIKE_API_KEY first and from ~/.vike/config.json second.
vike-data login --api-key vk_... writes the file, vike-data logout removes it, and
vike-data whoami says which of the two is in use.
Commands
vike-data <group> --help lists a group's flags, and vike-data schema prints every tool the
server exposes with its parameters.
| Command | Subcommands | MCP tool |
|---|---|---|
vike-data token | search, transfers, screener, holders (--chain ethereum|bsc|base) | token_search, token_transfers, token_screener, token_holders |
vike-data wallet | summary, transactions (txs), compare, trace, batch, counterparties, pnl-history, balances, ens, discover | wallet_summary, wallet_transactions, wallet_compare, wallet_trace, wallet_batch_labels, wallet_counterparties, wallet_pnl_history, wallet_token_balances, wallet_ens, wallet_discover |
vike-data labels <address> | label provenance for one wallet | wallet_label_provenance |
vike-data perp | top-traders, find-position (Hyperliquid); funding, spreads (cross-venue) | hl_perp_top_traders, hl_position_match, perp_funding, perp_spreads |
vike-data candles | hl <symbol>, polymarket <token_id> | hl_ohlcv, polymarket_ohlcv |
vike-data polymarket (pm) | markets, market <condition_id>, wallet <address>, smart-money | polymarket_markets, polymarket_market_detail, polymarket_wallet, polymarket_smart_money |
vike-data alerts | list, channels, create, edit, delete, register-webhook | alerts_* |
| setup | init, login, logout, whoami, doctor, schema, install | — |
Output is a table on a terminal and JSON with --json or whenever stdout is piped, so
vike-data token search BTC | jq '.' needs no flag.
Agent skills
The repository ships skill playbooks an AI coding agent loads to know when and how to call each command; the installer detects Claude Code, Cursor, Codex, Copilot, Gemini CLI and others.
# see them first, then install
npx skills add vike-io/vike-data-cli --list
npx skills add vike-io/vike-data-cli
# or, from the installed CLI, write the umbrella skill where each agent looks for it
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 fourEnvironment
| Variable | Effect |
|---|---|
VIKE_API_KEY | the key; wins over the saved config |
VIKE_MCP_URL | the MCP endpoint, https://vike.io/mcp by default |
VIKE_NO_TELEMETRY=1 or DO_NOT_TRACK=1 | turns off anonymous usage telemetry (also off whenever CI is set) |
VIKE_NO_UPDATE_CHECK=1 or NO_UPDATE_NOTIFIER=1 | turns off the background npm update check |
Telemetry sends the command name, the flag names but never their values, the duration, an error code and a random device id — never what you queried.
REST API
The rules that hold across every /v1 namespace on data.vike.io — one credential, one hourly counter, one error envelope, one request helper — and where the per-endpoint reference lives.
Cohorts and axes
How Hyperliquid wallets are bucketed: the axis and cohort ladders, the per-position tier ladder, and which axes can group.