Futures Chain
This API allows you to get the currently available futures contracts for an underlying symbol.
USE CASE
Find the futures contracts trading now for an underlying and compare their prices.
Details
- The Futures Chain API gives the list of currently available futures contracts for an underlying symbol, along with the last traded price and the change for each contract.
- The response contains the underlying symbol followed by its available futures contracts. The underlying entry is returned with an empty
expiry. - Pass the underlying symbol, for example
NSE:NIFTY50-INDEX,NSE:SBIN-EQ,BSE:SENSEX-INDEXorMCX:CRUDEOIL26SEPFUT. - Each entry in
datareturnssymbol,fyToken,lp,ch,chp,expiry(epoch value) andvolume. - A missing or invalid
symbolreturns an error. Check symbols against Symbol Master first. - Only currently available contracts are listed. For expired contracts, start with Get Expiry Dates.
- Rate limits differ between the Standard and Prime plans. See Plans & rate limits.
Request Attributes
| Attribute | Data Type | Description |
|---|---|---|
symbol* | string | Underlying symbol for which the futures chain is required. Eg: NSE:NIFTY50-INDEX, NSE:SBIN-EQ, BSE:SENSEX-INDEX, MCX:CRUDEOIL26SEPFUT |
Response Attributes
| Attribute | Data Type | Description |
|---|---|---|
s | string | ok / error |
code | int | Response code |
message | string | Message returned with the response |
data | array | List of the underlying symbol and its available futures contracts |
data[].symbol | string | Symbol name of the underlying or the futures contract |
data[].fyToken | string | Fyers token for the symbol |
data[].lp | float | Last traded price |
data[].ch | float | Change value |
data[].chp | float | Percentage of change between the current value and the previous day's market close |
data[].expiry | string | Expiry of the futures contract as an epoch value. Empty for the underlying symbol. |
data[].volume | int | Volume traded |
Note: The API returns an error if an invalid symbol is provided, or if the symbol parameter is missing.
Last updated on