Options max pain
Options max pain (per expiry)
/api/options/max-painRequest
Query parameters
| Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| currency | string | Optional | BTC | BTC, ETH | Underlying: `BTC` or `ETH`. Any other value returns 400 `INVALID_PARAM`. Alias: `coin`. Example: BTC |
| expiry | string | Optional | — | — | Expiry; default expiry when missing or invalid. |
Example request
curl -s "https://www.coinboss.com/api/options/max-pain?currency=BTC"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 }`. |
| currency | string | — | Currency / asset symbol. |
| index_price | number | — | Index price of the underlying. |
| expiries | array | — | Option / futures expiries. |
| expiries[] | object | — | Option / futures expiries. |
| expiries[].expiry | string | — | Expiry date of the option series. |
| expiries[].max_pain | number | USD | Strike at which option holders lose the most at expiry. |
| expiries[].call_oi_usd | number | USD | Open interest of calls. |
| expiries[].put_oi_usd | number | USD | Open interest of puts. |
| expiries[].total_oi_usd | number | USD | Total open interest. |
| detail | object | — | Detail. |
| detail.expiry | string | — | Expiry date of the option series. |
| detail.max_pain | number | USD | Strike at which option holders lose the most at expiry. |
| detail.strikes | array | — | Option strikes. |
| detail.strikes[] | object | — | Option strikes. |
| detail.strikes[].strike | number | USD | Strike price. |
| detail.strikes[].call_oi | number | coin | Open interest of Deribit calls at this strike for the `detail.expiry` date, in units of the underlying coin. |
| detail.strikes[].put_oi | number | coin | Open interest of Deribit puts at this strike for the `detail.expiry` date, in units of the underlying coin. |
Generated 2026-11-11 23:00 UTC from 2 real responses.
Example response
/api/options/max-pain?currency=BTC · Real response captured 2026-11-13 03:58:24 UTC. Long arrays and maps are shortened for display: expiries had 12 items; detail.strikes had 60 items.
- "success"true
- "currency""BTC"
- "index_price"69009.96
- "expiries"
- "detail"
- "expiry""2026-12-25"
- "max_pain"75000
- "strikes"
Verified samples
Besides the example above, the probe calls this endpoint with these parameters and checks the schema each time.
| Parameters | HTTP | Latency | Result |
|---|---|---|---|
| currency=ETH | 200 | 4 ms | Pass |
| currency=SOL | 400 | 1 ms | Pass returns the expected error |
Checked 2026-11-13 03:58:24 UTC
Details
- Authentication
- None. Public endpoint.
- Rate limit
- 1200 requests per minute per IP
- Server cache
- 5m
- Edge micro-cache
- 10s
- Update frequency
- every 10 min (full snapshot replace)
- Window
- latest snapshot
- Data sources
- Max-pain strikes computed in-house from a single exchange's options open interest (Deribit).
- Exchange coverage
- Deribit only, BTC and ETH options; other venues (Binance/OKX/Bybit options, CME) are not included. Future expiries only.
- Sorting
- expiry ascending
- Units
- USD strike (max pain); USD notional (open interest); coins (per-strike detail)
- Method
- For each future expiry, max pain = strike S minimizing sum(call OI x max(S-K,0)) + sum(put OI x max(K-S,0)).
- Timestamps
- Unix epoch milliseconds (UTC) unless the field description says otherwise
- Response format
- json
- Stability
- Stable
Live status
Availability, last 30 days
100% of 410 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
/api/options/max-painAvailablestring · default BTC — Underlying: `BTC` or `ETH`. Any other value returns 400 `INVALID_PARAM`. Alias: `coin`.
string — Expiry; default expiry when missing or invalid.
https://www.coinboss.com/api/options/max-pain?currency=BTCMore in this category
- Option chain (single venue) /api/sd/options/chain
- Options by expiry /api/sd/options/expiries
- Options history (hourly) /api/sd/options/history
- Options overview (all venues) /api/sd/options/overview
- Options by strike /api/sd/options/strikes
- Coin-page options summary /api/currency/options-summary
- Options implied-volatility smile / term structure /api/options/iv
- Options implied-volatility history /api/options/iv-history
- Options max pain /api/options/max-pain
- Options OI by expiry /api/options/oi-by-expiry
- Options OI by strike /api/options/oi-by-strike
- Options overview /api/options/overview
- Options volume distribution /api/options/volume-dist