Skip to main content

Put/Call Option Chain

API to retrieve put/call option chain for an underlying symbol for a specific expiry date.

NOTE

The Put/Call Option chain is currently not available for the MCX Exchange.

Header Parameters

NameRequiredTypeDescription
AuthorizationtruestringRequires the format Bearer access_token where access_token is obtained from the Token API.
AccepttruestringDefines the content format the client expects, which should be set to application/json.

Query Parameters

NameRequiredTypeDescription
instrument_keytruestringKey of an underlying symbol. For the regex pattern applicable to this field, see the Field Pattern Appendix.
expiry_datetruestringExpiry date in format: YYYY-MM-DD.
Responses

Response Body

{
"status": "success",
"data": [
{
"expiry": "2024-02-15",
"pcr": 1684.0638,
"strike_price": 19500,
"underlying_key": "NSE_INDEX|Nifty 50",
"underlying_spot_price": 22122.25,
"call_options": {
"instrument_key": "NSE_FO|37263",
"market_data": {
"ltp": 2291.8,
"close_price": 2259.9,
"volume": 1200,
"oi": 2350,
"bid_price": 2292.85,
"bid_qty": 50,
"ask_price": 2302.25,
"ask_qty": 800,
"prev_oi": 0
},
"option_greeks": {
"vega": 0,
"theta": 0,
"gamma": 0,
"delta": 1,
"iv": 0
}
},
"put_options": {
"instrument_key": "NSE_FO|37264",
"market_data": {
"ltp": 0.7,
"close_price": 1.5,
"volume": 12367100,
"oi": 3957550,
"bid_price": 0.65,
"bid_qty": 382600,
"ask_price": 0.7,
"ask_qty": 88300,
"prev_oi": 14400
},
"option_greeks": {
"vega": 0.2278,
"theta": -0.5966,
"gamma": 0,
"delta": -0.0026,
"iv": 31.43
}
}
}
]
}
NameTypeDescription
statusstringA string indicating the outcome of the request. Typically success for successful operations.
dataobjectData object for put/call option chain.
data[].expirystringExpiry date (for derivatives). Date format is YYYY-MM-dd.
data[].pcrnumberPut Call Ratio.
data[].strike_pricenumberThe strike price for the option.
data[].underlying_keystringThe instrument_key for the underlying asset.
data[].underlying_spot_pricenumberThe spot price for the underlying asset.
data[].call_optionsobjectData object for call options
data[].call_options.instrument_keystringThe unique identifier used across Upstox APIs for instrument identification. For the regex pattern applicable to this field, see the Field Pattern Appendix.
data[].call_options.market_dataobjectCall option market data
data[].call_options.option_greeksobjectCall option greeks
data[].put_optionsobjectData object for call options
data[].put_options.instrument_keystringThe unique identifier used across Upstox APIs for instrument identification. For the regex pattern applicable to this field, see the Field Pattern Appendix.
data[].put_options.market_dataobjectPut option market data
data[].put_options.option_greeksobjectPut option greeks

Option Market Data

NameTypeDescription
market_data.ltpnumberLast traded price.
market_data.close_pricenumberClosed price.
market_data.volumenumberThe total amount of the asset that was traded during the timeframe.
market_data.oinumberOpen interest.
market_data.bid_pricenumberBid price.
market_data.bid_qtynumberBid quantity.
market_data.ask_pricenumberAsk price.
market_data.ask_qtynumberAsk quantity.
market_data.prev_oinumberPrevious Open interest.

Option Greek Data

NameTypeDescription
option_greeks.veganumberRate of change of premium based on change in volatility.
option_greeks.thetanumberMeasures the impact on premium based on time left for expiry.
option_greeks.gammanumberRate of change of delta itself.
option_greeks.deltanumberMeasures the rate of change of options premium based on the directional movement of the underlying.
option_greeks.ivnumberImplied Volatality.

Examples

A comprehensive set of examples is provided to illustrate various use cases and implementation scenarios for this API. To view detailed examples and access sample code, please refer to: API Examples.

Loading...