femtos

HyperCore · Liquidations & positions

Position changes

Each perp position change, one per block, account and coin.

WebSocket channel hc.positions on wss://api.femtos.xyz/v1/ws

Parameters

ParamInExample or values
coinfilterBTC
min_notionalfilter100000

Subscribe

{"op":"subscribe","channel":"hc.positions","filter":{"coin":"BTC","min_notional":"100000"}}

Key: Authorization: Bearer $FEMTOS_KEY or X-API-KEY. Get a free key, or with no browser through agent onboarding.

Response fields

FieldTypeMeaning
dataobject{coin, user, kind, dir, start_position, end_position, sz, px, notional, liquidation}
kindstringopen, increase, reduce, close, flip
min_notionalfilterdefault 100000, "0" for all

Related: Liquidations & positions

  • Liquidations GET /v1/liquidations
    Perp liquidations, newest first, one row per account, coin and block.
  • Liquidation stats GET /v1/liquidations/stats
    Totals, per coin, per time bucket and the largest, over a window.
  • Liquidations stream WS hc.liquidations
    Each liquidation fill, the block it happens.
  • Positions GET /v1/positions
    Open positions of one perp with leverage and liquidation price.
  • Open interest GET /v1/positions/overview
    Open interest, accounts and unrealized PnL per perp.
  • Liquidation map GET /v1/positions/liqmap
    Notional that would be liquidated at each price around the mark.

More