Get an API key
On-chain · AI & API

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.

Ask your AI · Claude, ChatGPT, CursorConnect in a minute →

“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_lookup
On-chain · MCP · Streamable HTTP

https://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
API key APIArchiveStreamMCP
Connect

Connect your client in a minute

Pick your client; the first tab needs no key.

text
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
MCP tools

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.

6 tools

Find and describe a wallet

“Which wallets made the most money this month, and what do they hold now?”

6 tools

Who is behind an address

“Whose wallet is 0x28c6c06298d514db089934071355e5743bf21d60, and where does that label come from?”

5 tools

Follow the money

“Where did the money from this wallet go, two hops out, and who are those wallets?”

4 tools

Tokens

“Who were the biggest PEPE buyers in the last 24 hours, and who holds the most of it?”

3 tools

Watch it live

“Show every USDC transfer over $1,000,000 in the last hour.”

stream_info0 crstream_check_filter0 crstream_events1 cr
5 tools

Alerts

“E-mail me every time this wallet moves more than $100,000.”

Tool reference

Every wallet and token tool, its parameters and a question to ask

What each tool returns, what it takes and where its answer stops.

Wallets · 16 tools

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.

On-chain · MCP tool · Wallets

wallet_summary

Cost
2 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed hex)
chainenum—Answer for this chain only (default: see the tool description) One of ethereum, bsc, base, hyperevm.
Ask: “What has 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 been doing lately?”
On-chain · MCP tool · Wallets

wallet_discover

Cost
2 credits a call
API key APIArchiveStreamMCP

Top wallets ranked by a metric you choose — volume, inflow, outflow, net flow, transaction count, or realized PnL.

ParameterTypeDefaultNotes
windowenum30d; all on base and hyperevm24h, 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
sortenumvolumevolume, inflow, outflow, net_flow, tx_count, pnl
orderenumdescasc or desc
chainenumethereumethereum, bsc, base, hyperevm
sizeinteger10Results per page, capped at 20
include_hubsbooleanfalseAlso 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.

Ask: “Top 20 BSC wallets by realized PnL over the last 7 days.”
On-chain · MCP tool · Wallets

wallet_transactions

Cost
2 credits a call
API key APIArchiveStreamMCP

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".

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed)
chainenumethereumethereum, bsc, base, hyperevm
directionenumallin, out, all
daysinteger30Days back, max 365
limitinteger50Max transactions, max 500
min_usdnumber0Drop dust below this USD value
token_addressstring—Restrict to one token
min_amountnumber—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_amountnumber—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.

Ask: “List the last 100 outgoing transfers over $10k from 0xabc… on Base.”
On-chain · MCP tool · Wallets

wallet_token_balances

Cost
3 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed)
chainsarrayethereum, bsc, base, hyperevmChains to scan; only these four are served, and all four are scanned by default. Any other chain is reported in chain_errors
min_usdnumber1Drop 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.

Ask: “What tokens does this wallet hold right now on Ethereum, BSC, Base and HyperEVM?”
On-chain · MCP tool · Wallets

wallet_pnl_history

Cost
2 credits a call
API key APIArchiveStreamMCP

A daily net-flow series for a wallet — per-day net inflow USD, plus cumulative net flow, gross volume and transaction count.

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed)
chainenumethereumethereum, bsc, base, hyperevm
daysinteger30Days back, max 365
This is net inflow, not realized PnL. The tool's own description says so: true realized PnL would need weighted-average-cost accounting per token, which this series does not do. Read it as a directional indicator of whether a wallet has been accumulating or distributing, not as a profit figure.
Ask: “Plot the daily net flow of 0xabc… over the last 90 days.”
On-chain · MCP tool · Wallets

wallet_counterparties

Cost
2 credits a call
API key APIArchiveStreamMCP

Top trading partners of a wallet by combined transfer volume.

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed)
chainenumethereumethereum, bsc, base, hyperevm
windowenum30d24h, 7d, 30d, 90d, 180d, all
limitinteger10Max 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.

Ask: “Who does this wallet trade with most?”
On-chain · MCP tool · Wallets

wallet_trace

Cost
4 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredRoot wallet to trace from
chainenumethereumethereum, bsc, base, hyperevm
depthinteger2Hops to follow, 1–5
widthinteger5Top N counterparties per hop, 1–10
windowenum30d24h, 7d, 30d, 90d, all
min_usdnumber10000Minimum USD per transfer to follow
directionenumbothout = 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.

Ask: “Follow the money three hops out from 0xabc…, top 5 counterparties per hop.”
On-chain · MCP tool · Wallets

wallet_compare

Cost
3 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
address_astringrequiredFirst wallet
address_bstringrequiredSecond wallet
chainenumethereumethereum, bsc, base, hyperevm
windowenum30d24h, 7d, 30d, 90d, 180d, all
limitinteger10Max 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.

Ask: “Are 0xaaa… and 0xbbb… related? Compare them over 90 days.”
On-chain · MCP tool · Wallets

wallet_ens

Cost
1 credit a call
API key APIArchiveStreamMCP

Reverse ENS lookup: an address in, a name like vitalik.eth out, or null when the address has no ENS name set.

ParameterTypeDefaultNotes
addressstringrequiredEVM address (0x-prefixed, 42 chars)
Ask: “What is the ENS name for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?”
On-chain · MCP tool · Wallets

wallet_batch_labels

Cost
2 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressesarrayrequiredWallet addresses (0x-prefixed), max 100
chainenumethereumethereum, 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.

Ask: “Here are 60 addresses — label them and tell me which ones moved money this month.”
On-chain · MCP tool · Wallets

wallet_label_provenance

Cost
1 credit a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredWallet 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.

Ask: “Who labeled this address, and do the sources agree? Does it control a Polymarket wallet?”
On-chain · MCP tool · Wallets

wallet_first_funder

Cost
2 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed)
chainenumethereumethereum, bsc, base, hyperevm; read from that chain's own transfer and label tables
min_nativenumber0.0001Dust 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_usdnumber1Floor 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.

The first inbound we hold, not proof of who funded the wallet. Native rows hold top-level sends only. Coin moved by a contract call, a bridge relay or a batch payout is not in them, so the real first funding can be earlier than the one returned, and the sender may be an exchange or a relay rather than a person. History also starts on a different date per chain: read 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.

Ask: “Who first funded 0x556e9d5d9e64638edde632bbd4810c9fd0d88397, and was it an exchange?”
On-chain · MCP tool · Wallets

wallet_exchange_usage

Cost
3 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed)
chainenumethereumethereum, bsc, base, hyperevm; read from that chain's own transfer and label tables
windowenum365d30d, 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.

An observed pattern, and a lower bound. 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.
Ask: “Which exchanges does 0x556e9d5d9e64638edde632bbd4810c9fd0d88397 use, and does it sweep to one of them?”
On-chain · MCP tool · Wallets

wallet_positions

Cost
2 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredWallet address (0x-prefixed)
chainenumethereumethereum, bsc, base, hyperevm
sortenumrealizedrealized, unrealized, value; positions with an unknown value sort last
orderenumdescasc lists the biggest losses first
limitinteger20At 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).

Ask: “What are vitalik.eth's biggest losses on Ethereum, and what does he hold now?”
On-chain · MCP tool · Wallets

wallet_check

Cost
5 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
addressstringrequiredWallet or contract address (0x-prefixed)
chainenumevery active chainReads the earliest inbound transfers and exchanges on this chain only
Observations, never a verdict. 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.
Ask: “Who is behind 0x28c6c06298d514db089934071355e5743bf21d60, and where did its first coins come from?”
On-chain · MCP tool · Wallets

transaction_lookup

Cost
2 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
tx_hashstringrequired0x followed by 64 hex characters
chainenumethereumethereum, 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.

Ask: “What moved in transaction 0x0e4fdf7d3742366a474d7fc6baa538e4cad839eaa95f2c798403bd47deb795db?”
Tokens · 4 tools

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.

On-chain · MCP tool · Tokens

token_screener

Cost
3 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
chainenumethereumethereum, bsc, base, hyperevm
windowenum24h24h, 7d, 30d, 90d
sortenumvolumevolume, net_inflow, holders, smart_inflow
limitinteger20Max tokens, max 100
min_volume_usdnumber—Drop tokens below this 24h volume
min_holdersinteger—Drop tokens below this holder count
smart_money_onlybooleanfalseRestrict 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.

Ask: “What tokens have smart money been accumulating on Ethereum this week?”
On-chain · MCP tool · Tokens

token_holders

Cost
2 credits a call
API key APIArchiveStreamMCP

Top holders of an ERC-20 token, ranked by cumulative net inflow USD.

ParameterTypeDefaultNotes
token_addressstringrequiredERC-20 contract address (0x-prefixed)
chainenumethereumethereum, bsc, base, hyperevm
limitinteger10Max holders, max 50
sortenumflowflow = cumulative net inflow USD (default); balance = balance from indexed transfers One of flow, balance.
exclude_exchangesbooleanfalseDrop 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).

Ask: “Show me the top 25 holders of this token, with labels.”
On-chain · MCP tool · Tokens

token_transfers

Cost
2 credits a call
API key APIArchiveStreamMCP

The top net buyers or net sellers of a token in a period, ranked by net USD, with quantities and USD values.

ParameterTypeDefaultNotes
token_addressstringrequiredContract address (0x-prefixed)
periodenum24h1h, 24h, 7d, 30d
tabenumsoldbought for net buyers (bought more than sold), sold for net sellers
chainenumethereumethereum, bsc, base, hyperevm, all
hide_contractsbooleanfalsetrue 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_amountnumber—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_amountnumber—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.

Ask: “Who has been buying LINK in the last 24 hours?”
CLI

On-chain CLI: vike-data

The same data from a terminal, and the command your coding agent runs. Open source, on npm.

bash
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
  • 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 --claude adds the skill that teaches Claude Code to use the CLI.
  • Package @vike-io/cli 0.17.0.
WebSocket

The live on-chain channel

Every transfer as it lands, filtered on the server.

1 live on-chain channel at 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.
REST

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.

Authentication

Three steps to the first request

  1. Sign in at vike.io

    Any account. No card, no plan to pick.

  2. Create a key

    On /account?tab=api-keys. Up to 3 active keys per account; every key starts vk_.

  3. Send the header

    X-API-KEY: vk_… on every request. Or skip the code: vike-data init in the CLI, or connect MCP.

First request

Look up a wallet

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/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.
  • chain is a filter, not a path: ethereum, bsc, base or hyperevm.
  • Every route is also an MCP tool, named on its card below.
Limits

One ceiling per key

Requests20,000 per hour, per key, a rolling hour
Per minute200 per minute, per key, on /v1
KeysUp to 3 active per account; each key is its own budget
Cost of a call1 per REST request; MCP tools 0 to 5 credits
PriceFree plan; paid plans from $29 a month: Pricing
Errors

Status codes

StatusMeaningBody
400The input was rejected: an unknown chain, a malformed address, or a window or sort the chain does not serve.{"detail": "…"}
401A missing, invalid or deactivated key.Turned away before the API runs, so the body can be an HTML page. Do not assume JSON.
404No such route.{"detail": "Not Found"}
410The stream catch-up: a cursor older than the events kept; the answer names the oldest cursor it accepts.{"detail": "…"}
422A parameter failed validation: the wrong type, or outside the bounds the route declares.{"detail": [ … ]}
429Over 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
503The 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/onchain routes 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.
Before you rely on it

What the field names do not tell you

Holders: a flow by default, a balance on request. /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 →
Net flow is not profit. /wallets/{address}/pnl is a daily series of USD in minus USD out. Realized and unrealized profit per token is /wallets/{address}/positions.
One page, and a cap that cuts silently. On-chain routes do not page: each answers with one page. A 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.
The chains differ. 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.
A label is a consensus, not a certainty. An address label is a consensus over several sources, and provenance shows what each source said. Labels follow the 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.
A first funder is two answers. /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.
Try 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.

GET
bash
Endpoints

All 21 routes

Click a route to jump to its parameters and a call you can copy.

Wallets

Wallet routes

What a wallet holds and made, who is behind it, who it deals with, and the wallets worth following.

On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet address, 0x-prefixed hex
chainqueryethereum | 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

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
On-chain · REST · MCP

Wallet Positions

Route
GET /v1/onchain/wallets/{address}/positions
CLI
—
MCP
wallet_positions · 2 credits
Cost
1 credit, one request of the hourly limit
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet address, 0x-prefixed hex
chainqueryethereum | bsc | base | hyperevm. Default ethereum
sortqueryrealized | unrealized | value. Default realized. Positions whose value is unknown sort last
orderquerydesc (biggest first) | asc (biggest losses first). Default desc
limitqueryPositions returned. Default 20, max 100. totals always cover every token

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/positions?sort=value&limit=10"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet address, 0x-prefixed, exactly 42 characters
chainsqueryComma-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_usdqueryHide 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

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/balances?min_usd=1000"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

A daily net-flow series for the wallet — per-day net inflow USD, a cumulative figure, gross volume and transaction count.

Parameters

ParameterInDescription
addressrequiredpathWallet address
chainqueryethereum | bsc | base | hyperevm. Default ethereum
daysqueryDays back. Default 30, clamped to the range 1–365

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/pnl?days=90"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
windowquery24h | 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
sortqueryvolume | inflow | outflow | net_flow | tx_count | pnl. Default volume
orderqueryasc | desc. Default desc
chainqueryethereum | bsc | base | hyperevm. Default ethereum
sizequeryResults per page. Default 10, max 20 — one of the two routes in this namespace whose accepted and applied caps agree, alongside /tokens/search
include_hubsqueryBoolean, 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

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/discover?window=7d&sort=net_flow&size=10"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

Reverse ENS lookup — turn an address into vitalik.eth. Returns null where the address has no ENS name set.

Parameters

ParameterInDescription
addressrequiredpathWallet address, 0x-prefixed, exactly 42 characters

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/ens"
On-chain · REST · MCP

Wallet Check

Route
GET /v1/onchain/wallets/{address}/check
CLI
—
MCP
wallet_check · 5 credits
Cost
1 credit, one request of the hourly limit
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet or contract address, 0x-prefixed hex, 42 characters
chainqueryethereum | bsc | base | hyperevm. Reads first_funder and exchanges on this chain only. Default: every chain the address has transfers on

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0x28c6c06298d514db089934071355e5743bf21d60/check?chain=ethereum"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet address, 0x-prefixed hex
chainqueryethereum | bsc | base | hyperevm. Default ethereum. Read from that chain's own transfer and label tables
min_nativequeryDust 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_usdqueryFloor 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

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/first-funder"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet address, 0x-prefixed hex
chainqueryethereum | bsc | base | hyperevm. Default ethereum. hyperevm has few labels, so a miss there says little
windowquery30d | 90d | 180d | 365d | all. Default 365d. A very active wallet over a long window is a 400 naming this parameter: narrow it

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/exchange-usage?window=90d"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

The addresses this wallet transacted with most, by combined transfer volume over a window.

Parameters

ParameterInDescription
addressrequiredpathWallet address
chainqueryethereum | bsc | base | hyperevm. Default ethereum
windowquery24h | 7d | 30d | 90d | 180d | all. Default 30d
limitqueryRoute default 100; applied cap 50

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/counterparties?window=90d&limit=10"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

Are these two wallets related? Returns the counterparties both wallets transacted with and the tokens both touched, within a window.

Parameters

ParameterInDescription
address_arequiredqueryFirst wallet
address_brequiredquerySecond wallet
chainqueryethereum | bsc | base | hyperevm. Default ethereum
windowquery24h | 7d | 30d | 90d | 180d | all. Default 30d
limitqueryMax shared items per category. Route default 100; applied cap 50

Call it

bash
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"
Transactions

Transactions and the money trail

A wallet's transfers, one transaction by its hash, and the money followed hop by hop.

On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet address
chainqueryethereum | bsc | base | hyperevm. Default ethereum
directionqueryin | out. Omit for both directions
daysqueryDays back. Default 30, clamped to 365
min_usdqueryDrop transfers below this USD value. Default 0
token_addressqueryRestrict to a single token contract
min_amountqueryOnly 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_amountqueryOnly 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
limitqueryRoute default 100; applied cap 500

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/wallets/0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4/transactions?days=30&token_address=0xdac17f958d2ee523a2206206994597c13d831ec7&limit=50"
On-chain · REST · MCP

Transaction Lookup

Route
GET /v1/onchain/transactions/{tx_hash}
CLI
—
MCP
transaction_lookup · 2 credits
Cost
1 credit, one request of the hourly limit
API key APIArchiveStreamMCP

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

ParameterInDescription
tx_hashrequiredpathTransaction hash: 0x followed by 64 hex characters. Anything else is a 400
chainqueryethereum | bsc | base | hyperevm. Default ethereum. A hash looks the same on every chain: pass the one it was sent on

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/transactions/0x0e4fdf7d3742366a474d7fc6baa538e4cad839eaa95f2c798403bd47deb795db"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathRoot wallet to trace from
chainqueryethereum | bsc | base | hyperevm. Default ethereum
depthqueryHops to follow. Default 2, clamped to 1–5
widthqueryTop N counterparties per hop. Default 5, clamped to 1–10
windowquery24h | 7d | 30d | 90d | all. Default 30d; anything else is a 400
min_usdqueryMinimum USD per transfer to follow. Default 10,000
directionqueryout (where funds went) | in (where they came from) | both. Default both; anything else is a 400

Call it

bash
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"
Labels

Label routes

Who is behind many addresses at once, and where one label comes from.

On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressesrequiredqueryComma-separated addresses. Capped at 100
chainqueryethereum | 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

bash
curl -X POST -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/labels/batch?addresses=0x28c6c06298d514db089934071355e5743bf21d60,0xd8da6bf26964af9d7eed9e03e53415d37aa96045,0xeae7380dd4cef6fbd1144f49e4d1e6964258a4f4"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
addressrequiredpathWallet address, 0x-prefixed hex

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/labels/0x28c6c06298d514db089934071355e5743bf21d60/provenance"
Tokens

Token routes

Find a token, screen tokens, see who bought, sold and holds one.

On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

Find tokens by activity within a window — rank by volume, net inflow, holder count or smart- money inflow.

Parameters

ParameterInDescription
chainqueryethereum | bsc | base | hyperevm. Default ethereum
windowquery24h | 7d | 30d | 90d. Default 24h
sortqueryvolume | net_inflow | holders | smart_inflow. Default volume. smart_inflow is ethereum only
min_volume_usdqueryDrop tokens below this window volume
min_holdersqueryDrop tokens below this holder count
smart_money_onlyqueryBoolean. Restrict to smart-money cohort flows. ethereum only: any other chain is a 400
limitqueryRoute default 50; applied cap 100

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/tokens/screener?limit=10"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

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

ParameterInDescription
token_addressrequiredpathToken contract address, 0x-prefixed
periodquery1h | 24h | 7d | 30d. Default 24h
tabquerybought (net buyers: bought more than sold) | sold (net sellers). Default sold
chainqueryethereum | bsc | base | hyperevm | all. Default ethereum
hide_contractsquerytrue 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_amountqueryCount 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_amountqueryCount 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

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/transfers?period=24h&chain=ethereum"
On-chain · REST · CLI · MCP

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
API key APIArchiveStreamMCP

The holder leaderboard for a token: by default ranked by cumulative net inflow USD, or by balance with sort=balance.

Parameters

ParameterInDescription
token_addressrequiredpathToken contract address, 0x-prefixed
chainqueryethereum | bsc | base | hyperevm. Default ethereum
limitqueryRoute default 50; applied cap 50
sortqueryflow | 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_exchangesqueryBoolean. 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

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/holders?chain=ethereum&limit=10"
Live stream

Live stream catch-up

The stored events of the live chain.transfers channel, for what a socket missed.

On-chain · REST · MCP

Stream catch-up

Route
GET /v1/onchain/stream-events
CLI
—
MCP
stream_events · 1 credit
Cost
1 credit, one request of the hourly limit
API key APIArchiveStreamMCP

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

ParameterInDescription
channelrequiredquerychain.transfers
cursorquerynext_cursor of the previous page or the cursor of a stream frame. Empty: the oldest retained event
limitqueryDefault 200, clamped to 1-1000

Call it

bash
curl -H "X-API-KEY: $VIKE_API_KEY" \
  "https://data.vike.io/v1/onchain/stream-events?channel=chain.transfers&limit=50"
Alerts

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_usd at least, max_value_usd at most) and, for an alert on one token_symbol, a size in whole tokens (min_amount at least). Set together, both must hold.
  • One wallet per alert, as a 20-byte EVM address (0x and 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_edit changes 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.

On-chain · MCP tool · Alerts

alerts_list

Cost
0 credits a call
API key APIArchiveStreamMCP

Lists your alert rules. Active only by default.

ParameterTypeDefaultNotes
include_inactivebooleanfalseInclude 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_conditions is 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 a from and a to address, which is why it is a list.
  • policy says how often the rule notifies: per_event, cooldown or hysteresis (see How often a rule notifies). It is null for a rule that cannot run, for example one whose coin Hyperliquid has delisted.
  • hl and pm are null for 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.

Ask: “List my alerts, including the paused ones.”
On-chain · MCP tool · Alerts

alerts_list_channels

Cost
0 credits a call
API key APIArchiveStreamMCP

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.

Ask: “What notification channels do I have set up?”
On-chain · MCP tool · Alerts

alerts_create

Cost
3 credits a call
API key APIArchiveStreamMCP

Creates an alert rule. Below, a transfer alert; the same tool creates the Hyperliquid and Polymarket types, whose parameters are on the Alerts reference.

ParameterTypeDefaultNotes
labelstringrequiredThe alert's user-visible name
alert_typeenumtransfertransfer for an on-chain alert, or a Hyperliquid or Polymarket type. Fixed once created
token_symbolstring—Transfer alerts: the token's ticker in UPPERCASE (USDC, ETH, PEPE)
chainenumethTransfer alerts only: eth, bsc, base or hyperevm, single value. Leave it out for a Hyperliquid alert
min_value_usdnumber—Transfer alerts: fire when the transfer's USD value is at least this
max_value_usdnumber—Transfer alerts only: fire only when the transfer's USD value is at most this
min_amountnumber—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
addressstring—Transfer alerts only: one wallet to watch, 0x and 40 hex characters
address_roleenumanyTransfer alerts only: any (sent or received), from (it sent) or to (it received); needs address
channelsarray—["email"], ["webhook"] or both (see Where an alert goes). Discord is refused
cooldown_minutesinteger60Token-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.

Ask: “Alert me on email when more than $5M of USDC moves on Ethereum, at most once an hour.”
Ask: “Tell me every time 0x28C6…1d60 sends more than $1M on Ethereum.”
On-chain · MCP tool · Alerts

alerts_edit

Cost
2 credits a call
API key APIArchiveStreamMCP

A partial update: only the fields you pass change.

ParameterTypeDefaultNotes
alert_idintegerrequiredRequired. From alerts_list.
labelstring—Same meaning as in alerts_create
token_symbolstring—Same meaning as in alerts_create
chainstring—Same meaning as in alerts_create
min_value_usdnumber—Same meaning as in alerts_create
max_value_usdnumber—Same meaning as in alerts_create
min_amountnumber—Same meaning as in alerts_create; min_amount: "" or 0 removes the size floor
channelsarray—Same meaning as in alerts_create
cooldown_minutesinteger—Same meaning as in alerts_create
addressstring—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_roleenum—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_activeboolean—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.

Ask: “Pause my USDC alert.”
Ask: “Raise the threshold on alert 41 to $10M.”
On-chain · MCP tool · Alerts

alerts_delete

Cost
2 credits a call
API key APIArchiveStreamMCP

Removes an alert.

ParameterTypeDefaultNotes
alert_idintegerrequiredThe alert to delete
hardbooleanfalsetrue 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.

Ask: “Delete alert 41 — actually, just pause it.”
On-chain · MCP tool · Alerts

alerts_register_webhook

Cost
2 credits a call
API key APIArchiveStreamMCP

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.

ParameterTypeDefaultNotes
urlstringrequiredWebhook URL, https:// only, reachable from Vike's servers
secretstring—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 secret is 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_secret issues 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 test event to the URL, signed and built like a real delivery: alert_id 0, alert_label Webhook test, alert_type and event.kind test, and an event.event_id of test: and 32 hex characters, new for every test. test is {"ok": true, "status": 200} for a 2xx answer, {"ok": false, "status": 401} for any other answer, or {"ok": false, "error": "timeout"} (also network, 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 call alerts_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 over http:// 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:

text
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

python
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

python
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 on alert_id and event.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-Id is the id of the event's webhook delivery in the feed (0 when the rule has no webhook channel), and X-Vike-Attempt is always 1.

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 429 with a Retry-After header (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_id and event.event_id from 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-Id identifies 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 with alerts_resend_delivery keeps its X-Vike-Delivery-Id and counts on in X-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.
Ask: “Send my alerts to https://example.com/hooks/vike as well, with a signing secret.”
On-chain · MCP tool · Alerts

alerts_rotate_webhook_secret

Cost
2 credits a call
API key APIArchiveStreamMCP

Issues a new signing secret for one of your webhook channels.

ParameterTypeDefaultNotes
channel_idintegerrequiredThe 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.

Ask: “Rotate the signing secret of my webhook.”
On-chain · MCP tool · Alerts

alerts_test_webhook

Cost
1 credit a call
API key APIArchiveStreamMCP

Sends the signed test event to one of your webhook channels again — for example after your receiver installed a new secret.

ParameterTypeDefaultNotes
channel_idintegerrequiredThe 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.

Ask: “Send a test event to my webhook.”
On-chain · MCP tool · Alerts

alerts_events

Cost
1 credit a call
API key APIArchiveStreamMCP

Reads the events your alert rules have produced, oldest first. To follow the feed, pass the returned next_cursor back as cursor.

ParameterTypeDefaultNotes
cursorstring—The previous page's next_cursor, passed back unchanged. Omit it for the oldest retained event
limitinteger100Events per page, 1 to 500
rule_idinteger—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.

Ask: “Show me what my alerts have fired since yesterday.”
On-chain · MCP tool · Alerts

alerts_resend_delivery

Cost
1 credit a call
API key APIArchiveStreamMCP

Sends one of your deliveries again: the webhook or email of an event that failed, expired, or was lost on your side.

ParameterTypeDefaultNotes
delivery_idintegerrequiredThe 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 next X-Vike-Attempt, and is then retried like any delivery.
  • queued is 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 unsupported one (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.
Ask: “The webhook of my last USDC alert never arrived: send it again.”
On-chain · Alerts

How often a rule notifies

API key APIArchiveStreamMCP

policy in alerts_list is fixed by the rule's type. A transfer alert is one of two:

policyRulesWhat it does
per_eventa transfer alert with an addressOne 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
cooldowna 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.

On-chain · Alerts

Watching a wallet

API key APIArchiveStreamMCP

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_symbol every token counts, spam and dust tokens included.
  • Every match notifies. An alert with an address is per_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_usd is 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_usd is an upper bound on the same value and likewise needs a priced transfer. min_amount (with a token_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.

On-chain · Alerts

Where an alert goes

API key APIArchiveStreamMCP
  • 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_webhook on the MCP server, or POST /v1/alerts/channels/webhooks. The body, the signature and the retries are under alerts_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_events or GET /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.

On-chain · Alerts

How soon an alert arrives

API key APIArchiveStreamMCP
AlertCheckedArrives
transferafter each pricing run, about every 5 minutesAbout 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.

On-chain · Alerts

When a rule is refused

API key APIArchiveStreamMCP

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 forThe tool says
an address that is not a 20-byte EVM addressaddress '…' 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 alertDiscord alerts are temporarily off …
a 201st active alertYou 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.

FAQ

On-chain MCP and API FAQ

Is there an MCP server for on-chain crypto data?
Yes: https://data.vike.io/mcp, 29 tools for wallets, labels, tokens, transactions, the live stream and alerts on Ethereum, BNB Chain, Base and HyperEVM. Claude Desktop signs in with OAuth and needs no key; other clients send an API key in X-API-KEY.
Can I build a crypto AI agent on it?
Yes. Any agent that speaks MCP over streamable HTTP calls the same 29 tools; a script can run any of them with vike-data call <tool> --args '{…}', and every tool has a REST route on the same key. A tool call costs 0 to 5 credits.
Which blockchains does it cover?
Ethereum, BNB Chain, Base and HyperEVM (ethereum, bsc, base, hyperevm). Wallets, labels, transfers and token holders on all four; the live stream carries transfers on all four too.
Is there a free on-chain MCP server?
Yes, this one, on the Free plan: one API key, with address labels and where each label comes from, wallet positions and PnL, token holders, the money trail and live transfers, in Claude, ChatGPT, Cursor or your own agent.
Is there an on-chain CLI?
Yes: npm install -g @vike-io/cli, then vike-data wallet …, vike-data token …, vike-data labels and vike-data stream onchain. vike-data install --claude adds the skill that teaches Claude Code to use it.
Is there a blockchain data API?
Yes. The /v1/onchain routes cover Ethereum, BNB Chain, Base and HyperEVM: wallets, balances, positions and PnL, transactions, address labels, token holders and the screener. One API key.
Which chains does the on-chain data API cover?
Ethereum, BNB Chain, Base and HyperEVM, on every route that takes a chain. Label provenance answers for Ethereum addresses whatever chain you pass. On Base and HyperEVM, wallet discovery defaults to window=all; the 24h to 90d windows work only while that chain's window data is under 2 days old, otherwise they answer a 400.
Do the routes page through results?
No: each route answers with one page, except the stream catch-up, which pages with a cursor. A limit above the route's applied cap is cut to the cap without an error, so a full page may not be the whole answer: each parameter table names the cap.
Is there an MCP tool for every route?
Yes: every /v1/onchain route runs the same code as its MCP tool, named on its card. A REST call costs 1 request; an MCP tool call 0 to 5 credits.