Get Option Chain
/NorenWClientAPI/GetOptionChainAuthorization token is required. Enter your access_token from GenAcsTok above.
"Use proxy" sends this request through this website's server, which never logs request or response bodies. Infinn sees the docs server's IP, not yours. Turn it off to send directly from your browser instead.
jData fields
Values are sent as a JSON string in the jData form field.
Logged in User Id
- Example:
YOUR_USER_ID - Where to get it: The ID you log in with at trade.infinn.in (User ID = Client ID). Also returned as uid by GenAcsTok.
Trading symbol of any of the option or future. Option chainfor that underlying will be returned. (use url encoding to avoid special char error for symbols like M&M)
- Example:
RELIANCE-EQ - Where to get it: SearchScrip reply, or the TradingSymbol column of the exchange symbol file.
Exchange (UI need to check if exchange in NFO / CDS /MCX / or any other exchange which has options, if not don't allow)
- Example:
NSE - Where to get it: 'exarr' array in the UserDetails response.
- Allowed: NSE, NFO, BSE, MCX, CDS, NCX, BFO, BCD
Mid price for option chain selection
Number of strike to return on one side of the mid price for PUT and CALL. (example cnt is 4, total 16 contracts will be returned, if cnt is is 5 total 20 contract will be returned)
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
⚠ When "Use proxy" is on, this token is sent through this website's server on its way to Infinn. It is never logged here, but if you would rather it never leave your browser, turn off "Use proxy" above or use the ready code with your own client instead.
Request to be POSTed to url : /NorenWClientAPI/GetOptionChain
Request Details
| Parameter Name | Possible value | Description |
|---|---|---|
| jData* | Should send json object with fields in below list | |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
| Json Fields | Possible value | Description |
|---|---|---|
| uid* | Logged in User Id | |
| tsym* | Trading symbol of any of the option or future. Option chainfor that underlying will be returned. (use url encoding to avoid special char error for symbols like M&M) | |
| exch* | Exchange (UI need to check if exchange in NFO / CDS /MCX / or any other exchange which has options, if not don't allow) | |
| strprc* | Mid price for option chain selection | |
| cnt* | Number of strike to return on one side of the mid price for PUT and CALL. (example cnt is 4, total 16 contracts will be returned, if cnt is is 5 total 20 contract will be returned) |
Response Details
Response data will be in json format with below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| stat | Ok or Not_Ok | Market watch success or failure indication. |
| values | Array of json objects. (object fields given in below table) | |
| emsg | This will be present only in case of errors. That is :
|
| Json Fields of object in values Array | Possible value | Description |
|---|---|---|
| exch | CDS, NFO ... | Exchange |
| tsym | Trading symbol of the scrip (contract) | |
| token | Token of the scrip (contract) | |
| optt | Option Type | |
| strprc | Strike price | |
| pp | Price precision | |
| ti | Tick size | |
| ls | Lot size |
curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/GetOptionChain' \
--header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
--header 'Content-Type: text/plain' \
--data 'jData={"uid":"YOUR_USER_ID","tsym":"RELIANCE-EQ","exch":"NSE","strprc":"","cnt":""}'