Skip to main content

Search scrips

The Search scrips APIs provide you with the ability to efficiently search for instruments by utilizing relevant keywords.

Method: post

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

Request details

ParameterDescriptionData typeExample
userIdUser Id of the login userString"AA1999"
stextSearch TextString"ITC"
jKeykey obtained during loginString"d4180daa72ea70885ab0
d0fb38f0fa5796352b57d
0641d4442294b87f2b7315"
curl -X POST 'https://connect.thefirstock.com/api/V3/searchScrips'
-H 'Content-Type: application/json'
-d '{
"userId": "AA123",
"jKey": "e6a211bea63adff386578988e1cf4a9521c4744e6a39ad63174c8797e2af8c38",
"stext": "ITC"
}'

Success response details

ParameterDescriptionData typesExamples
statusSuccessString"Success"
data.statusOkString"Success"
valueslist of symbol informationsString"NSE","ITC-EQ"

Response Details: Json Fields of object in values Array

ParameterDescriptionData TypeExample
exchangeNSE, BSE, NFO, BFO... ExchangeString"NSE"
tradingSymbolTrading symbol of the scrip (contract)String"MUTHOOTFIN-EQ"
tokenToken of the scrip (contract)String"23650"
pricePrecisionPrice precisionString"2"
tickSizeTick sizeString"0.05"
lotSizeLot sizeString"1"
companyNameCompany NameString"MUTHOOT FINANCE LIMITED"
instrumentNameInstrument NameString"EQ"

Failure response details

ParameterDescriptionData TypeExample
statusFailedString"Failed"
codeHTTP CodeString"400"
nameType of errorString"BAD_REQUEST"
error.fieldError fieldString"stext"
error.messageError messageString"stext cannot be undefined or NULL"

Sample response

{
"status": "Success",
"values": [
{
"exchange": "NSE",
"tradingSymbol": "MUTHOOTFIN-EQ",
"token": "23650",
"companyName": "MUTHOOT FINANCE LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MUTHOOTCAP-EQ",
"token": "10415",
"companyName": "MUTHOOT CAP SERV LTD",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MURUDCERA-EQ",
"token": "2313",
"companyName": "MURUDESHWAR CERAMICS LTD",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MUNJALSHOW-EQ",
"token": "2307",
"companyName": "MUNJAL SHOWA LTD",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MUNJALAU-EQ",
"token": "13511",
"companyName": "MUNJAL AUTO IND. LTD.",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MUKTAARTS-EQ",
"token": "8687",
"companyName": "MUKTA ARTS LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MUKANDLTD-EQ",
"token": "11325",
"companyName": "MUKAND LTD.",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MTNL-EQ",
"token": "2294",
"companyName": "MAHANAGAR TELEPHONE NIGAM",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MTEDUCARE-BE",
"token": "31413",
"companyName": "MT EDUCARE LTD",
"instrumentName": "BE",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MTARTECH-EQ",
"token": "2709",
"companyName": "MTAR TECHNOLOGIES LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MSUMI-EQ",
"token": "8596",
"companyName": "MOTHERSON SUMI WRNG IND L",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MSTCLTD-EQ",
"token": "9356",
"companyName": "MSTC LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MSPL-EQ",
"token": "11919",
"companyName": "MSP STEEL & POWER LTD.",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MRPL-EQ",
"token": "2283",
"companyName": "MRPL",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MRO-TEK-EQ",
"token": "8998",
"companyName": "MRO-TEK REALTY LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MRF-EQ",
"token": "2277",
"companyName": "MRF LTD",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MPSLTD-EQ",
"token": "10578",
"companyName": "MPS LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MPHASIS-EQ",
"token": "4503",
"companyName": "MPHASIS LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MOVALUE-EQ",
"token": "10825",
"companyName": "MOTILALAMC - MOVALUE",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.01"
},
{
"exchange": "NSE",
"tradingSymbol": "MOTOGENFIN-EQ",
"token": "2268",
"companyName": "MOTOR & GENERAL FINANCE L",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MOTILALOFS-EQ",
"token": "14947",
"companyName": "MOTILAL OSWAL FIN LTD",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MOTHERSON-EQ",
"token": "4204",
"companyName": "SAMVRDHNA MTHRSN INTL LTD",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MOREPENLAB-EQ",
"token": "2259",
"companyName": "MOREPEN LAB. LTD",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MORARJEE-EQ",
"token": "28877",
"companyName": "MORARJEE TEXTILES LIMITED",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05"
},
{
"exchange": "NSE",
"tradingSymbol": "MOQUALITY-EQ",
"token": "10822",
"companyName": "MOTILALAMC - MOQUALITY",
"instrumentName": "EQ",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.01"
}
]
}