Skip to main content

Option Contracts

Get option contracts of an instrument key

curl --location 'https://api.upstox.com/v2/option/contract?instrument_key=NSE_INDEX%7CNifty%2050' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Get option contracts of an instrument key with expiry date

curl --location 'https://api.upstox.com/v2/option/contract?instrument_key=NSE_INDEX%7CNifty%2050&expiry_date=2024-03-28' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'