On-chain AI and API: MCP server and blockchain data API
Connect Claude, ChatGPT, Cursor or your own crypto AI agent to on-chain data and ask in plain words: who is behind a wallet, what it holds and made, where its money went, who is buying a token. 29 tools for Ethereum, BNB Chain, Base and HyperEVM on one API key, and in Claude Desktop no key at all. Or call the same data over 21 REST routes, the WebSocket and the CLI.
“Who is behind this address, and who funded it first? (paste an address)”
wallet_check wallet_first_funder“Which wallets made the most money this week, and what are they buying?”
wallet_discover wallet_positions“Label these 50 addresses and tell me which ones are exchanges.”
wallet_batch_labels“What happened in this transaction, and who are the two sides? (paste a hash)”
transaction_lookuphttps://data.vike.io/mcp
The same address for every client. Your key in X-API-KEY, or sign in with OAuth.
- Tools
- 29 for on-chain data
- Credential
- X-API-KEY or OAuth
- Cost
- 0 to 5 credits a call
Connect your client in a minute
Pick your client; the first tab needs no key.
1. Settings → Connectors → Add custom connector
2. Name: Vike URL: https://data.vike.io/mcp
3. Leave OAuth Client ID and Secret empty, click Add
4. Log into Vike in the tab that opens, click Allow
5. The Vike tools appear under the hammer icon
claude mcp add --transport http vike https://data.vike.io/mcp \
--header "X-API-KEY: $VIKE_API_KEY"
{
"mcpServers": {
"vike": {
"url": "https://data.vike.io/mcp",
"headers": { "X-API-KEY": "YOUR_KEY" }
}
}
}
Add a remote MCP server in ChatGPT's connector settings:
Server URL https://data.vike.io/mcp
Name vike
Credential OAuth sign-in, or X-API-KEY: vk_…
29 tools, grouped by the job they do
Each card: a question to copy, and the tools the agent calls for it, with their credits.
Find and describe a wallet
“Which wallets made the most money this month, and what do they hold now?”
Who is behind an address
“Whose wallet is 0x28c6c06298d514db089934071355e5743bf21d60, and where does that label come from?”
Follow the money
“Where did the money from this wallet go, two hops out, and who are those wallets?”
Tokens
“Who were the biggest PEPE buyers in the last 24 hours, and who holds the most of it?”
Watch it live
“Show every USDC transfer over $1,000,000 in the last hour.”
stream_info0 crstream_check_filter0 crstream_events1 crAlerts
“E-mail me every time this wallet moves more than $100,000.”
Every wallet and token tool, its parameters and a question to ask
What each tool returns, what it takes and where its answer stops.
Tools for wallet analytics on Ethereum, BSC, Base and HyperEVM. They divide into four jobs: describe one wallet (wallet_summary, wallet_transactions, wallet_token_balances, wallet_pnl_history, wallet_positions, wallet_check), find or connect wallets (wallet_discover, wallet_counterparties, wallet_trace, wallet_compare), name them (wallet_ens, wallet_batch_labels, wallet_label_provenance), and say where one came from and which exchanges it uses (wallet_first_funder, wallet_exchange_usage), plus one transaction (transaction_lookup).
Addresses are 0x-prefixed EVM hex throughout. Numeric parameters accept either a number or its string spelling — an agent that passes "30" instead of 30 is coerced, not rejected.
wallet_ens (Ethereum mainnet names) and wallet_label_provenance (Ethereum) are Ethereum only.
wallet_summary
- Cost
- 2 credits a call
A wallet's aggregate metrics: volume, inflow, outflow, net flow, transaction count and tokens traded, across the 24h / 7d / 30d / 90d / all windows. There is no window parameter — one call returns every window. Without chain the tool 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, so a dust transfer on another chain never changes the answer. Pass chain to ask for one chain. The chain field of the result says which chain answered.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed hex) |
chain | enum | — | Answer for this chain only (default: see the tool description) One of ethereum, bsc, base, hyperevm. |
wallet_discover
- Cost
- 2 credits a call
Top wallets ranked by a metric you choose — volume, inflow, outflow, net flow, transaction count, or realized PnL.
| Parameter | Type | Default | Notes |
|---|---|---|---|
window | enum | 30d; all on base and hyperevm | 24h, 7d, 30d, 90d, all. On base and hyperevm, all always works; the others only while that chain's window tables were refreshed within the last two days, otherwise a 400 |
sort | enum | volume | volume, inflow, outflow, net_flow, tx_count, pnl |
order | enum | desc | asc or desc |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
size | integer | 10 | Results per page, capped at 20 |
include_hubs | boolean | false | Also 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 |
Returns {"wallets": [...], "total": n}. Each row carries address, volume, inflow, outflow, net_flow, tx_count, tokens_traded, first_seen, last_active, realized_pnl, tokens_profitable and pnl_available — the USD columns already converted to whole dollars.
wallet_transactions
- Cost
- 2 credits a call
The raw per-wallet transfer list — single transactions, not aggregates. This is the forensic tool: use it when the question is "show me the actual transfers", not "how much did this wallet do".
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
direction | enum | all | in, out, all |
days | integer | 30 | Days back, max 365 |
limit | integer | 50 | Max transactions, max 500 |
min_usd | number | 0 | Drop dust below this USD value |
token_address | string | — | Restrict to one token |
min_amount | number | — | Only 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 error. With min_usd, both must hold. Omit for no floor |
max_amount | number | — | Only 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 error. With min_usd, both must hold. Omit for no ceiling |
Returns per transfer: time, tx_hash, from, to, token_address, value_usd, direction, block.
wallet_token_balances
- Cost
- 3 credits a call
Current balances for a wallet on ethereum, bsc, base and hyperevm — the chain's native coin and its ERC-20 tokens — read from the chain at request time. Token holdings below $1 are filtered by default; the native coin is listed whatever the floor.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed) |
chains | array | ethereum, bsc, base, hyperevm | Chains to scan; only these four are served, and all four are scanned by default. Any other chain is reported in chain_errors |
min_usd | number | 1 | Drop token holdings below this USD value; the native coin is listed whatever the floor when non-zero |
Returns one row per holding: chain, symbol, balance, USD value, USD price.
On base and hyperevm, symbol, name, balance and usd_value exist only for tokens we map and price (about 170 on base, about 50 on hyperevm). Any other token the wallet holds is listed only with min_usd=0 (the default floor of $1 keeps priced tokens only): then it carries its contract address and balance_raw, and those four fields are null. Native balances (ETH, BNB, HYPE) are priced and counted in total_usd; their usd_value and usd_price are null only where we hold no price for the coin. hyperevm means the HyperEVM chain only: assets in HyperCore (spot or perp accounts) are not included.
Pair it with wallet_label_provenance for institutional context.
wallet_pnl_history
- Cost
- 2 credits a call
A daily net-flow series for a wallet — per-day net inflow USD, plus cumulative net flow, gross volume and transaction count.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
days | integer | 30 | Days back, max 365 |
wallet_counterparties
- Cost
- 2 credits a call
Top trading partners of a wallet by combined transfer volume.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
window | enum | 30d | 24h, 7d, 30d, 90d, 180d, all |
limit | integer | 10 | Max counterparties, max 50 |
Returns per counterparty: address, total volume, amount sent and received, transaction count, first and last seen, and labels where known. Labels come from the requested chain's own label table, not Ethereum's.
wallet_trace
- Cost
- 4 credits a call
Follows a wallet's money hop by hop: at each hop it expands to the top N counterparties by USD volume and repeats, returning the nodes and edges of the resulting graph. direction picks which money: out where it went, in where it came from, both (the default) either way, ranked by the two summed.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Root wallet to trace from |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
depth | integer | 2 | Hops to follow, 1–5 |
width | integer | 5 | Top N counterparties per hop, 1–10 |
window | enum | 30d | 24h, 7d, 30d, 90d, all |
min_usd | number | 10000 | Minimum USD per transfer to follow |
direction | enum | both | out = where funds went, in = where they came from, both = either (default both) One of both, out, in. |
Cost grows with depth × width, and so does noise. Lowering min_usd on a busy wallet widens the graph fast; the $10k floor exists to keep a trace legible.
wallet_compare
- Cost
- 3 credits a call
Asks whether two wallets are related, by intersecting what they touched: shared counterparties (addresses both wallets transacted with) and shared tokens (tokens both wallets traded) inside one window.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address_a | string | required | First wallet |
address_b | string | required | Second wallet |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
window | enum | 30d | 24h, 7d, 30d, 90d, 180d, all |
limit | integer | 10 | Max shared items per category, max 50 |
An overlap is evidence, not proof — two wallets that both used a large exchange share that counterparty with everyone else.
wallet_ens
- Cost
- 1 credit a call
Reverse ENS lookup: an address in, a name like vitalik.eth out, or null when the address has no ENS name set.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | EVM address (0x-prefixed, 42 chars) |
wallet_batch_labels
- Cost
- 2 credits a call
Bulk enrichment: labels plus a 30-day summary for many addresses in one call. Rows come back in input order, so a pasted CSV keeps its shape.
| Parameter | Type | Default | Notes |
|---|---|---|---|
addresses | array | required | Wallet addresses (0x-prefixed), max 100 |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
Returns one row per input address: entity, wallet_type, risk_flag, 30-day net flow, 30-day volume, 30-day transaction count.
chain selects which chain's labels and transfers are read: ethereum, bsc, base and hyperevm each read their own. The four 30-day fields (net_30d_usd, volume_30d_usd, tx_30d, tokens_30d_count) are computed live over the last 30 calendar days, the same window as the 30-day figures of wallet_summary, on every chain. They are null only for an address with no label (found: false); a labelled wallet with no transfer in the window reads 0. A wallet flagged exploit is typed flagged, never cex. hyperevm has labels for only a few hundred wallets.
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 under source: "provider_e"), whatever the chain. It never changes entity, wallet_type or found, so an address only provider_e knows is found: false with a provider_e list.
wallet_label_provenance
- Cost
- 1 credit a call
The full label cascade for one Ethereum wallet, with per-source attribution: several third-party label providers and Vike's heuristic classifier, plus a consensus entity and type.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed hex) |
Use this when the answer matters enough that who says so matters: a single consensus label hides whether seven sources agreed or one source guessed.
Source provider_e covers addresses that are, control or funded Polymarket wallets (pm_wallet, pm_owner, pm_funder, with the wallets' count, volume, realized PnL and the largest one's public name), and the addresses that paid many of them (bridges, exchanges, reward payers). Its basis says whether a claim is read from the chain (onchain_fact) or inferred from behaviour, and it answers for an address met on any chain. It never feeds the consensus, and found is true when any source knows the address.
wallet_first_funder
- Cost
- 2 credits a call
The earliest inbound transfers of a wallet, as two separate answers read from our own transfer tables: first_native_in, the first plain send of the chain's coin, and first_token_in, the first priced token transfer. Each carries the sender, the sender's label, the time, the transaction hash, the block and the amounts. The two are kept apart on purpose: a wallet is often funded in coin and first touched by a token, and one tool answering "the funder" would hide which.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm; read from that chain's own transfer and label tables |
min_native | number | 0.0001 | Dust floor for the native coin in whole coins (ETH, BNB or HYPE; 0.01 is 0.01 coin, not wei). 0 means no floor: the very first inbound, probing dust included |
min_usd | number | 1 | Floor for the token side in USD. Tokens priced below it, or not priced, are skipped; 0 includes unpriced tokens, which are mostly spam |
Returns {address, chain, found, first_native_in, first_token_in, coverage}. first_native_in has from, label, wallet_type, label_confidence, time, tx_hash, block, amount (whole coins), amount_symbol, amount_wei (exact, as a string) and amount_usd; first_token_in has the same with token_address, symbol and amount in whole tokens. amount_usd is plain dollars and is null where we hold no price (an Ethereum transfer from 2015, a token we do not price), never 0. A side with no inbound that clears its floor is null; found is false when both are.
coverage.history_from (on 2026-10-19 it was 2015-08-07 on ethereum, 2020-11-06 on bsc, 2023-06-15 on base and 2025-02-18 on hyperevm). A sender's label is the label table's consensus entity with its label_confidence. On hyperevm, protocol system addresses appear as senders and come back with wallet_type system and no entity name, and labels there are sparse, so an unlabelled sender says little.An address with a very long history can take several seconds; if a read does not finish in 20 seconds the call is refused with a message saying to retry or to pass min_native=0 and min_usd=0.
wallet_exchange_usage
- Cost
- 3 credits a call
Which centralised exchanges a wallet sent to and received from over a window, computed per request from the wallet's transfers joined to the addresses the chain's label table marks as exchanges. For each exchange: USD sent to it and received from it, transfer counts, first and last contact, how many of its addresses were involved, and how sure the labels are.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm; read from that chain's own transfer and label tables |
window | enum | 365d | 30d, 90d, 180d, 365d, all. A very active wallet over a long window is refused with a message to narrow it |
Returns {address, chain, window, found, activity, exchanges, pattern, pattern_basis, coverage}. activity totals the wallet's priced transfers with every counterparty, exchange or not (sent_usd, recv_usd, transfers, counterparties), so a share can be checked. Each row of exchanges has entity, sent_usd, recv_usd (plain dollars: sent is wallet to exchange, received is exchange to wallet), sent_share (the exchange's part of all outgoing USD), transfers, sent_transfers, recv_transfers, first_seen, last_seen, addresses, label_confidence (counts of the pipeline's high, medium and unrated) and label_sources (counts of addresses labelled by a third-party provider and by our own heuristic; an address can count in both). found is false when the wallet has no priced transfer in the window.
pattern is "sweeps_to_single_cex" when at least 90% of the wallet's outgoing USD in the window went to one exchange over at least three outgoing transfers. It describes the transfers; it does not say the address is a deposit address or that the exchange operates it. Exchange figures are a lower bound: an exchange address we have not labelled is invisible here, and hyperevm has labels for only a few hundred wallets, so an empty exchanges there says little. Only priced transfers count, and native rows are top-level sends, so a payout routed through a contract call shows only if it emits token transfers.wallet_positions
- Cost
- 2 credits a call
A wallet's per-token positions with real profit and loss on one chain: bought and sold quantity and USD, average buy and sell price, realized PnL, the balance read from the chain now, the latest price, the current value and unrealized PnL. totals sum every token the wallet traded, not only the rows returned.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet address (0x-prefixed) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
sort | enum | realized | realized, unrealized, value; positions with an unknown value sort last |
order | enum | desc | asc lists the biggest losses first |
limit | integer | 20 | At most 100; totals always cover every token |
Returns {address, chain, as_of, totals, positions}. Realized PnL is average cost over the wallet's priced transfers: only units that were bought are realized, and the chain's coin and its wrapped token are one position. as_of is when the wallet's lifetime total was last recomputed (updated nightly at 04:00 UTC).
wallet_check
- Cost
- 5 credits a call
Everything we know about one address in one call: ENS name, labels per chain and where each came from, transfer counts per chain, the code at the address, token details when it is a token contract, the earliest inbound transfers and the centralised exchanges it used on each chain it is active on, and its Hyperliquid, Polymarket and Predict.fun identity. summary lists plain facts read off those blocks.
| Parameter | Type | Default | Notes |
|---|---|---|---|
address | string | required | Wallet or contract address (0x-prefixed) |
chain | enum | every active chain | Reads the earliest inbound transfers and exchanges on this chain only |
summary never says "safe" or "risky". A block missing from the answer could not be read; an empty block means we looked and found nothing. The first inbound transfer is not proof of who funded the wallet, and exchange figures are a lower bound.transaction_lookup
- Cost
- 2 credits a call
What happened in one transaction: status, block, time, sender and receiver with their labels, the coin sent at the top level, gas used and the fee, and every token transfer in it with the labelled sender and receiver, the amount and its USD value at the transaction's minute.
| Parameter | Type | Default | Notes |
|---|---|---|---|
tx_hash | string | required | 0x followed by 64 hex characters |
chain | enum | ethereum | ethereum, bsc, base, hyperevm; a hash looks the same on every chain, so pass the one it was sent on |
Returns {found, chain, tx_hash, status, block, time, from, to, value, fee, token_transfers}. Each USD value carries usd_basis; NFT transfers and internal transfers made by contract calls are not listed.
Tools covering the token side of the on-chain data: find a token, screen the universe by activity, then look at who holds it and who has been trading it. All of them work on Ethereum, BSC, Base and HyperEVM.
There are no per-contract price candles — see Candles. The tools below read our own transfer index.
Token tools other than token_search are keyed by contract address, not symbol — start with a search when the user gives you a ticker.
token_search
- Cost
- 0 credits a call
Search tokens by name or symbol.
| Parameter | Type | Default | Notes |
|---|---|---|---|
query | string | required | Search term (symbol or name) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
limit | integer | 10 | Max results |
Returns matching symbols, names, addresses and logos. Addresses are 0x-prefixed lower-case hex, as in every other token and wallet tool; until 2026-10-19 they came back as bare hex. Because it costs nothing, it is the natural first hop for every other tool on this page. On hyperevm the registry it searches holds about 50 tokens, so no match there can mean the token is not in it.
token_screener
- Cost
- 3 credits a call
Discover tokens by activity inside a window, ranked by one of four metrics, with three filters on top. This is the "what is happening today" tool.
| Parameter | Type | Default | Notes |
|---|---|---|---|
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
window | enum | 24h | 24h, 7d, 30d, 90d |
sort | enum | volume | volume, net_inflow, holders, smart_inflow |
limit | integer | 20 | Max tokens, max 100 |
min_volume_usd | number | — | Drop tokens below this 24h volume |
min_holders | integer | — | Drop tokens below this holder count |
smart_money_only | boolean | false | Restrict to smart-money cohort flows |
smart_inflow and smart_money_only are two different knobs: the first ranks by cohort inflow, the second filters the universe to cohort flows. Combining them narrows hard. Both exist for ethereum only; on any other chain they are a 400.
token_holders
- Cost
- 2 credits a call
Top holders of an ERC-20 token, ranked by cumulative net inflow USD.
| Parameter | Type | Default | Notes |
|---|---|---|---|
token_address | string | required | ERC-20 contract address (0x-prefixed) |
chain | enum | ethereum | ethereum, bsc, base, hyperevm |
limit | integer | 10 | Max holders, max 50 |
sort | enum | flow | flow = cumulative net inflow USD (default); balance = balance from indexed transfers One of flow, balance. |
exclude_exchanges | boolean | false | Drop wallets labelled as an exchange (default false) |
Returns per holder: wallet, net flow USD, volume USD, transaction count, first and last seen dates, and known labels.
The ranking is by net inflow measured from transfer history, so it answers "who accumulated the most" rather than "who holds the largest balance on chain right now".
The tool scans the whole chain for the token, so the busiest tokens on base take tens of seconds (WETH on base measured about 50 seconds; a token on hyperevm about 2 seconds).
token_transfers
- Cost
- 2 credits a call
The top net buyers or net sellers of a token in a period, ranked by net USD, with quantities and USD values.
| Parameter | Type | Default | Notes |
|---|---|---|---|
token_address | string | required | Contract address (0x-prefixed) |
period | enum | 24h | 1h, 24h, 7d, 30d |
tab | enum | sold | bought for net buyers (bought more than sold), sold for net sellers |
chain | enum | ethereum | ethereum, bsc, base, hyperevm, all |
hide_contracts | boolean | false | true leaves out the contracts we know of, as the website's "Hide pools & routers": labelled pools, routers, vaults, bridges and staking contracts, and code that bought and sold within 1% of each other. Code is checked only for the wallets our pages rank, so another contract can remain |
min_amount | number | — | Count 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 only those transfers and a wallet ranks on them alone. Omit for no floor |
max_amount | number | — | Count 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 only those transfers and a wallet ranks on them alone. Omit for no ceiling |
Three things to know. The default tab is sold, so a question about buyers needs bought passed explicitly. A wallet that only passes the token through (a router, a pool: bought about equal to sold) is left out, and net_usd is usd_received - usd_spent, so a net buyer's is negative; a row can still be a contract, and hide_contracts removes the labelled ones and pass-through code. And the result size is fixed at the top 10 in the handler — there is no limit parameter to raise.
On-chain CLI: vike-data
The same data from a terminal, and the command your coding agent runs. Open source, on npm.
npm install -g @vike-io/cli # Node.js 22.12 or newer
vike-data init # paste your key once
vike-data doctor # key, endpoint and tools in one check
vike-data wallet summary 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
vike-data wallet balances 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --min-usd 1000
vike-data labels 0x28c6c06298d514db089934071355e5743bf21d60
vike-data wallet discover --window 7d --sort net_flow
vike-data token holders 0x6982508145454ce325ddbe47a25d4ec3d2311933 --limit 20
vike-data token transfers 0x6982508145454ce325ddbe47a25d4ec3d2311933 --period 24h --tab bought
vike-data stream onchain --channel chain.transfers --filter min_usd=1000000
vike-data install --claude # the vike skill for Claude Code
vike-data install --all # Claude, Cursor, Copilot, AGENTS.md
- 19 on-chain commands:
token search,token transfers,token screener,token holders,wallet summary,wallet transactions,wallet compare,wallet trace,wallet batch,wallet counterparties,wallet pnl-history,wallet balances,wallet ens,wallet discover,wallet first-funder,wallet exchange-usage,labels,stream onchain,alerts. vike-data call <tool> --args '{…}'runs any MCP tool by name, the ones with no command of their own too.vike-data install --claudeadds the skill that teaches Claude Code to use the CLI.- Package
@vike-io/cli0.17.0.
The live on-chain channel
Every transfer as it lands, filtered on the server.
wss://stream.vike.io/v1/stream/onchain: chain.transfers, filtered by wallet, token, chain, min_usd, min_amount, entity, wallet_type, contract. Your agent reads what it sent with stream_events. Filters, a real event and code → A script catches up over REST: /stream-events.21 routes under /v1/onchain
Blockchain data API reference: every /v1/onchain route for Ethereum, BNB Chain, Base and HyperEVM — wallets, transactions, labels and tokens — with its parameters, its limits and a request to copy in cURL, Python, the CLI or MCP. Base URL https://data.vike.io/v1, one header, 21 routes. Every route is also an MCP tool, named on its card.
Three steps to the first request
- Sign in at vike.io
Any account. No card, no plan to pick.
- Create a key
On
/account?tab=api-keys. Up to 3 active keys per account; every key startsvk_. - Send the header
X-API-KEY: vk_…on every request. Or skip the code:vike-data initin the CLI, or connect MCP.
Look up a wallet
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet summary 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
# any MCP client; or from the terminal:
vike-data call wallet_summary --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}'
- One call: the wallet's volume, inflow, outflow, net flow and transfer count over 24 hours, 7, 30 and 90 days and all time.
- Addresses are
0x+ 40 hex digits in any case; the answers spell them in lower case. chainis a filter, not a path:ethereum,bsc,baseorhyperevm.- Every route is also an MCP tool, named on its card below.
One ceiling per key
| Requests | 20,000 per hour, per key, a rolling hour |
|---|---|
| Per minute | 200 per minute, per key, on /v1 |
| Keys | Up to 3 active per account; each key is its own budget |
| Cost of a call | 1 per REST request; MCP tools 0 to 5 credits |
| Price | Free plan; paid plans from $29 a month: Pricing |
Status codes
| Status | Meaning | Body |
|---|---|---|
| 400 | The input was rejected: an unknown chain, a malformed address, or a window or sort the chain does not serve. | {"detail": "…"} |
| 401 | A missing, invalid or deactivated key. | Turned away before the API runs, so the body can be an HTML page. Do not assume JSON. |
| 404 | No such route. | {"detail": "Not Found"} |
| 410 | The stream catch-up: a cursor older than the events kept; the answer names the oldest cursor it accepts. | {"detail": "…"} |
| 422 | A parameter failed validation: the wrong type, or outside the bounds the route declares. | {"detail": [ … ]} |
| 429 | Over the hourly limit, or over 200 requests a minute on one key: wait the Retry-After seconds. | Retry-After: 60 (hourly) or Retry-After: 1 (per-minute) header, JSON error body |
| 503 | The data store or a chain read failed. Not your request: retry with back-off. | {"detail": "upstream unavailable"} |
- A failed query is never a 200 with an empty body. An empty list means there were no rows.
- The
/v1/onchainroutes run through a shared tool layer, which reports its own failures in-band — so an internal error there can arrive as a 400 carrying the error text. - MCP answers a bad credential with HTTP 401, a
WWW-Authenticate: Bearer resource_metadata=...header (where an OAuth client starts discovery) and a JSON-RPC error (-32000, Invalid or missing API key). A rate-limit trip there is a real 429. Check the body, not just the status.
What the field names do not tell you
/tokens/{token_address}/holders ranks wallets by their all-time net inflow of the token in USD unless you pass sort=balance; then it ranks by the balance read from the chain, with the USD value and the share of the supply. Holders →/wallets/{address}/pnl is a daily series of USD in minus USD out. Realized and unrealized profit per token is /wallets/{address}/positions.limit above a route's applied cap but within what it accepts is cut to the cap with no error; each parameter table names the cap.chain takes ethereum, bsc, base or hyperevm (Ethereum, BNB Chain, Base and HyperEVM), default ethereum. The screener's smart-money sort and filter are Ethereum only; label provenance answers for Ethereum addresses; on Base and HyperEVM wallet discovery defaults to window=all.chain you ask about; HyperEVM has few, so a miss there says little. risk_flag is an empty string on a clean row, and wallet_type describes behaviour, not ownership./wallets/{address}/first-funder returns the first coin and the first priced token a wallet received as two answers, either of which can be null; neither is proof of who funded it.Request builder: 20 GET routes
Pick a route; the parameters come filled with real addresses. The call is rebuilt as you type, and a captured route shows its real answer.
All 21 routes
Click a route to jump to its parameters and a call you can copy.
Wallet routes
What a wallet holds and made, who is behind it, who it deals with, and the wallets worth following.
Wallet Summary
- Route
GET /v1/onchain/wallets/{address}- CLI
vike-data wallet summary- MCP
wallet_summary· 2 credits- Cost
- 1 credit, one request of the hourly limit
Aggregate metrics for one wallet — volume, inflow, outflow, net flow, transaction count and tokens traded, across the 24h / 7d / 30d / 90d / all windows in a single response. tokens_traded counts the distinct tokens moved within each window. chain in the response says which chain answered.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address, 0x-prefixed hex |
chain | query | ethereum | bsc | base | hyperevm. Omit for the more recently active of ethereum and bsc; base or hyperevm is then answered only for a wallet with no priced ethereum/bsc volume |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet summary 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
# any MCP client; or from the terminal:
vike-data call wallet_summary --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}'
Wallet Positions
- Route
GET /v1/onchain/wallets/{address}/positions- CLI
- —
- MCP
wallet_positions· 2 credits- Cost
- 1 credit, one request of the hourly limit
A wallet's per-token positions with real profit and loss. Per token: bought and sold quantity and USD, average buy and sell price, realized PnL, the balance read from the chain now, the latest price, the current value and unrealized PnL (balance × (price − average buy price), null when either is unknown). Realized PnL is average cost over the wallet's priced inbound and outbound transfers: only units that were bought are realized, and the chain's coin and its wrapped token are one position under the zero address. totals sum every token the wallet traded; as_of is when its lifetime PnL in the wallet rankings was last recomputed (updated nightly at 04:00 UTC). For a daily net-flow series see /wallets/{address}/pnl.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address, 0x-prefixed hex |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
sort | query | realized | unrealized | value. Default realized. Positions whose value is unknown sort last |
order | query | desc (biggest first) | asc (biggest losses first). Default desc |
limit | query | Positions returned. Default 20, max 100. totals always cover every token |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/positions?sort=value&limit=10"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/positions?sort=value&limit=10",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
# any MCP client; or from the terminal:
vike-data call wallet_positions --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "sort": "value", "limit": 10}'
Wallet Token Balances
- Route
GET /v1/onchain/wallets/{address}/balances- CLI
vike-data wallet balances- MCP
wallet_token_balances· 3 credits- Cost
- 1 credit, one request of the hourly limit
Current token balances for a wallet on Ethereum, BSC, Base and HyperEVM, read from the chain at request time, with a USD value where the token is priced. On base and hyperevm only the tokens we map and price carry a symbol, balance and USD value; any other held token is listed by address and balance_raw only with min_usd=0. HyperCore (spot and perp accounts) is not included.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address, 0x-prefixed, exactly 42 characters |
chains | query | Comma-separated. ethereum, bsc, base and hyperevm; the aliases eth, mainnet, bnb and binance are accepted. Omit for all four. Any other chain is reported in chain_errors; a chain whose read failed is listed there too and not in chains_scanned. |
min_usd | query | Hide holdings worth less than this. Omitted resolves to 1 (USD); an explicit 0 filters nothing and lists every holding. ⚠ Any floor above 0 also excludes holdings we cannot price, since an unpriced holding cannot be shown to clear it. The chain's native coin is the exception: it is always listed (when its balance is not zero), priced where a price exists, whatever the floor. |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/balances?min_usd=1000"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/balances?min_usd=1000",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet balances 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --min-usd 1000
# any MCP client; or from the terminal:
vike-data call wallet_token_balances --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "min_usd": 1000}'
Wallet PnL History
- Route
GET /v1/onchain/wallets/{address}/pnl- CLI
vike-data wallet pnl-history- MCP
wallet_pnl_history· 2 credits- Cost
- 1 credit, one request of the hourly limit
A daily net-flow series for the wallet — per-day net inflow USD, a cumulative figure, gross volume and transaction count.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
days | query | Days back. Default 30, clamped to the range 1–365 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/pnl?days=90"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/pnl?days=90",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet pnl-history 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --days 90
# any MCP client; or from the terminal:
vike-data call wallet_pnl_history --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "days": 90}'
Wallet Discover
- Route
GET /v1/onchain/wallets/discover- CLI
vike-data wallet discover- MCP
wallet_discover· 2 credits- Cost
- 1 credit, one request of the hourly limit
Leaderboard of active wallets. Every USD value is in plain dollars. realized_pnl and tokens_profitable are lifetime figures in every window (realized_pnl_basis: "lifetime"), so sort=pnl ranks by lifetime PnL whatever window is.
Parameters
| Parameter | In | Description |
|---|---|---|
window | query | 24h | 7d | 30d | 90d | all. Default 30d; base and hyperevm default to all and serve the other windows only while those windows were refreshed in the last 2 days, otherwise a 400 |
sort | query | volume | inflow | outflow | net_flow | tx_count | pnl. Default volume |
order | query | asc | desc. Default desc |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
size | query | Results per page. Default 10, max 20 — one of the two routes in this namespace whose accepted and applied caps agree, alongside /tokens/search |
include_hubs | query | Boolean, default false. Also rank round-trip hubs (flash-loan, MEV and router pass-through wallets: volume of $10B or more, with net flow and realized PnL each within 0.1% of it), which are hidden by default |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/discover?window=7d&sort=net_flow&size=10"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/discover?window=7d&sort=net_flow&size=10",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet discover --window 7d --sort net_flow --size 10
# any MCP client; or from the terminal:
vike-data call wallet_discover --args '{"window": "7d", "sort": "net_flow", "size": 10}'
Wallet ENS
- Route
GET /v1/onchain/wallets/{address}/ens- CLI
vike-data wallet ens- MCP
wallet_ens· 1 credit- Cost
- 1 credit, one request of the hourly limit
Reverse ENS lookup — turn an address into vitalik.eth. Returns null where the address has no ENS name set.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address, 0x-prefixed, exactly 42 characters |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/ens"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/ens",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet ens 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
# any MCP client; or from the terminal:
vike-data call wallet_ens --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}'
Wallet Check
- Route
GET /v1/onchain/wallets/{address}/check- CLI
- —
- MCP
wallet_check· 5 credits- Cost
- 1 credit, one request of the hourly limit
Everything we know about one address in one call: its ENS name, labels per chain, which source claimed what (Ethereum) and where each other chain's label came from (label_origins: third_party, model, cross_chain or unknown), transfer counts per chain, the code found at the address, token details when it is a token contract, the earliest inbound transfers and the centralised exchanges it used on each chain it is active on, and its Hyperliquid, Polymarket and Predict.fun identity. summary lists plain facts read off those blocks, never a verdict such as "safe". A block missing from the answer could not be read; an empty block means we looked and found nothing. first_funder is not proof of who funded the wallet, and exchange figures are a lower bound (the coverage of each says why).
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet or contract address, 0x-prefixed hex, 42 characters |
chain | query | ethereum | bsc | base | hyperevm. Reads first_funder and exchanges on this chain only. Default: every chain the address has transfers on |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0x28c6c06298d514db089934071355e5743bf21d60/check?chain=ethereum"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0x28c6c06298d514db089934071355e5743bf21d60/check?chain=ethereum",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
# any MCP client; or from the terminal:
vike-data call wallet_check --args '{"address": "0x28c6c06298d514db089934071355e5743bf21d60", "chain": "ethereum"}'
Wallet First Funder
- Route
GET /v1/onchain/wallets/{address}/first-funder- CLI
vike-data wallet first-funder- MCP
wallet_first_funder· 2 credits- Cost
- 1 credit, one request of the hourly limit
The earliest inbound transfers of a wallet, as two separate answers: first_native_in (the first plain send of the chain's coin) and first_token_in (the first priced token transfer), each with the sender, its label, time, transaction hash, block and amounts. Not proof of who funded the wallet: native rows hold top-level sends only, and history starts on a different date per chain (coverage).
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address, 0x-prefixed hex |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum. Read from that chain's own transfer and label tables |
min_native | query | Dust floor for the native coin, in whole coins (ETH, BNB or HYPE; 0.01 is 0.01 coin, not wei). Inbound native transfers below it are skipped. Omitted resolves to 0.0001; an explicit 0 means no floor and returns the very first inbound, probing dust included |
min_usd | query | Floor for the token side, in USD. Token transfers priced below it, or with no USD price, are skipped. Omitted resolves to 1; an explicit 0 means no floor and includes unpriced tokens (mostly spam) |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/first-funder"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/first-funder",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet first-funder 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
# any MCP client; or from the terminal:
vike-data call wallet_first_funder --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"}'
Wallet Exchange Usage
- Route
GET /v1/onchain/wallets/{address}/exchange-usage- CLI
vike-data wallet exchange-usage- MCP
wallet_exchange_usage· 3 credits- Cost
- 1 credit, one request of the hourly limit
Which centralised exchanges a wallet sent to and received from over a window: USD sent and received, transfer counts and first and last contact per exchange, plus pattern: "sweeps_to_single_cex" when at least 90% of the wallet's outgoing USD went to one exchange across at least 3 transfers. The pattern is observed, not a claim that the address is a deposit address, and exchange figures are a lower bound.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address, 0x-prefixed hex |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum. hyperevm has few labels, so a miss there says little |
window | query | 30d | 90d | 180d | 365d | all. Default 365d. A very active wallet over a long window is a 400 naming this parameter: narrow it |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/exchange-usage?window=90d"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/exchange-usage?window=90d",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet exchange-usage 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --window 90d
# any MCP client; or from the terminal:
vike-data call wallet_exchange_usage --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "window": "90d"}'
Wallet Counterparties
- Route
GET /v1/onchain/wallets/{address}/counterparties- CLI
vike-data wallet counterparties- MCP
wallet_counterparties· 2 credits- Cost
- 1 credit, one request of the hourly limit
The addresses this wallet transacted with most, by combined transfer volume over a window.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
window | query | 24h | 7d | 30d | 90d | 180d | all. Default 30d |
limit | query | Route default 100; applied cap 50 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/counterparties?window=90d&limit=10"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/counterparties?window=90d&limit=10",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet counterparties 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 --window 90d --limit 10
# any MCP client; or from the terminal:
vike-data call wallet_counterparties --args '{"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "window": "90d", "limit": 10}'
Wallet Compare
- Route
GET /v1/onchain/wallets/compare- CLI
vike-data wallet compare- MCP
wallet_compare· 3 credits- Cost
- 1 credit, one request of the hourly limit
Are these two wallets related? Returns the counterparties both wallets transacted with and the tokens both touched, within a window.
Parameters
| Parameter | In | Description |
|---|---|---|
address_arequired | query | First wallet |
address_brequired | query | Second wallet |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
window | query | 24h | 7d | 30d | 90d | 180d | all. Default 30d |
limit | query | Max shared items per category. Route default 100; applied cap 50 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/compare?address_a=0x28c6c06298d514db089934071355e5743bf21d60&address_b=0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4&window=30d&limit=10"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/compare?address_a=0x28c6c06298d514db089934071355e5743bf21d60&address_b=0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4&window=30d&limit=10",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet compare 0x28c6c06298d514db089934071355e5743bf21d60 0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4 --window 30d --limit 10
# any MCP client; or from the terminal:
vike-data call wallet_compare --args '{"address_a": "0x28c6c06298d514db089934071355e5743bf21d60", "address_b": "0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4", "window": "30d", "limit": 10}'
Transactions and the money trail
A wallet's transfers, one transaction by its hash, and the money followed hop by hop.
Wallet Transactions
- Route
GET /v1/onchain/wallets/{address}/transactions- CLI
vike-data wallet transactions- MCP
wallet_transactions· 2 credits- Cost
- 1 credit, one request of the hourly limit
The raw transfer list for a wallet: individual transfers, not aggregates. The forensic route. Each row carries the token's symbol and amount in whole tokens (the amount min_amount and max_amount filter on; null when the token's decimals are unknown) beside its USD value.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
direction | query | in | out. Omit for both directions |
days | query | Days back. Default 30, clamped to 365 |
min_usd | query | Drop transfers below this USD value. Default 0 |
token_address | query | Restrict to a single token contract |
min_amount | query | Only transfers of at least this many tokens, in whole tokens (not raw units), up to 1e18. Needs token_address: an amount across different tokens means nothing, so without it this is a 400, as it is when that token's decimals are unknown. With min_usd, both must hold |
max_amount | query | Only transfers of at most this many tokens, in whole tokens, up to 1e18. Same rules as min_amount; a max_amount below min_amount is a 400 |
limit | query | Route default 100; applied cap 500 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4/transactions?days=30&token_address=0xdac17f958d2ee523a2206206994597c13d831ec7&limit=50"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4/transactions?days=30&token_address=0xdac17f958d2ee523a2206206994597c13d831ec7&limit=50",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet transactions 0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4 --token 0xdac17f958d2ee523a2206206994597c13d831ec7 --days 30 --limit 50
# any MCP client; or from the terminal:
vike-data call wallet_transactions --args '{"address": "0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4", "token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7", "days": 30, "limit": 50}'
Transaction Lookup
- Route
GET /v1/onchain/transactions/{tx_hash}- CLI
- —
- MCP
transaction_lookup· 2 credits- Cost
- 1 credit, one request of the hourly limit
What happened in one transaction: status (success, failed, pending; unknown for Ethereum transactions before October 2017), block, time, from and to with their labels, the coin sent at the top level (value: whole coins, wei and USD), gas used and the fee, and every ERC-20 transfer in it (token_transfers: token, symbol, decimals, from and to with labels, amount in whole tokens and raw, USD). Each USD value carries usd_basis: transfer_time (the price at the transaction's minute) or latest_daily_price (only for a transaction from the last 24 hours not priced yet); null means no price. NFT transfers and internal transfers made by contract calls are not listed. found: false when the hash does not exist on that chain.
Parameters
| Parameter | In | Description |
|---|---|---|
tx_hashrequired | path | Transaction hash: 0x followed by 64 hex characters. Anything else is a 400 |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum. A hash looks the same on every chain: pass the one it was sent on |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/transactions/0x0e4fdf7d3742366a474d7fc6baa538e4cad839eaa95f2c798403bd47deb795db"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/transactions/0x0e4fdf7d3742366a474d7fc6baa538e4cad839eaa95f2c798403bd47deb795db",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
# any MCP client; or from the terminal:
vike-data call transaction_lookup --args '{"tx_hash": "0x0e4fdf7d3742366a474d7fc6baa538e4cad839eaa95f2c798403bd47deb795db"}'
Wallet Trace
- Route
GET /v1/onchain/wallets/{address}/trace- CLI
vike-data wallet trace- MCP
wallet_trace· 4 credits- Cost
- 1 credit, one request of the hourly limit
Follow the money — expand at each hop to the top counterparties by USD volume, outward, inward or both, up to a chosen depth. Every node carries label, wallet_type and risk_flag (null when the address is unlabelled).
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Root wallet to trace from |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
depth | query | Hops to follow. Default 2, clamped to 1–5 |
width | query | Top N counterparties per hop. Default 5, clamped to 1–10 |
window | query | 24h | 7d | 30d | 90d | all. Default 30d; anything else is a 400 |
min_usd | query | Minimum USD per transfer to follow. Default 10,000 |
direction | query | out (where funds went) | in (where they came from) | both. Default both; anything else is a 400 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/wallets/0x47666fab8bd0ac7003bce3f5c3585383f09486e2/trace?depth=2&width=3&window=all&min_usd=100000"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/wallets/0x47666fab8bd0ac7003bce3f5c3585383f09486e2/trace?depth=2&width=3&window=all&min_usd=100000",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet trace 0x47666fab8bd0ac7003bce3f5c3585383f09486e2 --depth 2 --width 3 --window all --min-usd 100000
# any MCP client; or from the terminal:
vike-data call wallet_trace --args '{"address": "0x47666fab8bd0ac7003bce3f5c3585383f09486e2", "depth": 2, "width": 3, "window": "all", "min_usd": 100000}'
Label routes
Who is behind many addresses at once, and where one label comes from.
Wallet Batch Labels
- Route
POST /v1/onchain/labels/batch- CLI
vike-data wallet batch- MCP
wallet_batch_labels· 2 credits- Cost
- 1 credit, one request of the hourly limit
Enrich a list of addresses in one call: entity, wallet type, risk flag, 30-day net flow, 30-day volume and 30-day transaction count, one row per input address in input order. The 30-day figures are live (the last 30 calendar days, the same window as the wallet summary) and are null only for an address with no label (found: false); a labelled wallet with no transfer in the window reads 0. An address flagged exploit is never typed cex. A row whose address source provider_e knows also carries provider_e: a list of that source's labels (class, entity, basis, evidence, the Polymarket wallets it is, controls or funded, their volume and realized PnL), on every chain, since an address is the same on every EVM chain. It is one more source beside the label: it never changes entity, wallet_type or found.
Parameters
| Parameter | In | Description |
|---|---|---|
addressesrequired | query | Comma-separated addresses. Capped at 100 |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum. Labels and the 30-day flows are read from that chain's own tables. Any other name is a 400 |
Call it
curl -X POST -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/labels/batch?addresses=0x28c6c06298d514db089934071355e5743bf21d60,0xd8da6bf26964af9d7eed9e03e53415d37aa96045,0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4"
import os, requests
r = requests.post(
"https://data.vike.io/v1/onchain/labels/batch?addresses=0x28c6c06298d514db089934071355e5743bf21d60,0xd8da6bf26964af9d7eed9e03e53415d37aa96045,0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data wallet batch 0x28c6c06298d514db089934071355e5743bf21d60 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4
# any MCP client; or from the terminal:
vike-data call wallet_batch_labels --args '{"addresses": ["0x28c6c06298d514db089934071355e5743bf21d60", "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4"]}'
Wallet Label Provenance
- Route
GET /v1/onchain/labels/{address}/provenance- CLI
vike-data labels- MCP
wallet_label_provenance· 1 credit- Cost
- 1 credit, one request of the hourly limit
Which source claimed what about this wallet. Degrades to fewer rows rather than erroring while one of its label sources is being refreshed. Source provider_e covers Polymarket wallets, the addresses that control or funded them, and the addresses that paid many of them (bridges, exchanges, reward payers), with basis (onchain_fact, or behaviour_inferred / behaviour_corroborated for a guess from behaviour), evidence, and for a wallet, controller or funder the wallets' count, volume and realized PnL. It never feeds consensus. found is true when any source knows the address, so an address only provider_e knows answers found: true with an all-null consensus.
Parameters
| Parameter | In | Description |
|---|---|---|
addressrequired | path | Wallet address, 0x-prefixed hex |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/labels/0x28c6c06298d514db089934071355e5743bf21d60/provenance"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/labels/0x28c6c06298d514db089934071355e5743bf21d60/provenance",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data labels 0x28c6c06298d514db089934071355e5743bf21d60
# any MCP client; or from the terminal:
vike-data call wallet_label_provenance --args '{"address": "0x28c6c06298d514db089934071355e5743bf21d60"}'
Token routes
Find a token, screen tokens, see who bought, sold and holds one.
Token Search
- Route
GET /v1/onchain/tokens/search- CLI
vike-data token search- MCP
token_search· 0 credits- Cost
- 1 credit, one request of the hourly limit
Resolve a symbol or name to the tokens we know about. token_address is 0x-prefixed lower-case hex, the spelling every other address in this namespace uses.
Parameters
| Parameter | In | Description |
|---|---|---|
qrequired | query | Symbol or name (case-insensitive); an exact symbol ranks first, then symbol prefix, symbol substring, name prefix. A contract address is not matched |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum. Any other name is a 400 |
limit | query | Default 10, max 100 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/tokens/search?q=Wrapped+Ether&limit=5"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/tokens/search?q=Wrapped+Ether&limit=5",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data token search "Wrapped Ether" --limit 5
# any MCP client; or from the terminal:
vike-data call token_search --args '{"query": "Wrapped Ether", "limit": 5}'
Token Screener
- Route
GET /v1/onchain/tokens/screener- CLI
vike-data token screener- MCP
token_screener· 3 credits- Cost
- 1 credit, one request of the hourly limit
Find tokens by activity within a window — rank by volume, net inflow, holder count or smart- money inflow.
Parameters
| Parameter | In | Description |
|---|---|---|
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
window | query | 24h | 7d | 30d | 90d. Default 24h |
sort | query | volume | net_inflow | holders | smart_inflow. Default volume. smart_inflow is ethereum only |
min_volume_usd | query | Drop tokens below this window volume |
min_holders | query | Drop tokens below this holder count |
smart_money_only | query | Boolean. Restrict to smart-money cohort flows. ethereum only: any other chain is a 400 |
limit | query | Route default 50; applied cap 100 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/tokens/screener?limit=10"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/tokens/screener?limit=10",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data token screener --limit 10
# any MCP client; or from the terminal:
vike-data call token_screener --args '{"limit": 10}'
Token Transfers
- Route
GET /v1/onchain/tokens/{token_address}/transfers- CLI
vike-data token transfers- MCP
token_transfers· 2 credits- Cost
- 1 credit, one request of the hourly limit
Who bought and who sold a token over a period — the top net buyers or the top net sellers, ranked by net USD, with quantities and USD values.
Parameters
| Parameter | In | Description |
|---|---|---|
token_addressrequired | path | Token contract address, 0x-prefixed |
period | query | 1h | 24h | 7d | 30d. Default 24h |
tab | query | bought (net buyers: bought more than sold) | sold (net sellers). Default sold |
chain | query | ethereum | bsc | base | hyperevm | all. Default ethereum |
hide_contracts | query | true leaves out the contracts we know of: wallets labelled as a pool, router, vault, bridge or staking contract, and addresses with contract code that bought and sold within 1% of each other (pass-through). Contract code is checked only for the wallets our pages rank, so a contract outside that set can still appear; one that mostly buys or sells (a vault, a smart wallet) stays. Default false |
min_amount | query | Count only transfers of at least this many tokens, in whole tokens (not raw units), up to 1e18. Applied to each transfer before a wallet's totals are summed: bought, sold and the USD columns add up only those transfers, and a wallet ranks on them alone |
max_amount | query | Count only transfers of at most this many tokens, in whole tokens, up to 1e18, applied per transfer like min_amount. A max_amount below min_amount is a 400 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/transfers?period=24h&chain=ethereum"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/transfers?period=24h&chain=ethereum",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data token transfers 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 --period 24h --chain ethereum
# any MCP client; or from the terminal:
vike-data call token_transfers --args '{"token_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "period": "24h", "chain": "ethereum"}'
Token Holders
- Route
GET /v1/onchain/tokens/{token_address}/holders- CLI
vike-data token holders- MCP
token_holders· 2 credits- Cost
- 1 credit, one request of the hourly limit
The holder leaderboard for a token: by default ranked by cumulative net inflow USD, or by balance with sort=balance.
Parameters
| Parameter | In | Description |
|---|---|---|
token_addressrequired | path | Token contract address, 0x-prefixed |
chain | query | ethereum | bsc | base | hyperevm. Default ethereum |
limit | query | Route default 50; applied cap 50 |
sort | query | flow | balance. Default flow: ranked by cumulative net inflow USD (a flow, not a holding). balance: ranked by the on-chain balanceOf among candidate wallets chosen by net inflow and by volume, highest first; each row then also carries balance, value_usd, supply_pct, balance_basis, balance_approximate and candidate_coverage (how much of the supply the candidates explain). Not available on every chain (a 400 names it); for the native coin the ranking stays flow and every row says balance_basis: unsupported |
exclude_exchanges | query | Boolean. Drop wallets labelled as an exchange. On sort=flow it is applied to the top 200 candidates (at least), so a long list can come back shorter than limit |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/holders?chain=ethereum&limit=10"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/holders?chain=ethereum&limit=10",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
vike-data token holders 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 --chain ethereum --limit 10
# any MCP client; or from the terminal:
vike-data call token_holders --args '{"token_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "chain": "ethereum", "limit": 10}'
Live stream catch-up
The stored events of the live chain.transfers channel, for what a socket missed.
Stream catch-up
- Route
GET /v1/onchain/stream-events- CLI
- —
- MCP
stream_events· 1 credit- Cost
- 1 credit, one request of the hourly limit
Stored events of one live-stream channel after a cursor, oldest first: the REST catch-up of wss://stream.vike.io/v1/stream/onchain, for what a client missed while it was disconnected (events are kept 3 days). Pass the channel's filters as query parameters, as on the socket: a list as a comma list (wallet=0x..,0x..), a number as a number (min_usd=1000); an unknown filter, or one the channel does not take, is a 400 naming it.
Channels and their filters:
- chain.transfers: chain, contract, entity, min_amount, min_usd, token, wallet, wallet_type
Returns {events: [{cursor, event}], next_cursor, has_more}. event is exactly what the socket sent, so dedupe on event.event_id. Pass next_cursor back as cursor while has_more is true. A window in which the channel was idle (nobody subscribed) comes as an item {cursor, gap} in its place. A cursor older than the retention is a 410 naming the oldest cursor accepted; omit cursor to start there.
chain here takes the stream's chain names: eth, bsc, base, hyperevm.
Live, the same events arrive on the socket: vike-data stream onchain --channel chain.transfers. Filters, a real event and code: Whale alerts.
Parameters
| Parameter | In | Description |
|---|---|---|
channelrequired | query | chain.transfers |
cursor | query | next_cursor of the previous page or the cursor of a stream frame. Empty: the oldest retained event |
limit | query | Default 200, clamped to 1-1000 |
Call it
curl -H "X-API-KEY: $VIKE_API_KEY" \
"https://data.vike.io/v1/onchain/stream-events?channel=chain.transfers&limit=50"
import os, requests
r = requests.get(
"https://data.vike.io/v1/onchain/stream-events?channel=chain.transfers&limit=50",
headers={"X-API-KEY": os.environ["VIKE_API_KEY"]},
)
print(r.json())
# any MCP client; or from the terminal:
vike-data call stream_events --args '{"channel": "chain.transfers", "limit": 50}'
Alert rules, webhooks and the alert feed
Create and manage transfer alerts from your AI, send them to a signed webhook, read what they fired.
Tools for alert rules: rules that fire when a transfer happens on chain. Unlike every other tool on this page, these write to your account — they are the only ones that change state.
Transfer alerts (alert_type transfer, the default) watch eth, bsc, base or hyperevm: a token crossing a USD threshold, or a given wallet sending or receiving. See Watching a wallet. The same tools also make Hyperliquid and Polymarket alerts; their types, cohorts and limits are on the Alerts reference.
What constrains a rule, all of it stated by the tools themselves:
- One chain per transfer alert. Passing two silently watches only the first, with no error to tell you the second was dropped. Watching both means creating two alerts.
- Two kinds of threshold on transfers. A USD value (
min_value_usdat least,max_value_usdat most) and, for an alert on onetoken_symbol, a size in whole tokens (min_amountat least). Set together, both must hold. - One wallet per alert, as a 20-byte EVM address (
0xand 40 hex characters). An ENS name, an entity name ("Binance 14") or a non-EVM address is refused, not resolved. - The type is fixed once created.
alerts_editchanges a rule's parameters, never its type. - Delivery is email, a signed webhook, and the feed that every rule fills. Discord alerts are temporarily off. See Where an alert goes.
Alerts belong to the authenticated user, and every tool enforces ownership: you can only list, edit or delete your own. Both credentials resolve to a user, so an API key and an OAuth token reach the same alerts. The same rules can be made under Account → Alerts, with the same checks, and the two always agree on what a rule means. Every tool here is also a REST route under /v1/alerts, on the same code and at the same price: Alerts API.
alerts_list
- Cost
- 0 credits a call
Lists your alert rules. Active only by default.
| Parameter | Type | Default | Notes |
|---|---|---|---|
include_inactive | boolean | false | Include paused and soft-deleted alerts |
Returns {"alerts": [...]}, one row each with id, label, alert_type, chain, token_symbol, min_value_usd, max_value_usd, min_amount, address_conditions, cooldown_minutes, max_triggers_day, notify_channel_ids, is_active, created_at, policy, hl and pm.
address_conditionsis a list of{"role": "from" | "to" | "any", "address": "0x…"}, empty when the alert watches no wallet; an alert made on the website can carry both afromand atoaddress, which is why it is a list.policysays how often the rule notifies:per_event,cooldownorhysteresis(see How often a rule notifies). It isnullfor a rule that cannot run, for example one whose coin Hyperliquid has delisted.hlandpmarenullfor a transfer alert; for a Hyperliquid or Polymarket alert they hold its parameters (Alerts reference).
This is also how you get an alert_id — alerts_edit and alerts_delete both need one, and neither accepts a label.
alerts_list_channels
- Cost
- 0 credits a call
Your enabled notification channels. No parameters.
Returns {"channels": [...]} with {id, channel_type, is_verified, label} per row. channel_type is email or webhook; a Discord connection is not listed, because Discord alerts are off. A webhook is is_verified: true once a delivery to it got a 2xx answer: an alert, or a test (at registration, or with alerts_test_webhook); webhooks registered before this check existed (early November 2026) show true regardless. An unverified webhook still receives its alerts.
Call it before creating an alert. A transfer alert that names a channel you have not set up is still created, and because it then has no channel of its own its notifications go to your account's email address. A Hyperliquid or Polymarket alert that names a webhook you have not registered is refused, so a rule is never left silent by accident.
alerts_create
- Cost
- 3 credits a call
Creates an alert rule. Below, a transfer alert; the same tool creates the Hyperliquid and Polymarket types, whose parameters are on the Alerts reference.
| Parameter | Type | Default | Notes |
|---|---|---|---|
label | string | required | The alert's user-visible name |
alert_type | enum | transfer | transfer for an on-chain alert, or a Hyperliquid or Polymarket type. Fixed once created |
token_symbol | string | — | Transfer alerts: the token's ticker in UPPERCASE (USDC, ETH, PEPE) |
chain | enum | eth | Transfer alerts only: eth, bsc, base or hyperevm, single value. Leave it out for a Hyperliquid alert |
min_value_usd | number | — | Transfer alerts: fire when the transfer's USD value is at least this |
max_value_usd | number | — | Transfer alerts only: fire only when the transfer's USD value is at most this |
min_amount | number | — | Transfer alerts with a token_symbol only: fire when the transfer moves at least this many whole tokens (1000000 USDT, 0.5 ETH), priced or not. With a USD bound as well, both must hold. A token whose decimals we do not know never matches it |
address | string | — | Transfer alerts only: one wallet to watch, 0x and 40 hex characters |
address_role | enum | any | Transfer alerts only: any (sent or received), from (it sent) or to (it received); needs address |
channels | array | — | ["email"], ["webhook"] or both (see Where an alert goes). Discord is refused |
cooldown_minutes | integer | 60 | Token-wide transfer alerts only (no address): the minimum gap between notifications, floor of 1. Every other kind ignores it |
The Hyperliquid and Polymarket parameters (wallet, condition_id, actions, pnl_cohorts, size_cohorts, index, threshold, band, direction, side, events) are on the Alerts reference.
Returns {"alert": {...}} — the new row in the shape alerts_list uses, including its id and its policy. A request the checks refuse comes back as {"error": "..."} and nothing is created; see When a rule is refused.
A parameter that the type does not read is an error, never ignored: a rule that quietly lacked the filter you typed would alert on the wrong thing. alert_type is transfer unless you say otherwise, so chain defaults to eth.
alerts_edit
- Cost
- 2 credits a call
A partial update: only the fields you pass change.
| Parameter | Type | Default | Notes |
|---|---|---|---|
alert_id | integer | required | Required. From alerts_list. |
label | string | — | Same meaning as in alerts_create |
token_symbol | string | — | Same meaning as in alerts_create |
chain | string | — | Same meaning as in alerts_create |
min_value_usd | number | — | Same meaning as in alerts_create |
max_value_usd | number | — | Same meaning as in alerts_create |
min_amount | number | — | Same meaning as in alerts_create; min_amount: "" or 0 removes the size floor |
channels | array | — | Same meaning as in alerts_create |
cooldown_minutes | integer | — | Same meaning as in alerts_create |
address | string | — | Same rules as in alerts_create. address replaces the alert's wallet condition; address: "" removes it; address_role alone moves the existing address to that side |
address_role | enum | — | Same rules as in alerts_create. address replaces the alert's wallet condition; address: "" removes it; address_role alone moves the existing address to that side |
is_active | boolean | — | false pauses the alert without deleting it |
An edit that leaves address out keeps the wallet condition as it was, and address without address_role keeps the current side (any when the alert had no wallet). A rejected address changes nothing, including the other fields in the same call.
An edit that changes what a rule matches (token, chain, thresholds, wallet) starts the rule afresh: it reports events from that moment on and never replays earlier ones. The same holds when you turn a paused rule back on. Changing the label, the channels or cooldown_minutes does not restart anything. Editing a Hyperliquid or Polymarket alert: Alerts reference.
alerts_delete
- Cost
- 2 credits a call
Removes an alert.
| Parameter | Type | Default | Notes |
|---|---|---|---|
alert_id | integer | required | The alert to delete |
hard | boolean | false | true removes permanently; the default pauses and keeps history |
Returns {"ok": true, "alert_id": ..., "hard": ...} on success. A soft delete is the same state as is_active: false, so an alert deleted this way still appears under alerts_list with include_inactive: true and can be re-enabled with alerts_edit. A hard delete also removes the rule's events from the feed.
alerts_register_webhook
- Cost
- 2 credits a call
Registers an HTTPS webhook as a delivery channel. Vike POSTs signed JSON to the URL when your alerts fire, and once right away: a signed test event, whose result comes back in the answer.
| Parameter | Type | Default | Notes |
|---|---|---|---|
url | string | required | Webhook URL, https:// only, reachable from Vike's servers |
secret | string | — | Your own HMAC secret, 16 characters or more. Leave it out and Vike generates one |
Returns {"ok": true, "channel_id": ..., "channel_type": "webhook", "url_preview": "...", "signed": true, "test": {...}}, plus secret and secret_note when Vike generated the secret.
- The secret can be shown again. A generated
secretis in this answer, and you can show it again at any time on Account → Alerts → Channels (the Show secret button), so losing it does not require a rotation.alerts_rotate_webhook_secretissues a new one when you want one. A secret you passed yourself is not repeated back in this answer. - The test send. Right after the channel is stored, Vike POSTs one
testevent to the URL, signed and built like a real delivery:alert_id0,alert_labelWebhook test,alert_typeandevent.kindtest, and anevent.event_idoftest:and 32 hex characters, new for every test.testis{"ok": true, "status": 200}for a 2xx answer,{"ok": false, "status": 401}for any other answer, or{"ok": false, "error": "timeout"}(alsonetwork,ssrf_refused, …) when none came. A failing test does not refuse the channel. Because the test is signed with the new secret, a receiver that checks signatures answers 401 or 403 until it has it: install the secret, then callalerts_test_webhook. The whole call, address check and test included, takes at most about 20 seconds. https://only for a new URL. A webhook registered overhttp://before keeps working.- On the MCP server and over REST (
POST /v1/alerts/channels/webhooks) only. The vike.io Ask AI chat does not register, rotate or test webhooks: a signing secret must not pass through a chat that stores the conversation.
The channel is yours and works for every rule you point at it.
The body
Every rule type sends one envelope: schema (vike.alert.v1), alert_id, alert_label, alert_type, triggered_at and event, the event that matched. A transfer also carries the flat keys the first webhook format had (chain, token, value_usd, from_address, to_address, tx_hash), so an old receiver keeps working. The envelope, a complete example and the shape of every event kind are on Alert feed and webhooks.
Verifying a delivery
The signing is Stripe-style. Each POST carries:
Content-Type: application/json
User-Agent: vike-alerts/1.0
X-Vike-Timestamp: <unix epoch seconds>
X-Vike-Signature: t=<ts>,sig=<hex hmac>[,sig=<hex hmac>]
X-Vike-Event-Id: <event_id>
X-Vike-Attempt: <1 for the first try>
X-Vike-Delivery-Id: <this delivery's id, the same on every try>
Compute HMAC-SHA256(secret, "<t>.<raw body>") with the t= of the header (the same value as X-Vike-Timestamp), hex-encode it, and compare it in constant time against every sig= value: accept the delivery if any of them matches. The header carries one sig= per valid secret: one normally, two for the 24 hours after a secret rotation (the new secret's first). A receiver that compares only one value rejects deliveries during those 24 hours. Check the raw bytes you received, before any JSON parser has touched them. Reject the delivery if the timestamp is more than about five minutes old — that is what stops a captured request being replayed.
Verify a delivery
import hashlib
import hmac
import time
def verify(secret: str, raw_body: bytes, signature_header: str, tolerance_s: int = 300) -> bool:
"""raw_body is the request body bytes exactly as received (do not re-serialise the JSON).
Hostile input (a non-ASCII sig, `t=²`, 5000 digits, a lone surrogate, no header) is a False, never an exception."""
try:
parts = [p.split("=", 1) for p in signature_header.split(",") if "=" in p]
ts = next((v for k, v in parts if k == "t"), "")
if not ts.isdecimal() or len(ts) > 12 or abs(time.time() - int(ts)) > tolerance_s: # replay window
return False
want = hmac.new(secret.encode(), f"{ts}.".encode() + raw_body, hashlib.sha256).hexdigest().encode()
return any(hmac.compare_digest(want, v.encode()) for k, v in parts if k == "sig") # ANY sig= may match
except (ValueError, TypeError, AttributeError, OverflowError): # UnicodeError is a ValueError
return False
Every webhook registered now has a secret. A channel registered earlier without one is signed with an empty key, which proves nothing: give it a secret with alerts_rotate_webhook_secret.
Test webhooks on your own computer
To try a receiver before it is deployed, run it on localhost and expose it with a tunnel such as ngrok or cloudflared. Register the tunnel's https:// address as a webhook with alerts_register_webhook, and deliveries arrive on your machine. A tunnel's address is public for as long as it runs, so when you are done remove the channel under Account → Alerts → Channels, or rotate its secret.
Or skip the tunnel and send yourself the events you already have. This script reads your own alert feed, GET /v1/alerts/events, and POSTs each event to a local URL with the body and the headers of a real delivery, signed with your webhook's secret, so the verifier above accepts it. Set VIKE_API_KEY and VIKE_WEBHOOK_SECRET; TARGET_URL is http://localhost:8000/webhook unless you set it.
Forward your alerts to localhost
import hashlib
import hmac
import json
import os
import sys
import time
from datetime import datetime
import requests
API = os.environ.get("VIKE_API_BASE", "https://data.vike.io")
KEY, SECRET = os.environ["VIKE_API_KEY"], os.environ["VIKE_WEBHOOK_SECRET"]
TARGET = os.environ.get("TARGET_URL", "http://localhost:8000/webhook")
STATE, EVERY = "vike_forward.cursor", 5 # the cursor file; seconds between polls (720 requests an hour)
def delivery(row):
"""The body and the headers a real webhook delivery of this feed row carries."""
ev = row["event"]
body = {"schema": "vike.alert.v1", "alert_id": row["rule_id"], "alert_type": row["alert_type"], "event": ev,
"alert_label": row["alert_label"] or f"alert #{row['rule_id']}",
"triggered_at": datetime.fromisoformat(ev["ts"].replace("Z", "+00:00")).isoformat()}
if ev["kind"] == "transfer": # the flat keys of the earlier webhook format
who, data = ev["subject"], ev["data"]
bare = lambda v: v.lower().removeprefix("0x") if isinstance(v, str) else v
usd = data.get("value_usd")
body.update(chain=ev["chain"], token=who.get("token_symbol") or "", value_usd=None if usd is None else float(usd),
from_address=bare(who.get("from")), to_address=bare(who.get("to")),
tx_hash=bare(who.get("tx_hash") or data.get("tx_hash")))
raw = json.dumps(body, sort_keys=True, separators=(",", ":")).encode()
ts = int(time.time())
sig = hmac.new(SECRET.encode(), f"{ts}.".encode() + raw, hashlib.sha256).hexdigest()
hook = next((d["id"] for d in row["delivery"] if d["channel"] == "webhook"), 0)
return raw, {"Content-Type": "application/json", "User-Agent": "vike-alerts/1.0", "X-Vike-Timestamp": str(ts),
"X-Vike-Signature": f"t={ts},sig={sig}", "X-Vike-Event-Id": ev["event_id"],
"X-Vike-Attempt": "1", "X-Vike-Delivery-Id": str(hook)}
cursor = open(STATE).read().strip() if os.path.exists(STATE) else ""
sent = set()
while True:
try:
more = True
while more: # a page that says there is more is read at once
r = requests.get(f"{API}/v1/alerts/events", headers={"X-API-Key": KEY},
params={"cursor": cursor, "limit": 500}, timeout=20)
r.raise_for_status()
page = r.json()
for row in page["events"]:
if row["id"] not in sent:
raw, headers = delivery(row)
status = requests.post(TARGET, data=raw, headers=headers, timeout=20).status_code
sent.add(row["id"])
print(row["event"]["event_id"], status, flush=True)
cursor, more = page["next_cursor"], page["has_more"]
open(STATE, "w").write(cursor)
except (requests.RequestException, KeyError, ValueError) as e:
print("error", type(e).__name__, file=sys.stderr, flush=True) # the next poll tries again
time.sleep(EVERY)
- Steady and inside the limits. It asks the feed every 5 seconds: 720 requests an hour and 12 a minute, against the 20,000 an hour and 200 a minute the API publishes. Each call is one credit.
- It keeps its cursor in
vike_forward.cursor, so a restart continues where it stopped. The first run forwards everything the feed still holds, up to 15 days; delete the file to forward it all again. Within one run nothing is forwarded twice. After a restart the page it was on can be sent again, which a receiver that dedupes onalert_idandevent.event_id(see below) drops. - It prints each forwarded event's id and the status your receiver answered, and nothing else; a failed call prints only the error's class name. The key and the secret are read from the environment and never printed.
- Two headers are filled in as best they can be.
X-Vike-Delivery-Idis the id of the event's webhook delivery in the feed (0when the rule has no webhook channel), andX-Vike-Attemptis always1.
Retries and duplicates
- Answer with any 2xx within 20 seconds. That is one budget for the whole try: the address lookup, the connection, TLS, the request and your response's status line. After it the try is a
timeout. A redirect is not followed and counts as a failure. - One delivery at a time per webhook. Vike never has two POSTs open to the same channel, and a slow or hanging endpoint delays only its own deliveries, never another channel's.
- A failed delivery is tried again after 30 seconds, then after twice as long each time, up to an hour between tries, and given up on after 72 hours. A webhook that keeps failing is paused for a growing interval, at most 5 minutes, so one dead URL does not slow your other channels, and after three failures in a row Vike emails you once a day about it.
- A
429with aRetry-Afterheader (seconds or an HTTP date) pauses that webhook for at least that long; the next try is never sooner, and never later than the 72 hours. - Delivery is at least once. A send that was cut off can arrive twice, so dedupe on the rule and the event:
alert_idandevent.event_idfrom the body (one event can match two of your rules, and each sends its own delivery). That pair is the replay-safe key, because the body is what the signature covers.X-Vike-Delivery-Ididentifies the delivery too, but no header is signed: a captured request replayed inside the 5-minute window with a changed header still verifies, so dedupe on the header only alongside the body pair. A delivery sent again withalerts_resend_deliverykeeps itsX-Vike-Delivery-Idand counts on inX-Vike-Attempt. Events are not guaranteed to arrive in the order they happened. - Every delivery to a webhook, with its status, tries, last error and a Send again button, is listed under Account → Alerts → Webhook log for 15 days.
alerts_rotate_webhook_secret
- Cost
- 2 credits a call
Issues a new signing secret for one of your webhook channels.
| Parameter | Type | Default | Notes |
|---|---|---|---|
channel_id | integer | required | The webhook channel, its id from alerts_list_channels |
Returns {"ok": true, "channel_id": ..., "secret": "...", "secret_note": "...", "previous_secret_valid_until": "..."}. The new secret is in this answer, like a generated one at registration, and can be shown again on Account → Alerts → Channels (Show secret).
For 24 hours after a rotation the old secret keeps signing as well: every delivery carries two sig= values, the new secret's first, until previous_secret_valid_until. A receiver that accepts a delivery when any sig= matches (the verifier above) keeps working while you swap the secret; one that compares a single value rejects deliveries for those 24 hours. Rotating again inside them ends the first overlap. A channel that had no secret rotates without an overlap (previous_secret_valid_until is null, one sig=). Install the new secret, then check it with alerts_test_webhook.
Another user's channel, an email channel and an id that does not exist all answer webhook channel not found.
alerts_test_webhook
- Cost
- 1 credit a call
Sends the signed test event to one of your webhook channels again — for example after your receiver installed a new secret.
| Parameter | Type | Default | Notes |
|---|---|---|---|
channel_id | integer | required | The webhook channel, its id from alerts_list_channels |
Returns {"ok": true, "channel_id": ..., "test": {...}}, with test as at registration: {"ok", "status"} when the endpoint answered (ok for a 2xx), else {"ok": false, "error": ...}. The event is signed like a real delivery, with the current secret and, inside a rotation's 24 hours, the previous one too. Its X-Vike-Delivery-Id is its test: event id, new for every test. Nothing is queued, retried or stored. The same webhook channel not found as for a rotation.
alerts_events
- Cost
- 1 credit a call
Reads the events your alert rules have produced, oldest first. To follow the feed, pass the returned next_cursor back as cursor.
| Parameter | Type | Default | Notes |
|---|---|---|---|
cursor | string | — | The previous page's next_cursor, passed back unchanged. Omit it for the oldest retained event |
limit | integer | 100 | Events per page, 1 to 500 |
rule_id | integer | — | Only the events of this alert (its id from alerts_list). It must be a positive id; anything else is an error rather than a read of every rule |
Returns {"events": [...], "next_cursor": "...", "has_more": false}. Each event carries id, rule_id, alert_label, alert_type, created_at, event (what happened) and delivery: one item per channel it went to, with the delivery's id (what alerts_resend_delivery takes), channel, channel_key, status, attempts, last_attempt_at, next_attempt_at (while it waits) and last_error as a code: http 500, timeout, network, tls, blocked, expired or error. An empty page returns the same cursor, so a poller keeps it and asks again. An event is in the feed as soon as it is recorded, before its email or webhook goes out. Events and their deliveries are kept for 15 days, and only your own alerts appear.
It is the same feed as GET /v1/alerts/events; the fields, the paging rules and every event shape are on Alert feed and webhooks.
alerts_resend_delivery
- Cost
- 1 credit a call
Sends one of your deliveries again: the webhook or email of an event that failed, expired, or was lost on your side.
| Parameter | Type | Default | Notes |
|---|---|---|---|
delivery_id | integer | required | The delivery's id, from an event's delivery list in alerts_events |
Returns {"id": ..., "status": "retry", "result": "queued"}. result is queued (it will be tried at once), already_queued (it was already waiting for a try; nothing changed) or sending (a try is under way right now).
- Any status, up to 15 days after the event. A delivery that had already closed (sent, expired, skipped) gets a fresh 72 hours of retries.
- It goes out with the same event, the same
X-Vike-Delivery-Id, a new signature and the nextX-Vike-Attempt, and is then retried like any delivery. queuedis a request, not a promise: the sender checks the rule and the channel again, so a delivery whose rule is paused or whose channel is disabled or deleted is skipped again, and a paused webhook delays the try.- An error, and no credit, for a delivery that is not yours or does not exist (the same answer for both), one whose event is older than 15 days (and, once the prune removed it, the same "does not exist"), and an
unsupportedone (its channel cannot carry that kind of event, so it would fail the same way). - Over REST it is
POST /v1/alerts/deliveries/{id}/resend, and on the website the Send again button of Account → Alerts → Webhook log.
How often a rule notifies
policy in alerts_list is fixed by the rule's type. A transfer alert is one of two:
policy | Rules | What it does |
|---|---|---|
per_event | a transfer alert with an address | One notification for every matching event. No cooldown and no daily cap; cooldown_minutes is ignored. A busy wallet or a low floor is a flood, so set a floor |
cooldown | a transfer alert without an address (token-wide) | At most one notification per cooldown_minutes (default 60) and 10 a day, naming the newest matching transfer |
Every event, whatever the policy, is kept in the feed for 15 days. An account can have up to 200 active alerts in all, of any kinds; the 201st is refused with "You can have up to 200 active alerts. Pause or delete one first.", when you create it and when you turn a paused one back on.
Watching a wallet
address and address_role ask for a transfer that involves one wallet: from matches a transfer the wallet sent, to one it received, any either. Stored on the alert exactly as the website's alert form stores it (from_address, to_address or any_address in the alert's notes), so an alert made here opens and edits correctly under Account → Alerts, and the reverse.
What the match is, and is not:
- A transfer row, any token. The alert compares the address with the sender and receiver of each recorded transfer on the alert's chain: native coin and token transfers alike. With no
token_symbolevery token counts, spam and dust tokens included. - Every match notifies. An alert with an
addressisper_event: one notification for each matching transfer, with no cooldown and no daily cap, so a busy wallet with no threshold is a flood that nothing throttles. min_value_usdis optional, and it changes what matches. With it, only transfers that already carry a USD value at or above it match, so an unpriced token never does. Without it, every transfer touching the address matches, priced or not.max_value_usdis an upper bound on the same value and likewise needs a priced transfer.min_amount(with atoken_symbol) is a floor in whole tokens that needs no price.- Not supported. An ENS name or an entity label as the address; a non-EVM address; two wallets on one alert; "any wallet in this group". Create one alert per wallet and per chain.
- Not the same as a wallet's balance or PnL. The alert looks at individual transfers; it does not know a wallet's net position.
A token-wide transfer alert (no address) is the cooldown policy above: one notification per cooldown, for the newest matching transfer, at most 10 a day.
Where an alert goes
- Email — a transfer alert's goes to the verified email channels you list, and a transfer alert with no channel at all emails your account's address.
- Webhook — any alert. Register one with
alerts_register_webhookon the MCP server, orPOST /v1/alerts/channels/webhooks. The body, the signature and the retries are underalerts_register_webhook; every delivery is listed, with a Send again button, under Account → Alerts → Webhook log. - The feed — every rule, whatever else it does. Each event is kept for 15 days and read with
alerts_eventsorGET /v1/alerts/events.
These are the only channels. Discord alerts are temporarily off: channels cannot name Discord, an existing Discord connection is kept, and a rule whose only channel was Discord still records its events in the feed and your alert history but notifies nowhere until you give it an email or webhook channel.
How soon an alert arrives
| Alert | Checked | Arrives |
|---|---|---|
transfer | after each pricing run, about every 5 minutes | About 1 to 6 minutes after the block, once it is priced; later when the chain copy is behind |
Treat this as monitoring rather than as a trading trigger for anything that depends on seconds. A rule only sees events from the moment it was created, turned on or last changed. A transfer is checked once our pricing has run over its block, so a USD condition sees every token we have a price for; a token with no price never matches one. If pricing stops for 15 minutes, transfers are checked without waiting (about ten minutes after the block), and a transfer priced later is not reported.
When a rule is refused
A request the checks refuse returns {"error": "..."} in the tool result (the website form shows the same text in a red notice), nothing is created or changed, and the call is not billed. Each message says what to change.
| You asked for | The tool says |
|---|---|
| an address that is not a 20-byte EVM address | address '…' is not a 20-byte EVM address: pass '0x' + 40 hex characters. ENS names, entity names and non-EVM addresses (Solana, Bitcoin) are not supported. |
a token the transfer alert's chain does not have (its native coin, ETH on eth, is accepted) | No token BTC on eth: an alert on it could never fire. Did you mean WBTC? |
| Discord on any alert | Discord alerts are temporarily off … |
| a 201st active alert | You can have up to 200 active alerts. Pause or delete one first. |
wallet, index … on a transfer alert | … apply only to Hyperliquid and Polymarket alerts …; this is a transfer alert |
The website's alert form creates these alerts too (What to watch? at the top of the form). The Hyperliquid and Polymarket types, their checks and their messages are on the Alerts reference.