Infinn API Documentation
Watch Lists

Get Security Info

POST/NorenWClientAPI/GetSecurityInfo

Authorization 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 NamePossible valueDescription
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 FieldsPossible valueDescription
uid*Logged in User Id
exchExchange
tokenContract Token

Example

jData={"uid":"{{USER_ID}}", "exch":"NSE", "token":"22"}
Response Details

Response data will have below fields:

Json FieldsPossible valueDescription
request_timeIt will be present only in a successful response.
statOk or Not_OkMarket watch success or failure indication.
exchNSE, BSE, NFO ...Exchange
tsymTrading Symbol
cnameCompany Name
symnamSymbol Name
segSegment
exdExpiry Date
instnameIntrument Name
strprcStrike Price
opttOption Type
isinISIN
tiTick Size
lsLot Size
ppPrice precision
multMultiplier
gp_ndgn/gd * pn/pd (text format)
prcuntPrice Units
prcqqtyPrice Quote Qty
trduntTrade Units
deluntDelivery Units
frzqtyFreeze Qty
gsmindscripupdate Gsm Ind
elmbmrgElm Buy Margin
elmsmrgElm Sell Margin
addbmrgAdditional Long Margin
addsmrgAdditional Short Margin
splbmrgSpecial Long Margin
splsmrgSpecial Short Margin
delmrgDelivery Margin
tenmrgTender Margin
tenstrdTender Start Date
tenenddTender End Eate
exestrdExercise Start Date
exeenddExercise End Date
mkt_tMarket type
issue_dIssue date
listing_dListing date
last_trd_dlast trading date
elmmrgElm Margin
varmrgVar Margin
expmrgExposure Margin
tokenContract Token
prcftr_d((GN / GD) * (PN/PD)) (actual value for calculations)
weeklyWeekly Option, 'W1', 'W2', 'W3', 'W4' th week
nontrdNon tradable instruments
dnameBroker specific contract display name, present only if applicable.
ucUpper circuit limitlc
lcLower circuit limit
ord_msgOrder Message
exptimeExpiry 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"}'
Response will appear here after sending a request