Option Chain

1. Introduction

The Option Chain API returns the option chain (calls / puts) or the futures chain for an underlying, with per-strike quote and open-interest data. Open-interest change and change % are computed server-side so every caller gets a consistent value.

2. API Endpoint

GET <Base URL>/market-data/1.0/watchlist/option-chain?exchange=<exchange_segment>&underlying=<underlying>[&expiry=<YYYY-MM-DD>][&instrument_type=<type>][&count=<n>]

Replace <Base URL> with the relevant Kotak environment base URL provided in response from the /tradeApiValidate API.

Key points about endpoint structure:

With instrument_type=fut and expiry omitted, fut[] returns every available futures contract; with a specific expiry, it returns only that one contract.

3. Headers

Name Type Description
Authorization string Token provided in your NEO API dashboard - use plain token
Content-Type string application/json

4. Request

Example Request (mandatory parameters only — nearest expiry, default option chain):

curl --location --request GET '<Base URL>/market-data/1.0/watchlist/option-chain?exchange=nse_fo&underlying=NIFTY' \
--header 'Content-Type: application/json' \
--header 'Authorization: xxxxx-your-api-token-xxxx'

Example Request (with optional parameters):