@vike-io/cli 0.11.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +164 -63
- package/package.json +9 -7
- package/scripts/postinstall.js +2 -1
- package/skills/vike/SKILL.md +51 -106
- package/skills/vike-candles/SKILL.md +61 -0
- package/skills/vike-hl-position-match/SKILL.md +3 -3
- package/skills/vike-perp-screener/SKILL.md +0 -1
- package/skills/vike-router/SKILL.md +4 -6
- package/skills/vike-token-research/SKILL.md +0 -5
- package/skills/vike-token-search/SKILL.md +0 -1
- package/skills/vike-token-transfers/SKILL.md +0 -1
- package/skills/vike-wallet-balances/SKILL.md +0 -2
- package/skills/vike-wallet-batch/SKILL.md +0 -1
- package/skills/vike-wallet-ens/SKILL.md +0 -1
- package/skills/vike-wallet-label-provenance/SKILL.md +0 -2
- package/skills/vike-wallet-pnl-history/SKILL.md +0 -1
- package/skills/vike-wallet-portfolio/SKILL.md +1 -3
- package/skills.sh.json +6 -18
- package/src/commands/candles.js +57 -0
- package/src/commands/init.js +1 -1
- package/src/commands/labels.js +0 -32
- package/src/commands/token.js +1 -16
- package/src/index.js +4 -9
- package/src/mcp-client.js +5 -6
- package/skills/vike-defi-positions/SKILL.md +0 -59
- package/skills/vike-fund-holdings/SKILL.md +0 -53
- package/skills/vike-ohlcv/SKILL.md +0 -65
- package/skills/vike-options-flow/SKILL.md +0 -49
- package/skills/vike-web-fetch/SKILL.md +0 -55
- package/skills/vike-web-research/SKILL.md +0 -58
- package/skills/vike-web-search/SKILL.md +0 -60
- package/src/commands/ohlcv.js +0 -33
- package/src/commands/options.js +0 -24
- package/src/commands/web.js +0 -41
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e4f4b6c: package.json description and keywords now describe the free Data API (Polymarket L2 Parquet archive, Hyperliquid, labelled wallets, MCP). `vike doctor` / `vike init` no longer assume `/mcp` answers `initialize` without a key: with no key the check fails with the "No API key" message, and `vike init` reports a rejected key instead of printing ok. The postinstall hint links https://vike.io/data/ and the API-keys page instead of the dead https://vike.io/api.
|
|
8
|
+
- e4f4b6c: README: answer-first summary of the free Vike Data API, a Free datasets section with direct links, MCP setup, the full command list, and an examples/ folder (Polymarket archive, Hyperliquid cohorts, DuckDB).
|
|
9
|
+
- 7f4be01: Umbrella skill: add a plain what-it-is-for paragraph, describe the MCP connector instead of a raw HTTP POST, and fix the tool count (31).
|
|
10
|
+
- 31952b5: Umbrella skill: add a 'What it does and who it is for' section (the marketplace check looks for a prose paragraph there).
|
|
11
|
+
- ffb25f3: Skills: replace links to sibling skills with their names, so a skill imported on its own (e.g. a marketplace bundle of `skills/vike`) has no dead links.
|
|
12
|
+
|
|
13
|
+
## 0.12.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 6a41844: Remove the commands and skills whose MCP tool the server no longer offers: `vike funds` (`fund_holdings`), `vike defi` (`defi_positions`), `vike ohlcv` (`ohlcv`), `vike token chart` (`token_chart`), `vike options flow` (`options_flow`) and `vike web search|fetch` (`web_search`, `web_fetch`), plus the `vike-fund-holdings`, `vike-defi-positions`, `vike-ohlcv`, `vike-options-flow`, `vike-web-search`, `vike-web-fetch` and `vike-web-research` skills and every cross-reference to them.
|
|
18
|
+
|
|
19
|
+
Add `vike candles hl <symbol>` and `vike candles polymarket <token_id>` (the `hl_ohlcv` and `polymarket_ohlcv` tools) and the `vike-candles` skill.
|
|
20
|
+
|
|
3
21
|
## 0.11.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,121 +1,222 @@
|
|
|
1
|
-
# @vike-io/cli
|
|
1
|
+
# @vike-io/cli — the Vike Data API from your terminal and your AI agent
|
|
2
2
|
|
|
3
|
-
> Repo + package: `@vike-io/cli` (npm) · `vike-io/vike-data-cli` (GitHub) · binary: `vike`
|
|
3
|
+
> Repo + package: `@vike-io/cli` (npm) · `vike-io/vike-data-cli` (GitHub) · binary: `vike` (alias `vike-data`)
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@vike-io/cli)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
|
-
[](https://nodejs.org)
|
|
8
8
|
[](https://skills.sh/vike-io/vike-data-cli)
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
**`@vike-io/cli` is an open-source (MIT) command-line client and agent skill pack for the free
|
|
11
|
+
[Vike Data API](https://vike.io/data/).** One free API key covers **Hyperliquid** (traders,
|
|
12
|
+
positions, fills, funding, liquidations, candles, and hourly long/short positioning by wallet
|
|
13
|
+
cohort), **Polymarket** (markets, the trade and event tape, order-book snapshots, candles and
|
|
14
|
+
on-chain settlements, plus a daily Parquet archive of the full L2 order book since 2026-07-25,
|
|
15
|
+
licensed CC BY 4.0), and **labelled EVM wallets** on Ethereum and BNB Chain, with Base for token
|
|
16
|
+
transfers. The same data is served three ways: an **MCP server** at `https://vike.io/mcp` (the one
|
|
17
|
+
this CLI calls), a **REST API** at `https://data.vike.io/v1/`, and the **Parquet archive** at
|
|
18
|
+
`https://data.vike.io/archive/`. A key allows 20,000 requests an hour, and an account can hold up
|
|
19
|
+
to 5 keys; archive downloads are not counted. The archive manifest and a sample market need no key
|
|
20
|
+
at all. Market data from centralised exchanges is not offered through the REST API.
|
|
11
21
|
|
|
12
22
|
## Install
|
|
13
23
|
|
|
14
24
|
```bash
|
|
15
|
-
#
|
|
25
|
+
# The CLI (Node.js >= 22.12). Installs the `vike` binary.
|
|
16
26
|
npm install -g @vike-io/cli
|
|
17
27
|
|
|
18
|
-
# OR install
|
|
19
|
-
# Codex, Copilot
|
|
28
|
+
# OR install only the skill playbooks into your AI agent (Claude Code, Cursor,
|
|
29
|
+
# Codex, Copilot and others; the agent is auto-detected):
|
|
20
30
|
npx skills add vike-io/vike-data-cli
|
|
21
31
|
```
|
|
22
32
|
|
|
23
|
-
|
|
33
|
+
## Quickstart
|
|
34
|
+
|
|
35
|
+
Get a free key at [vike.io/account?tab=api-keys](https://vike.io/account?tab=api-keys) (keys start
|
|
36
|
+
with `vk_`), then:
|
|
24
37
|
|
|
25
38
|
```bash
|
|
26
|
-
vike
|
|
27
|
-
|
|
39
|
+
vike init # paste the key; saves ~/.vike/config.json, checks vike.io/mcp
|
|
40
|
+
vike doctor # Node version, key, MCP connectivity, tool list
|
|
41
|
+
vike token search PEPE # first query
|
|
42
|
+
vike perp top-traders --window 7d # Hyperliquid wallets ranked by PnL
|
|
43
|
+
vike candles hl BTC --interval 1h --limit 48
|
|
44
|
+
vike polymarket markets --category Crypto # trending markets by 24h volume
|
|
28
45
|
```
|
|
29
46
|
|
|
30
|
-
|
|
47
|
+
The key is read from `VIKE_API_KEY` first, then from `~/.vike/config.json`
|
|
48
|
+
(`vike login --api-key vk_...` writes it, `vike logout` removes it).
|
|
49
|
+
|
|
50
|
+
## Free datasets
|
|
51
|
+
|
|
52
|
+
| Dataset | What is in it | Access | Page |
|
|
53
|
+
|---|---|---|---|
|
|
54
|
+
| **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). CC BY 4.0. | Manifest + sample: no key. Full days: free key. | [polymarket-historical-data](https://vike.io/data/polymarket-historical-data) |
|
|
55
|
+
| **Polymarket up/down families** (archive) | The same archive cut per market family, `asset=btc/tenor=5m` and so on, with an `asset=other/tenor=other` catch-all | free key | [polymarket-updown-markets](https://vike.io/data/polymarket-updown-markets) |
|
|
56
|
+
| **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](https://vike.io/data/polymarket) |
|
|
57
|
+
| **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](https://vike.io/data/hl-cohorts) |
|
|
58
|
+
| **Hyperliquid API** `/v1/hyperliquid` | Trader rankings and leaderboards, 5-minute position snapshots kept for a year, wallet fills, funding and ledger, liquidations (inferred from snapshots), builders, candles since the start of 2026; closed bars also stream on `wss://vike.io/v1/stream` | free key | [hyperliquid](https://vike.io/data/hyperliquid) |
|
|
59
|
+
| **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](https://vike.io/data/onchain) |
|
|
60
|
+
|
|
61
|
+
Direct links that need no key:
|
|
62
|
+
|
|
63
|
+
- Archive manifest (every date, per-stream bytes and row counts, the schema, the license):
|
|
64
|
+
<https://data.vike.io/archive/manifest.json>
|
|
65
|
+
- Free sample, one complete 5-minute crypto up/down market (both outcome tokens, open through
|
|
66
|
+
resolution), regenerated daily: <https://data.vike.io/archive/samples/>
|
|
67
|
+
([README.txt](https://data.vike.io/archive/samples/README.txt),
|
|
68
|
+
[book_events.parquet](https://data.vike.io/archive/samples/book_events.parquet),
|
|
69
|
+
[trades.parquet](https://data.vike.io/archive/samples/trades.parquet),
|
|
70
|
+
[l1_quotes.parquet](https://data.vike.io/archive/samples/l1_quotes.parquet))
|
|
71
|
+
|
|
72
|
+
Archive layout: `https://data.vike.io/archive/venue=polymarket/date=YYYY-MM-DD/{book_events,trades,l1_quotes}.parquet`.
|
|
73
|
+
A full-day `book_events` file is several GB; `trades` is around 12 MB.
|
|
31
74
|
|
|
32
75
|
```bash
|
|
33
|
-
|
|
34
|
-
vike
|
|
35
|
-
|
|
76
|
+
# No key: the newest day in the archive, and the sample tape
|
|
77
|
+
curl -s https://data.vike.io/archive/manifest.json | jq '.dates[0]'
|
|
78
|
+
curl -O https://data.vike.io/archive/samples/trades.parquet
|
|
79
|
+
|
|
80
|
+
# Free key: one full day of the Polymarket tape, and a day of BTC cohort positioning
|
|
81
|
+
export VIKE_API_KEY=vk_...
|
|
82
|
+
curl -H "X-API-KEY: $VIKE_API_KEY" -C - -o polymarket-trades-2026-10-16.parquet \
|
|
83
|
+
"https://data.vike.io/archive/venue=polymarket/date=2026-10-16/trades.parquet"
|
|
84
|
+
curl -H "X-API-KEY: $VIKE_API_KEY" \
|
|
85
|
+
"https://data.vike.io/v1/hyperliquid/coins/BTC/cohort-metrics?axis=size&hours=24"
|
|
36
86
|
```
|
|
37
87
|
|
|
38
|
-
|
|
88
|
+
Download an archive file whole, then read the local copy. A Parquet reader (DuckDB, polars,
|
|
89
|
+
pyarrow) pointed at the URL turns one file into thousands of HTTP Range requests.
|
|
90
|
+
|
|
91
|
+
Full catalog: [vike.io/data/datasets](https://vike.io/data/datasets) · field reference:
|
|
92
|
+
[vike.io/data/schemas](https://vike.io/data/schemas) · keys and limits:
|
|
93
|
+
[vike.io/data/api](https://vike.io/data/api).
|
|
39
94
|
|
|
40
|
-
##
|
|
95
|
+
## MCP server
|
|
41
96
|
|
|
97
|
+
The crypto data MCP server is `https://vike.io/mcp` (Streamable HTTP, JSON-RPC 2.0), keyed with
|
|
98
|
+
the same `X-API-KEY`. MCP and REST calls share one hourly counter.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
# Claude Code
|
|
102
|
+
claude mcp add --transport http vike https://vike.io/mcp \
|
|
103
|
+
--header "X-API-KEY: $VIKE_API_KEY"
|
|
42
104
|
```
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
vike
|
|
105
|
+
|
|
106
|
+
Cursor, in `~/.cursor/mcp.json`:
|
|
107
|
+
|
|
108
|
+
```json
|
|
109
|
+
{
|
|
110
|
+
"mcpServers": {
|
|
111
|
+
"vike": {
|
|
112
|
+
"url": "https://vike.io/mcp",
|
|
113
|
+
"headers": { "X-API-KEY": "YOUR_KEY" }
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
50
117
|
```
|
|
51
118
|
|
|
52
|
-
|
|
119
|
+
**Claude Desktop needs no key:** Settings → Connectors → Add custom connector, URL
|
|
120
|
+
`https://vike.io/mcp`, leave the OAuth fields empty, then log in to Vike and click Allow.
|
|
121
|
+
Setup for Gemini CLI, VS Code and other clients: [vike.io/docs/ai/data/setup](https://vike.io/docs/ai/data/setup).
|
|
53
122
|
|
|
54
|
-
|
|
123
|
+
```bash
|
|
124
|
+
# Raw JSON-RPC: list the tools your key can call
|
|
125
|
+
curl https://vike.io/mcp -H "X-API-KEY: $VIKE_API_KEY" \
|
|
126
|
+
-H "Content-Type: application/json" \
|
|
127
|
+
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
|
|
128
|
+
```
|
|
55
129
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
| **Tokens** | Resolve symbols → addresses, see top buyers/sellers, pull OHLCV |
|
|
59
|
-
| **Wallets** | Aggregate metrics per wallet, leaderboards by volume / PnL / netflow |
|
|
60
|
-
| **Perps** | Funding rates + cross-venue spreads across Binance / Bybit / OKX / Aster / Hyperliquid |
|
|
61
|
-
| **Hyperliquid** | Top-trader leaderboard with PnL / ROI / win-rate filters |
|
|
62
|
-
| **Options** | Deribit flow for BTC / ETH / SOL with put-call ratios |
|
|
63
|
-
| **Alerts** | Create transfer alerts; deliver to email or Discord |
|
|
130
|
+
On `/mcp` a bad or missing key comes back as a JSON-RPC `error` in the body, so check the body and
|
|
131
|
+
not only the HTTP status. A rate-limited call gets HTTP 429 with `Retry-After: 60`.
|
|
64
132
|
|
|
65
|
-
##
|
|
133
|
+
## CLI commands
|
|
66
134
|
|
|
67
|
-
|
|
135
|
+
Every data command is one `tools/call` to the MCP server. `vike <group> --help` lists the flags;
|
|
136
|
+
`vike schema --pretty` prints every tool the server exposes, with its parameters.
|
|
68
137
|
|
|
69
|
-
|
|
138
|
+
| Command | Subcommands | MCP tool |
|
|
139
|
+
|---|---|---|
|
|
140
|
+
| `vike token` | `search`, `transfers`, `screener`, `holders` (`--chain ethereum\|bsc\|base`) | `token_search`, `token_transfers`, `token_screener`, `token_holders` |
|
|
141
|
+
| `vike 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` |
|
|
142
|
+
| `vike labels <address>` | multi-source label provenance for one wallet | `wallet_label_provenance` |
|
|
143
|
+
| `vike perp` | `top-traders`, `find-position` (Hyperliquid); `funding`, `spreads` (cross-venue funding rates and spot-perp spreads) | `hl_perp_top_traders`, `hl_position_match`, `perp_funding`, `perp_spreads` |
|
|
144
|
+
| `vike candles` | `hl <symbol>` (Hyperliquid perp or spot, from executed fills), `polymarket <token_id>` (one outcome token) | `hl_ohlcv`, `polymarket_ohlcv` |
|
|
145
|
+
| `vike polymarket` (`pm`) | `markets`, `market <condition_id>`, `wallet <address>`, `smart-money` | `polymarket_markets`, `polymarket_market_detail`, `polymarket_wallet`, `polymarket_smart_money` |
|
|
146
|
+
| `vike alerts` | `list`, `channels`, `create`, `edit`, `delete`, `register-webhook` (email, Discord, or an HTTPS webhook, HMAC-signed when you set a secret) | `alerts_*` |
|
|
147
|
+
| setup | `init`, `login`, `logout`, `doctor`, `schema`, `install` | — |
|
|
148
|
+
|
|
149
|
+
Output is a table on a terminal and JSON with `--json` or whenever stdout is piped:
|
|
70
150
|
|
|
71
151
|
```bash
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
npx skills add vike-io/vike-data-cli -a claude-code # explicit target
|
|
75
|
-
npx skills add vike-io/vike-data-cli --list # list all 41 first
|
|
152
|
+
vike token search BTC --json | jq '.'
|
|
153
|
+
```
|
|
76
154
|
|
|
77
|
-
|
|
78
|
-
|
|
155
|
+
## Examples
|
|
156
|
+
|
|
157
|
+
[`examples/`](examples/) holds three Python scripts. Each declares its dependencies inline, so
|
|
158
|
+
`uv run` installs them; plain `pip install polars requests duckdb` works too.
|
|
159
|
+
|
|
160
|
+
| Script | What it does | Key |
|
|
161
|
+
|---|---|---|
|
|
162
|
+
| [`polymarket_archive.py`](examples/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 |
|
|
163
|
+
| [`hyperliquid_cohorts.py`](examples/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 |
|
|
164
|
+
| [`duckdb_archive.py`](examples/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 |
|
|
79
165
|
|
|
80
|
-
|
|
81
|
-
|
|
166
|
+
```bash
|
|
167
|
+
uv run examples/polymarket_archive.py
|
|
168
|
+
VIKE_API_KEY=vk_... uv run examples/hyperliquid_cohorts.py
|
|
169
|
+
uv run examples/duckdb_archive.py
|
|
82
170
|
```
|
|
83
171
|
|
|
84
|
-
|
|
172
|
+
Downloads go to `./vike-archive/`.
|
|
85
173
|
|
|
86
|
-
##
|
|
174
|
+
## For AI agents
|
|
87
175
|
|
|
88
|
-
|
|
176
|
+
This package ships **36 skill playbooks** under [`skills/`](skills/): markdown files an AI coding
|
|
177
|
+
agent loads so it knows when and how to call each command. [`skills.sh.json`](skills.sh.json) groups
|
|
178
|
+
them by domain (Tokens, Wallets, CEX perps, Hyperliquid perps, Candles, Polymarket, Alerts). The
|
|
179
|
+
entry point is the umbrella skill `vike`, which routes a question to the specialised skill.
|
|
89
180
|
|
|
90
181
|
```bash
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
182
|
+
npx skills add vike-io/vike-data-cli --list # see them first
|
|
183
|
+
npx skills add vike-io/vike-data-cli # install
|
|
184
|
+
|
|
185
|
+
# Or, from the installed CLI, write the umbrella skill into each agent's location:
|
|
186
|
+
vike install --claude # ~/.claude/skills/vike/SKILL.md
|
|
187
|
+
vike install --cursor # ./.cursorrules
|
|
188
|
+
vike install --copilot # ./.github/copilot-instructions.md
|
|
189
|
+
vike install --agents # ./AGENTS.md
|
|
190
|
+
vike install --all # all four
|
|
94
191
|
```
|
|
95
192
|
|
|
193
|
+
`vike install` replaces only its own `<!-- vike-skill:begin -->` ... `<!-- vike-skill:end -->`
|
|
194
|
+
block in files it does not own.
|
|
195
|
+
|
|
96
196
|
## Environment
|
|
97
197
|
|
|
98
198
|
| Variable | Default | Purpose |
|
|
99
199
|
|---|---|---|
|
|
100
|
-
| `VIKE_API_KEY` | — | API key
|
|
101
|
-
| `VIKE_MCP_URL` | `https://vike.io/mcp` | MCP endpoint
|
|
200
|
+
| `VIKE_API_KEY` | — | API key; wins over the saved config |
|
|
201
|
+
| `VIKE_MCP_URL` | `https://vike.io/mcp` | MCP endpoint override |
|
|
202
|
+
| `VIKE_NO_TELEMETRY=1` or `DO_NOT_TRACK=1` | telemetry on | Turns off anonymous usage telemetry |
|
|
203
|
+
| `VIKE_NO_UPDATE_CHECK=1` or `NO_UPDATE_NOTIFIER=1` | check on | Turns off the background npm update check |
|
|
102
204
|
|
|
103
|
-
|
|
205
|
+
Telemetry sends the command name, the flag names (never their values), the duration, an error code
|
|
206
|
+
and a random device id. It never sends what you queried, and it is off when `CI` is set.
|
|
104
207
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
vike token search BTC # pretty table
|
|
109
|
-
vike token search BTC --json # JSON
|
|
110
|
-
vike token search BTC | jq '.' # auto-JSON when piped
|
|
111
|
-
```
|
|
208
|
+
`vike` here is the Data API client. The Vike Trader platform has its own, separate command line,
|
|
209
|
+
`vike-cli` ([docs](https://vike.io/docs/trader/cli)).
|
|
112
210
|
|
|
113
211
|
## License
|
|
114
212
|
|
|
115
|
-
MIT
|
|
213
|
+
The CLI is MIT, see [LICENSE](LICENSE). Archive data files are CC BY 4.0: use them for anything
|
|
214
|
+
and credit Vike ("Polymarket L2 archive (c) Vike (vike.io/data), CC BY 4.0"). Details:
|
|
215
|
+
[vike.io/data/licensing](https://vike.io/data/licensing).
|
|
116
216
|
|
|
117
217
|
## Links
|
|
118
218
|
|
|
119
|
-
-
|
|
219
|
+
- Free Data API: [vike.io/data](https://vike.io/data/)
|
|
220
|
+
- Data API docs: [vike.io/docs/data](https://vike.io/docs/data/) · archive: [vike.io/docs/data/archive](https://vike.io/docs/data/archive/) · MCP tools: [vike.io/docs/ai/data](https://vike.io/docs/ai/data)
|
|
221
|
+
- For LLMs: [vike.io/llms.txt](https://vike.io/llms.txt) · [vike.io/docs/llms.txt](https://vike.io/docs/llms.txt)
|
|
120
222
|
- Issues: [github.com/vike-io/vike-data-cli/issues](https://github.com/vike-io/vike-data-cli/issues)
|
|
121
|
-
- API docs: [vike.io/api](https://vike.io/api)
|
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
7
|
-
"description": "
|
|
6
|
+
"version": "0.12.1",
|
|
7
|
+
"description": "CLI, agent skills and MCP client for the free Vike Data API: a Polymarket full-L2 order-book archive in Parquet (CC BY 4.0), Hyperliquid positions, fills and cohorts, and labelled Ethereum/BNB wallets",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "src/index.js",
|
|
10
10
|
"bin": {
|
|
@@ -44,14 +44,16 @@
|
|
|
44
44
|
"onchain",
|
|
45
45
|
"perps",
|
|
46
46
|
"hyperliquid",
|
|
47
|
-
"options",
|
|
48
|
-
"deribit",
|
|
49
47
|
"polymarket",
|
|
50
48
|
"prediction-markets",
|
|
51
49
|
"defi",
|
|
52
50
|
"ethereum",
|
|
53
51
|
"bsc",
|
|
54
|
-
"base"
|
|
52
|
+
"base",
|
|
53
|
+
"parquet",
|
|
54
|
+
"order-book",
|
|
55
|
+
"historical-data",
|
|
56
|
+
"crypto-data"
|
|
55
57
|
],
|
|
56
58
|
"author": "vike.io",
|
|
57
59
|
"license": "MIT",
|
|
@@ -70,8 +72,8 @@
|
|
|
70
72
|
"commander": "^15.0.0"
|
|
71
73
|
},
|
|
72
74
|
"devDependencies": {
|
|
73
|
-
"@changesets/cli": "^
|
|
75
|
+
"@changesets/cli": "^3.0.3",
|
|
74
76
|
"eslint": "^10.4.0",
|
|
75
|
-
"vitest": "^
|
|
77
|
+
"vitest": "^5.0.4"
|
|
76
78
|
}
|
|
77
79
|
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -30,7 +30,8 @@ try {
|
|
|
30
30
|
' vike doctor — verify your install',
|
|
31
31
|
' vike token search BTC — your first query',
|
|
32
32
|
'',
|
|
33
|
-
' Docs:
|
|
33
|
+
' Docs: https://vike.io/data/',
|
|
34
|
+
' API key: https://vike.io/account?tab=api-keys',
|
|
34
35
|
'',
|
|
35
36
|
];
|
|
36
37
|
process.stdout.write(lines.join('\n'));
|