API reference · Liquidations & positions
Liquidations stream
Each liquidation fill, the block it happens.
- Elysium: not served
- HyperCore
- HyperEVM: not served
- Not on Elysium or HyperEVM: a channel of HyperCore only
WebSocket channel hc.liquidations on wss://api.femtos.xyz/v1/ws
Parameters
| Param | In | Example or values | Meaning |
|---|---|---|---|
coin | filter | (optional) | HyperCore market (BTC, @107, xyz:TSLA) |
user | filter | (optional) | Liquidated account: 0x address or a named wallet's handle |
min_notional | filter | (optional) | Minimum notional, USD |
Subscribe
{"op":"subscribe","channel":"hc.liquidations","filter":{}}Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.
Response fields
| Field | Type | Meaning |
|---|---|---|
snapshot: true | HcLiquidation[] | last 50 liquidation fills |
data | HcLiquidation | each liquidation fill, the block it happens: {coin, liquidated_user, liquidated_side, method, px, sz, notional, mark_px, time, block, tid, entity} |
Related: Liquidations & positions
- Liquidations GET /v1/liquidations HyperCore
Perp liquidations, newest first, one row per account, coin and block. - Liquidation stats GET /v1/liquidations/stats HyperCore
Totals, per coin, per time bucket and the largest, over a window. - Positions GET /v1/positions HyperCore
Open positions of one perp with leverage and liquidation price. - Position changes WS hc.positions HyperCore
Each perp position change, one per block, account and coin. - Open interest GET /v1/positions/overview HyperCore
Open interest, accounts and unrealized PnL per perp. - Liquidation map GET /v1/positions/liqmap HyperCore
Notional that would be liquidated at each price around the mark.
More
- This page as Markdown
- The whole API reference
- What HyperCore serves
- The whole API in one Markdown file
- OpenAPI 3.1 document
Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog