Skip to main content

Option Greek Fieldsโ€‹

This API endpoint provides option Greek data for specified instruments. The response contains all fields required to construct an option chain, as well as the current day's total trading volume. This API supports a maximum of 50 instrument keys in a single request.

Requestโ€‹

curl --location 'https://api.upstox.com/v3/market-quote/option-greek?instrument_key=NSE_FO%7C43885' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

For additional samples in various languages, please refer to the Sample code section on this page.


Query Parametersโ€‹

NameRequiredDescription
instrument_keytrueComma separated list of instrument keys. For the regex pattern applicable to this field, see the Field Pattern Appendix.
Responses

Response bodyโ€‹

NameTypeDescription
statusstringA string indicating the outcome of the request. Typically success for successful operations.
dataobjectData object holding option greek information
data.last_pricenumberThe last traded price of symbol
data.instrument_tokenstringKey of the instrument. For the regex pattern applicable to this field, see the Field Pattern Appendix.
data.ltqnumberLast traded quantity
data.volumenumberVolume traded today till current time
data.cpnumberPrevious day's closing price
data.ivnumberImplied Volatility
data.veganumberSensitivity of the option's price to changes in volatility.
data.gammanumberRate of change of delta with respect to changes in the underlying asset's price.
data.thetanumberRate of decline in the option's value due to the passage of time.
data.deltanumberSensitivity of the option's price to changes in the underlying asset's price.
data.oinumberOpen interest for the instrument.

Sample Codeโ€‹

Get Option Greek fieldsโ€‹

curl --location 'https://api.upstox.com/v3/market-quote/option-greek?instrument_key=NSE_FO%7C43885' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Get Option Greek fields for multiple instruments keysโ€‹

curl --location 'https://api.upstox.com/v3/market-quote/option-greek?instrument_key=NSE_FO%7C43885,NSE_FO|43886' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'
Loading...