femtos

HyperCore · Liquidations & positions

Open interest

Open interest, accounts and unrealized PnL per perp.

GET https://api.femtos.xyz/v1/positions/overview

Example

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/positions/overview"

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

Response fields

FieldTypeMeaning
coins[]object{coin, markPx, longOi, shortOi, longAccounts, shortAccounts, upnlLong, upnlShort, biggest}
longOi = shortOidecimalevery perp is zero-sum: the split is in accounts and PnL

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.
  • Liquidation map GET /v1/positions/liqmap
    Notional that would be liquidated at each price around the mark.
  • Position changes WS hc.positions
    Each perp position change, one per block, account and coin.

More