Skip to Content

Get Expired Contracts

This API allows you to get the expired futures and options contract symbols for an underlying symbol and expiry date.

USE CASE

Find the exact symbol of an expired futures contract or option strike for a given expiry.

Details

  • The Get Expired Contracts API gives the expired Futures and Options contract symbols available for a specified underlying symbol and expiry date.
  • Futures and Options contract symbols are returned separately.
  • If the expiry date is not known, use the Get Expiry Dates API first.
  • Once you find the required expired contract symbol, use it with the Get Expired F&O Data API to get historical data.
  • Send expiry_date in yyyy-mm-dd format, using a date returned by Get Expiry Dates.
  • Futures symbols are returned in data.contracts.futures and options symbols in data.contracts.options.
  • Copy a contract symbol exactly as returned into Get Expired F&O Data.
  • Rate limits differ between the Standard and Prime plans. See Plans & rate limits.

Request Attributes

AttributeData TypeDescription
symbol*stringUnderlying symbol for which the expired contracts are required. Eg: NSE:NIFTY50-INDEX, NSE:SBIN-EQ, BSE:SENSEX-INDEX
expiry_date*stringExpiry date of the contracts in yyyy-mm-dd format. Use an expiry date returned by the Get Expiry Dates API.

Response Attributes

AttributeData TypeDescription
sstringok / error
codeintResponse code
messagestringMessage returned with the response
data.symbolstringUnderlying symbol for which the contracts are returned
data.expiry_datestringExpiry date of the returned contracts
data.contracts.futuresarrayExpired Futures contract symbols for the requested expiry
data.contracts.optionsarrayExpired Options contract symbols for the requested expiry
Last updated on