# Liquidations · HyperCore API · Femtos

> Perp liquidations, newest first, one row per account, coin and block.

- Base URL: `https://api.femtos.xyz/v1` (REST) · `wss://api.femtos.xyz/v1/ws` (WebSocket) · MCP: `https://api.femtos.xyz/mcp`
- Auth: `Authorization: Bearer $FEMTOS_KEY` (or `X-API-KEY: $FEMTOS_KEY`). Free key: https://femtos.xyz/accounts/ (browser), or with
  no browser: `GET https://femtos.xyz/accounts/agent/challenge`, solve its proof of work, then `POST https://femtos.xyz/accounts/agent/signup`
  (https://femtos.xyz/agents.md#agent-onboarding)
- Decimals are exact strings, times Unix milliseconds, addresses lowercase `0x`
- Whole API in one file: https://femtos.xyz/agents.md · OpenAPI: https://api.femtos.xyz/v1/openapi.json · Index: https://femtos.xyz/llms.txt
- Page with live calls: https://femtos.xyz/hypercore/liquidations

## Liquidations — GET `/v1/liquidations`

Perp liquidations, newest first, one row per account, coin and block.

| Param | In | Example or values |
|---|---|---|
| `coin` | query | (optional) |
| `minNotional` | query | (optional) |
| `limit` | query | `50` |

```bash
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/liquidations?limit=50"
```

| Field | Type | Meaning |
|---|---|---|
| `events[]` | object | {block, time, coin, user, side, method, trades, sz, notional, avgPx, markPx} |
| `side` | long \| short | side of the liquidated position |
| `method` | market \| backstop | liquidation path |
| `user · from · to` | query | account, window (ms): the last 7 days, 30 with coin |
| `from` | ms | start of the window read (an older from is clamped to it) |

## Related (Liquidations & positions)

- [Liquidation stats](https://femtos.xyz/hypercore/liquidation-stats.md): Totals, per coin, per time bucket and the largest, over a window.
- [Liquidations stream](https://femtos.xyz/hypercore/ws-liquidations.md): Each liquidation fill, the block it happens.
- [Positions](https://femtos.xyz/hypercore/positions.md): Open positions of one perp with leverage and liquidation price.
- [Open interest](https://femtos.xyz/hypercore/positions-overview.md): Open interest, accounts and unrealized PnL per perp.
- [Liquidation map](https://femtos.xyz/hypercore/liqmap.md): Notional that would be liquidated at each price around the mark.
- [Position changes](https://femtos.xyz/hypercore/ws-positions.md): Each perp position change, one per block, account and coin.

All HyperCore endpoints: https://femtos.xyz/hypercore.md
