Options Max Pain

Get the max pain price for each options expiration date of a coin on a specified exchange, along with the open interest, notional value and market value of call and put options. Useful for watching key price levels ahead of expiration and the bullish/bearish structure of the options market.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Available on all API plans: Hobbyist Startup Standard Professional Enterprise

Update frequencyEvery minute

Response Data

data is an array; each element holds the statistics for one options expiration date: the max pain price for that expiration date, and the open interest, notional value and market value of call and put options. For example, with symbol=BTC and exchange=Deribit, 11 expiration dates are returned. max_pain_price is returned as a string; convert it to a number before doing calculations.

📘

Notional Value and Market Value Are Not the Same

*_notional is the notional value: for example, with symbol=BTC and exchange=Deribit, call_open_interest_notional ÷ call_open_interest is about $82,000, close to the BTC price at the time; that is, it is the size of the open interest calculated at the price of the underlying. *_market_value is the market value, calculated at the market price of the options themselves, and is usually far smaller than the notional value. Both are in USD.

200 · application/json · See the response example in the right panel.

FieldTypeAlways ReturnedDescription
codestringYesBusiness status code; "0" means success
msgstringNoResult message; may be omitted on success
dataarray of objectYesStatistics for each options expiration date; each element is one expiration date
data[].datestringYesOptions expiration date, a string in YYMMDD format, e.g., 261020 means 2026-10-20
data[].max_pain_pricestringYesMax pain price for the expiration date (a strike price, in USD), returned as a string; i.e., the strike price, among all strike prices, at which the total intrinsic value of open options is the smallest
data[].call_open_interestnumberYesCall open interest (quantity). For example, with symbol=BTC and exchange=Deribit, it is measured in BTC: call_open_interest_notional ÷ call_open_interest is approximately the BTC price at the time. For cross-exchange comparisons, use call_open_interest_notional, which is in USD
data[].put_open_interestnumberYesPut open interest (quantity). For example, with symbol=BTC and exchange=Deribit, it is measured in BTC. For cross-exchange comparisons, use put_open_interest_notional, which is in USD
data[].call_open_interest_notionalnumberYesNotional value of call open interest, in USD
data[].put_open_interest_notionalnumberYesNotional value of put open interest, in USD
data[].call_open_interest_market_valuenumberYesMarket value of call open interest, in USD; calculated at the market price of the options themselves
data[].put_open_interest_market_valuenumberYesMarket value of put open interest, in USD; calculated at the market price of the options themselves

API Plans

All API plans can call this endpoint. For the price of each plan, see API Plans.

API PlanAccess
Hobbyist✅ Yes
Startup✅ Yes
Standard✅ Yes
Professional✅ Yes
Enterprise✅ Yes

Use This Endpoint with AI

Pick a task and click Open in ChatGPT or Open in Claude: the AI reads this page first and then gives you the result. You can also click Copy and paste the full prompt into the AI tool you use.

Fetch data with Python
Have AI write a Python function that lists the max pain and put/call ratio for each BTC expiration date.
Compare multiple exchanges
Have AI write code that compares the max pain of the nearest expiration date across four exchanges.
Understand this endpoint
Have AI explain max pain and the response fields in plain language.

This endpoint provides data through the REST API. Use the prompts above to have AI write the request code. For the tools available through MCP, see CoinGlass MCP.

Use Cases

ScenarioDescription
Key Price Levels by ExpirationView the max pain price for each expiration date to see which strike prices the market is focused on as expiration approaches.
Bullish/Bearish Options StructureCompare the open interest and notional value of call and put options to see whether the options market leans bullish or bearish.
Cross-Exchange ComparisonThe max pain for the same coin may differ across Deribit, OKX, Binance and Bybit, so you can compare the options structure of each platform.
Market DashboardShow the max pain for the next few expiration dates of major coins on a dashboard, next to the current price for comparison.

Related Endpoints

EndpointHow It Differs
Options InfoCurrent options open interest, share and 24-hour trading volume on each exchange
Options Exchange Open Interest HistoryHistorical curve of options open interest on each exchange
Liquidation Max PainMax pain from the futures liquidation model, which is different from options max pain
Options vs Futures Open InterestRatio of options open interest to futures open interest

FAQ

Which coins and exchanges are supported?

Currently only four coins, BTC, ETH, SOL and XRP, and four exchanges, Deribit, OKX, Binance and Bybit, are supported. Exchanges are matched exactly as strings, so pass them as written here; values outside this range return a not-supported message.

How do I parse date?

date is a string in YYMMDD format that represents the options expiration date, e.g., 261020 is 2026-10-20 and 261021 is 2026-10-21.

Why is max_pain_price a string?

The endpoint returns the strike price as a string, e.g., "82000". Convert it to a number before using it in calculations or comparing values.

Is this the same as liquidation max pain?

No. This endpoint calculates it from the open interest structure of options; Liquidation Max Pain is based on the futures liquidation model, and the two differ in how they are calculated and in what they mean.

Learn More: Options Max Pain

What Is Options Max Pain?

Max pain is the strike price at which, for a given expiration date, the total intrinsic value of all open options would be smallest if the underlying price finally settled there; in other words, option buyers as a whole would receive the smallest payout. This endpoint uses this method to give a max_pain_price for each expiration date.

How Useful Is the Max Pain Price as a Reference?

It is often used to watch where the price may move toward before expiration, but it is only a statistical result calculated from the open interest structure and cannot be treated as a price forecast. For expiration dates with very small open interest, the max pain is also of limited reference value.

How Do I View Options Max Pain for ETH, SOL or XRP?

Just change symbol to ETH, SOL or XRP. Currently only these four coins are supported, and the supported exchanges are Deribit, OKX, Binance and Bybit.

Query Params
string
required
Defaults to BTC

Underlying coin of the options; required, e.g., BTC, ETH. Currently only BTC, ETH, SOL and XRP are supported; passing any other coin returns a not-supported message.

string
required
Defaults to Deribit

Exchange name; required, e.g., Deribit, Binance, OKX. Currently only Deribit, OKX, Binance and Bybit are supported. The value is matched exactly as a string, so pass it exactly as written here; passing any other exchange returns a not-supported message.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json