Skip to main content

Get security info

The Get SecurityInfo APIs provide comprehensive information about various instruments.

Method: POST

https://connect.thefirstock.com/api/V3/securityInfo

Request details

ParameterDescriptionData typesExample
userIdUser Id of the login userString"AA1999"
exchangeExchangeString"NSE"
tokenContract TokenString"22"
jKeyKey Obtained on login success.String"d4180daa72ea70885ab0d
0fb38f0fa5796352b57de0
641d4442294b87f2b7315"
 curl -X POST 'https://connect.thefirstock.com/api/V3/securityInfo'
-H 'Content-Type: application/json'
-d '{
"userId": "AA123",
"jKey": "e6a211bea63adff386578988e1cf4a9521c4744e6a39ad63174c8797e2af8c38",
"exchange": "NSE",
"token": "22"
}'

Success response details

ParameterDescriptionData typesExamples
statusSuccessString"Success"
data.exchangeNSE, BSE,NFOString"NSE"
data.tradingSymbolTrading SymbolString"ACC-EQ"
data.companyNameCompany NameString"ACC LIMITED"
data.symbolNameSymbol NameString"ACC"
data.segmentSegmentString"EQT"
data.instrumentNameIntrument NameString"EQ"
data.tickSizeTick SizeString"0.05",
data.lotSizeLot SizeString"1"
data.pricePrecisionPrice precisionString"2"
data.multMultiplierString"1"
data.tokenContract TokenString"22"
data.prcftr_d((GN / GD) * (PN/PD))String"(1 / 1 ) * (1 / 1)"

Failure response details

ParameterDescriptionData TypeExample
statusFailedString"Failed"
codeHTTP CodeString"401"
nameType of errorString"INVALID_USERID"
error.fieldError fieldString"userid"
error.messageError messageString"userid parameter is invalid"

Sample response

 {
"status": "Success",
"data": {
"exchange": "NSE",
"tradingSymbol": "ACC-EQ",
"symbolName": "ACC",
"companyName": "ACC LIMITED",
"instrumentName": "EQ",
"segment": "EQT",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05",
"mult": "1",
"prcftr_d": "(1 / 1 ) * (1 / 1)",
"token": "22"
}
}