vike

Vault flows

One vault's own deposits, withdrawals, distributions and leader commissions, newest first.

GET https://data.vike.io/v1/hyperliquid/vaults/{vault}/flows

One vault's own deposits, withdrawals, distributions and leader commissions, newest first.

cURL
# HLP's own deposits and withdrawals over the last 30 days, newest first
curl -s "https://data.vike.io/v1/hyperliquid/vaults/0xdfc24b077bc1425ad1dea75bcb6f8158e10df303/flows?limit=3" \
  -H "X-API-KEY: $VIKE_API_KEY"

# next page of the call just above: NEXT is its nextCursor, passed back verbatim
curl -s "https://data.vike.io/v1/hyperliquid/vaults/0xdfc24b077bc1425ad1dea75bcb6f8158e10df303/flows?limit=3&cursor=$NEXT" \
  -H "X-API-KEY: $VIKE_API_KEY"

# who withdrew this week: a withdrawal names its depositor in counterparty
curl -s "https://data.vike.io/v1/hyperliquid/vaults/0xdfc24b077bc1425ad1dea75bcb6f8158e10df303/flows?window=7d&type=withdraw&limit=100" \
  -H "X-API-KEY: $VIKE_API_KEY" \
  | jq '.flows[] | {ts, counterparty, amount_usd}'
vaultpathrequired
Vault address
windowqueryoptional
7d | 30d | 90d | 365d | all. Default 30d
typequeryoptional
all | deposit | withdraw | distribution | commission. Default all
limitqueryoptional
Default 100, max 1000
cursorqueryoptional
Keyset cursor

No response has been captured for this route yet. The card shows the fields the code returns, with placeholders in place of values.

Response shape
{
  "vault": "<address>",
  "window": {
    "window": "30d",
    "start": "<YYYY-MM-DD>",
    "end": "<YYYY-MM-DD, the newest recorded day>",
    "partial": "<true when the history is shorter than the window>"
  },
  "type": "all",
  "flows": [
    {
      "ts": "<ISO-8601 UTC>",
      "hash": "<transaction hash, or null>",
      "event_type": "<vaultDeposit, vaultWithdraw, vaultCreate, vaultDistribution or vaultLeaderCommission>",
      "direction": "<in or out>",
      "amount_usd": "<USD, unsigned>",
      "fee_usd": "<USD>",
      "counterparty": "<address, or null>"
    }
  ],
  "nextCursor": "<string, or null on the last page>"
}

A deposit row names no depositor

The venue records the vault's side of a deposit without its depositor, so counterparty is null on a deposit and names the depositor on a withdrawal. Who deposited is on /vaults/flows, the depositor's side of the same flows.

The window reaches back only as far as the vault history

The window is the vault history's, which is recorded from 2026-10-27: it ends on the newest recorded day, and rows are served from the start of its start day. Older rows of the vault's own ledger are on /wallets/{address}/ledger with the vault's address.

  • amount_usd is unsigned: direction is in for vaultDeposit and vaultCreate, and out for the rest.
  • type narrows the rows: deposit (deposits and vaultCreate), withdraw, distribution or commission.