# Price level | API reference | Femtos

> The orders and positions inside one bucket of the maps: each stop / take-profit with its wallet and position, each position liquidated there. GET /v1/hypercore/price-level on HyperCore: parameters, response fields and a live call per layer.

- 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`. Free key: https://dashboard.femtos.xyz/signup (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/reference/price-level

## Price level — GET `/v1/hypercore/price-level`

The orders and positions inside one bucket of the maps: each stop / take-profit with its wallet and position, each position liquidated there.

Layers: HyperCore. Not on Elysium or HyperEVM: served on HyperCore only.
Page with live calls: https://femtos.xyz/reference/price-level?layer=hypercore

| Param | In | Example or values | Meaning |
|---|---|---|---|
| `coin` | query | `BTC` | HyperCore perp coin: BTC, xyz:TSLA |
| `px_lo` | query | `50000` | Band low edge (inclusive), price |
| `px_hi` | query | `150000` | Band high edge (exclusive), price, over px_lo |
| `limit` | query | `50` | Orders, and positions, listed (largest first) |

```bash
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/hypercore/price-level?coin=BTC&px_lo=50000&px_hi=150000&limit=50"
```

| Field | Type | Meaning |
|---|---|---|
| `orders` | object[] | Open trigger orders in the band, largest executable notional first, then largest placed: {oid, user, coin, side, kind, exec, orderType, triggerPx, triggerCondition, limitPx, sz, origSz, …} |
| `orders.executableSz` | decimal | Size it would execute when it fires: a reduce-only one at most what is left of its wallet's position then |
| `orders.unbackedSz` | decimal | Size placed that would not execute (reduce-only past the position, or opening past the account's margin) |
| `orders.position` | object \| null | The wallet's open position in the coin; null without one: {address, szi, side, entryPx, notional, upnl, leverage, marginMode, liqPx, liqDistancePct, label, entity} |
| `ordersTotal` | int | Open trigger orders in the band |
| `liquidations` | object[] | Open positions whose liquidation price is in the band, largest liqNotional first: {address, szi, side, entryPx, notional, upnl, leverage, marginMode, liqPx, liqDistancePct, label, entity, …} |
| `liquidationsTotal` | int | Open positions whose liquidation price is in the band |
| `cut` | object | Where each source is cut: {stops, positions} |
| `markPx` | decimal \| null | Mark: last trade |

## Related (Price-level maps)

- [Liquidation price map](https://femtos.xyz/reference/liquidation-map.md) `GET /v1/hypercore/liquidation-map`: Liquidation prices of every open position, from Hyperliquid's formula on each account's state, bucketed like the stop map. (HyperCore)
- [Liquidation map stream](https://femtos.xyz/reference/ws/liquidations-map.md) `WS hc.liquidations.map`: The GET /v1/hypercore/liquidation-map map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). (HyperCore)
- [Forced flow](https://femtos.xyz/reference/forced-flow.md) `GET /v1/hypercore/forced-flow`: Stop-loss / take-profit orders and liquidations on the same buckets: the cascade (stops + liquidations, with the move) and the take-profits (against it) at each price. (HyperCore)
- [Forced flow stream](https://femtos.xyz/reference/ws/forced-flow.md) `WS hc.forced_flow.map`: The GET /v1/hypercore/forced-flow map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). (HyperCore)
- [Stop map stream](https://femtos.xyz/reference/ws/stops-map.md) `WS hc.stops.map`: The GET /v1/hypercore/stops map, pushed on subscribe, then on each roll of the live positions (every 5 s) when it changes (whole, or as a JSON Patch). (HyperCore)

Every page: https://femtos.xyz/reference.md
