GETAvailable
Liquidation max-pain levels
Liquidation max-pain levels (long and short side)
GET
/api/liq-maxpainRequest
Query parameters
| Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| symbol | string | Optional | — | — | Coin symbol; omitted = all. |
| limit | integer | Optional | 100 | ≤ 200 | Number of rows to return. Example: 100 |
Example request
curl -s "https://www.coinboss.com/api/liq-maxpain?limit=100"Response fields
The field table is generated from real responses, so it lists exactly what the endpoint returns. Paths use a[] for array items and {*} for objects keyed by a dynamic name such as a coin or an exchange.
| Field | Type | Unit | Description |
|---|---|---|---|
| success | boolean | — | true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`. |
| count | number | — | Number of items. |
| data | array | — | Payload. |
| data[] | object | — | Payload. |
| data[].symbol | string | — | Instrument symbol as normalised by CoinBoss (for example BTCUSDT). |
| data[].price | number | — | Last price in the quote currency (USD or USDT unless stated). |
| data[].updatedAt | number | ms | When the data was last updated. |
| data[].d1 | object | — | Max-pain levels from the 1-day liquidation map (positions modelled from the last 24 hourly candles): `long`, `short`, `totalLong`, `totalShort`. |
| data[].d1.long | object | — | Long side value. |
| data[].d1.long.price | number | — | Last price in the quote currency (USD or USDT unless stated). |
| data[].d1.long.usd | number | USD | Value. |
| data[].d1.long.distPct | number | % | Distance of the long max-pain price from the current `price`: (level − `price`) ÷ `price` × 100; negative because it lies below. |
| data[].d1.short | object | — | Short side value. |
| data[].d1.short.price | number | — | Last price in the quote currency (USD or USDT unless stated). |
| data[].d1.short.usd | number | USD | Value. |
| data[].d1.short.distPct | number | % | Distance of the short max-pain price from the current `price`: (level − `price`) ÷ `price` × 100; positive because it lies above. |
| data[].d1.totalLong | number | — | Total long. |
| data[].d1.totalShort | number | — | Total short. |
| data[].d7 | object | — | Max-pain levels from the 7-day liquidation map (last 168 hourly candles, ±18 % price axis); null when that map is unavailable. |
| data[].d7.long | object | — | Long side value. |
| data[].d7.long.price | number | — | Last price in the quote currency (USD or USDT unless stated). |
| data[].d7.long.usd | number | USD | Value. |
| data[].d7.long.distPct | number | % | Distance of the 7-day long max-pain price from the current `price`: (level − `price`) ÷ `price` × 100; negative because it lies below. |
| data[].d7.short | object | — | Short side value. |
| data[].d7.short.price | number | — | Last price in the quote currency (USD or USDT unless stated). |
| data[].d7.short.usd | number | USD | Value. |
| data[].d7.short.distPct | number | % | Distance of the 7-day short max-pain price from the current `price`: (level − `price`) ÷ `price` × 100; positive because it lies above. |
| data[].d7.totalLong | number | — | Total long. |
| data[].d7.totalShort | number | — | Total short. |
| data[].liqLong24h | number | USD | Notional of long positions actually liquidated in the last 24 hours on all tracked exchanges (recorded liquidation orders, not a model value). |
| data[].liqShort24h | number | USD | Notional of short positions actually liquidated in the last 24 hours on all tracked exchanges (recorded liquidation orders, not a model value). |
| data[].oiUsd | number | USD | Open interest. |
| data[].volUsd | number | USD | Volume. |
Generated 2026-11-11 23:00 UTC from 1 real responses.
Example response
/api/liq-maxpain?limit=100 · Real response captured 2026-11-13 03:42:45 UTC. Long arrays and maps are shortened for display: data had 100 items.
- "success"true
- "count"100
- "data"
Details
- Authentication
- None. Public endpoint.
- Rate limit
- 1200 requests per minute per IP
- Server cache
- 60s
- Edge micro-cache
- 10s
- Update frequency
- every 5 min for the top 100 coins; coins ranked 101-300 are refreshed in 5 staggered batches (about every 25 min)
- Window
- latest model snapshot (derived from the 1 d and 7 d liquidation maps)
- Data sources
- Model estimate computed in-house from CoinBoss's own hourly futures klines (binance, okx fallback), aggregated open-interest history and collected liquidations.
- Exchange coverage
- up to 300 crypto coins ranked by futures notional volume, requiring >= 30 liquidation events in the last 7 days; tokenized stocks, commodities, FX and indices are excluded; estimates are model output, not exchange-reported liquidation levels
- Pagination
- limit (default 100, max 200)
- Sorting
- vol_usd desc
- Units
- estimated liquidation notional in USD per price level; prices in USD; timestamps in Unix ms
- Method
- per coin: price levels with the largest estimated long / short liquidation notional (max pain) from the 1 d and 7 d maps
- Timestamps
- Unix epoch milliseconds (UTC) unless the field description says otherwise
- Response format
- json
- Stability
- Stable
Live status
AvailableChecked 2026-11-13 03:42:45 UTCHTTP 2003 msSchema matchesNewest data point 69s old
Availability, last 30 days
100% of 407 checks passed
Errors
Failed calls share one shape on every endpoint. The full list is on the errors page. Errors and rate limits →
| Code | HTTP | Meaning | What to do |
|---|---|---|---|
| INVALID_PARAM | 400 | A required parameter is missing or a value is not accepted. `param` names the parameter when it is known. | Do not retry unchanged; fix the request. |
| UNAUTHORIZED | 401 | The `CB-API-KEY` header was sent but the key is unknown or revoked. Public data needs no key — drop the header or use a valid key. | Do not retry unchanged. |
| FORBIDDEN | 403 | The route is not part of the public API (internal or account-only). | Do not retry. |
| NOT_FOUND | 404 | Unknown route, or the requested coin / exchange / fund does not exist. | Do not retry; check the path and identifiers against the catalog. |
| RATE_LIMITED | 429 | More requests than the per-minute limit. `Retry-After` gives the seconds to wait. | Wait for `Retry-After`, then retry with backoff. |
| INTERNAL | 500 | Unexpected server error. The message is generic by design; quote `request_id` when reporting it. | Retry once after a few seconds; report it with the request id if it persists. |
| UPSTREAM_FAILED | 503 | The data source behind this endpoint did not answer in time. No stale or substitute numbers are returned in its place. | Retry with backoff; check the status page. |
| UNAVAILABLE | 501 / 503 | The dataset is temporarily not ready (cache warming) or the endpoint has no lawful public source yet. | Retry later; the catalog marks endpoints that are unavailable by design. |
| REQUEST_FAILED | 200 | Some older endpoints answer HTTP 200 with `success: false`. Always check `success`, not only the HTTP status. | Depends on the message; treat as a failed request. |
Try it
GET
/api/liq-maxpainAvailableParameters
string — Coin symbol; omitted = all.
integer · default 100 · max 200 — Number of rows to return.
Request URL
https://www.coinboss.com/api/liq-maxpain?limit=100Choose an endpoint and press “Send request”. The response, headers and timing will appear here.
More in this category
- Liquidation heatmap (model 1) /api/heatmap
- Symbols supported by the liquidation heatmap /api/heatmap/symbols
- Liquidation heatmap (model 2 / 3) /api/liq-heatmap
- Symbols supported by the liquidation-heatmap model /api/liq-heatmap/symbols
- Liquidation cluster levels /api/liq-levels
- Liquidation map /api/liq-map
- Symbols supported by the liquidation map /api/liq-map/symbols
- Liquidation max-pain levels /api/liq-maxpain