Get Security Info
/NorenWClientAPI/GetSecurityInfoAuthorization 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.
Exchange
- Example:
NSE - Where to get it: 'exarr' array in the UserDetails response.
- Allowed: NSE, NFO, BSE, MCX, CDS, NCX, BFO, BCD
Contract Token
- Example:
2885 - Where to get it: SearchScrip reply, or the Token column of the symbol file.
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/GetSecurityInfo
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 | |
| exch | Exchange | |
| token | Contract Token |
Example
jData={"uid":"{{USER_ID}}", "exch":"NSE", "token":"22"}Response Details
Response data will have below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| request_time | It will be present only in a successful response. | |
| stat | Ok or Not_Ok | Market watch success or failure indication. |
| exch | NSE, BSE, NFO ... | Exchange |
| tsym | Trading Symbol | |
| cname | Company Name | |
| symnam | Symbol Name | |
| seg | Segment | |
| exd | Expiry Date | |
| instname | Intrument Name | |
| strprc | Strike Price | |
| optt | Option Type | |
| isin | ISIN | |
| ti | Tick Size | |
| ls | Lot Size | |
| pp | Price precision | |
| mult | Multiplier | |
| gp_nd | gn/gd * pn/pd (text format) | |
| prcunt | Price Units | |
| prcqqty | Price Quote Qty | |
| trdunt | Trade Units | |
| delunt | Delivery Units | |
| frzqty | Freeze Qty | |
| gsmind | scripupdate Gsm Ind | |
| elmbmrg | Elm Buy Margin | |
| elmsmrg | Elm Sell Margin | |
| addbmrg | Additional Long Margin | |
| addsmrg | Additional Short Margin | |
| splbmrg | Special Long Margin | |
| splsmrg | Special Short Margin | |
| delmrg | Delivery Margin | |
| tenmrg | Tender Margin | |
| tenstrd | Tender Start Date | |
| tenendd | Tender End Eate | |
| exestrd | Exercise Start Date | |
| exeendd | Exercise End Date | |
| mkt_t | Market type | |
| issue_d | Issue date | |
| listing_d | Listing date | |
| last_trd_d | last trading date | |
| elmmrg | Elm Margin | |
| varmrg | Var Margin | |
| expmrg | Exposure Margin | |
| token | Contract Token | |
| prcftr_d | ((GN / GD) * (PN/PD)) (actual value for calculations) | |
| weekly | Weekly Option, 'W1', 'W2', 'W3', 'W4' th week | |
| nontrd | Non tradable instruments | |
| dname | Broker specific contract display name, present only if applicable. | |
| uc | Upper circuit limitlc | |
| lc | Lower circuit limit | |
| ord_msg | Order Message | |
| exptime | Expiry Time |
Sample Success Response
{
"request_time": "17:43:38 31-10-2020",
"stat": "Ok",
"exch": "NSE",
"tsym": "ACC-EQ",
"cname": "ACC LIMITED",
"symname": "ACC",
"seg": "EQT",
"instname": "EQ",
"isin": "INE012A01025",
"pp": "2",
"ls": "1",
"ti": "0.05",
"mult": "1",
"prcftr_d": "(1 / 1 ) * (1 / 1)",
"trdunt": "ACC.BO",
"delunt": "ACC",
"token": "22",
"varmrg": "40.00"
}Sample Failure Response
{
"stat":"Not_Ok",
"request_time":"10:50:54 10-12-2020",
"emsg":"Error Occurred : 5 \"no data\""
}curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/GetSecurityInfo' \
--header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
--header 'Content-Type: text/plain' \
--data 'jData={"uid":"YOUR_USER_ID"}'