Ops

Every wallet's positions on a chain, shaped exactly as the app's Portfolio page renders them

Internal monitoring surface. Requires a key on the ops tier. Per wallet: the header totals, open loops, open equity vaults, closed/liquidated positions (closed vaults re-skinned as the vault), and dashboard rows with nothing behind them on chain. Values are unformatted decimal strings (format with the app's displayTokenAmount). dbDrift flags dashboard/chain disagreements the app silently self-heals. Cached 60s; stale/degraded flag older numbers.

get/v1/ops/portfolios

Request

  • Base URL: https://api.spiralstake.xyz
  • URL: https://api.spiralstake.xyz/v1/ops/portfolios
  • Auth: HTTP bearer

Query parameters

chainId1 | 4663

Chain to target — 1 = Ethereum (default), 4663 = Robinhood Chain.

Response

Portfolios

chainIdinteger
asOfstring
staleboolean
degradedboolean
computedAtstring
countsobject
usersobject[]

Changes

No recorded changes to this operation across all 1 revision of this API.