# Liquidation map · HyperCore API · Femtos

> Notional that would be liquidated at each price around the mark.

- 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/liqmap

## Liquidation map — GET `/v1/positions/liqmap`

Notional that would be liquidated at each price around the mark.

| Param | In | Example or values |
|---|---|---|
| `coin` | query | `BTC` |
| `range` | query | `0.3` |
| `buckets` | query | `60` |

```bash
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/positions/liqmap?coin=BTC&range=0.3&buckets=60"
```

| Field | Type | Meaning |
|---|---|---|
| `buckets[]` | object | {px, longNotional, shortNotional, accounts}, px = bucket centre |
| `markPx · range` | decimal · number | centre and half-width (0.3 = ±30 %) |

## Related (Liquidations & positions)

- [Liquidations](https://femtos.xyz/hypercore/liquidations.md): Perp liquidations, newest first, one row per account, coin and block.
- [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.
- [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
