Skip to main content

Get multi quotes

Our market quotes APIs provide you with access to up-to-date market data for various instruments. These data snapshots are collected directly from the exchanges in real-time, ensuring the accuracy of the information at the time of your request. For real-time streaming market quotes, we recommend utilizing our WebSocket API.

Method: POST

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

Request details

ParameterDescriptionData typesExample
userIdUser Id of the login userString"AA1999"
exchangeExchangeString"BSE"
tokenContract TokenString"26000"
jKeyKey Obtained on login success.String"d4180daa72ea70885ab0d
0fb38f0fa5796352b57de0
641d4442294b87f2b7315"
curl --location 'http://connect.thefirstock.com/api/V3/getMultiQuotes' \
--header 'Content-Type: application/json' \
--data '{
"userId": "AA123",
"jKey": "e6a211bea63adff386578988e1cf4a9521c4744e6a39ad63174c8797e2af8c38",
"data": [
{
"exchange": "NSE",
"token": "26000"
},
{
"exchange": "NFO",
"token": "55101"
}
]
}'

Success response details

ParameterDescriptionData typesExamples
statusSuccessString"Success
data.tokentoken String"26000"
data.requestTimeIt will be present only on successful response.String"12:26:55 18-03-2023"
data.companyNameCompany NameString"NIFTY INDEX"
data.exchangeNSE, BSE, NFO, BFOString"NSE"
data.tradingSymbolTrading symbolString"Nifty 50"
data.symbolNameSymbol NameString"NIFTY"
data.segmentsegment String"EQT"
data.instrumentNameinstnameString "UNDIND"
data.pricePrecisionPrice precisionString"2"
data.lotSizeLot sizeString"1"
data.tickSizeTick sizeString"0.05"
data.multiplerMultiplierString"1"
data.priceFactorPrice factor ((GN / GD) * (PN/PD) )String"(1 / 1 ) * (1 / 1)"
data.lastTradedPriceLTPString "17314.75"
data.companyCompany String"17100.05"
data.upperCircuitUpper circuit limitString"0.00"
data.lowerCircuitLower circuit limitString"0.00"
data.dayHighPriceDay High PriceString"17745.60"
data.dayLowPriceDay Low PriceString "16921.35"
data.volumeVolumeString"0.00"
data.lastTradedQuantityLast trade quantityString"0.00"
data.lastTradeTimeLast trade timeString"0.00"
data.bestBuyPrice1Best Buy Price 1String"0.00"
data.bestBuyPrice2Best Buy Price 2String "0.00"
data.bestBuyPrice3Best Buy Price 3String"0.00"
data.bestBuyPrice4Best Buy Price 4String"0.00"
data.bestBuyPrice5Best Buy Price 5String"0.00"
data.bestSellPrice1Best Sell Price 1String"0.00"
data.bestSellPrice2Best Sell Price 2String"0.00"
data.bestSellPrice3Best Sell Price 3String"0.00"
data.bestSellPrice4Best Sell Price 4String "0.00"
data.bestSellPrice5Best Sell Price 5String"0.00"
data.bestBuyQuantity1Best Buy Quantity 1String"0.00"
data.bestBuyQuantity2Best Buy Quantity 2String"0.00"
data.bestBuyQuantity3Best Buy Quantity 3String"0.00"
data.bestBuyQuantity4Best Buy Quantity 4String"0.00"
data.bestBuyQuantity5Best Buy Quantity 5String"0.00"
data.bestSellQuantity1Best Sell Quantity 1String"0.00"
data.bestSellQuantity2Best Sell Quantity 2String"0.00"
data.bestSellQuantity3Best Sell Quantity 3String"0.00"
data.bestSellQuantity4Best Sell Quantity 4String"0.00"
data.bestSellQuantity5Best Sell Quantity 5String"0.00"
data.bestBuyOrder1Best Buy Order 1String"0.00"
data.bestBuyOrder2Best Buy Order 2String"0.00"
data.bestBuyOrder3Best Buy Order 3String"0.00"
data.bestBuyOrder4Best Buy Order 4String"0.00"
data.bestBuyOrder5Best Buy Order 5String"0.00"
data.bestSellOrder1Best Sell Order 1String"0.00"
data.bestSellOrder2Best Sell Order 2String"0.00"
data.bestSellOrder3Best Sell Order 3String"0.00"
data.bestSellOrder4Best Sell Order 4String"0.00"
data.bestSellOrder5Best Sell Order 5String"0.00"

Failure response details

ParameterDescriptionData TypeExample
statusFailedString"Failed"
codeHTTP CodeString"400"
nameType of errorString"EXCHANGE/TOKEN"
error.fieldError fieldString"exchange/token"
error.messageError messageString"Invalid Exchange/Token"

Sample response

{
"status": "Success",
"data": [
{
"token": "26000",
"result": {
"requestTime": "12:26:55 18-03-2023",
"companyName": "NIFTY INDEX",
"exchange": "NSE",
"tradingSymbol": "Nifty 50",
"symbolName": "NIFTY",
"segment": "EQT",
"instrumentName": "UNDIND",
"pricePrecision": "2",
"lotSize": "1",
"tickSize": "0.05",
"multipler": "1",
"priceFactor": "(1 / 1 ) * (1 / 1)",
"token": "26000",
"lastTradedPrice": "17314.75",
"company": "17100.05",
"upperCircuit": "0.00",
"lowerCircuit": "0.00",
"dayHighPrice": "17745.60",
"dayLowPrice": "16921.35",
"volume": "0.00",
"lastTradedQuantity": "0.00",
"lastTradeTime": "0.00",
"bestBuyPrice1": "0.00",
"bestBuyPrice2": "0.00",
"bestBuyPrice3": "0.00",
"bestBuyPrice4": "0.00",
"bestBuyPrice5": "0.00",
"bestSellPrice1": "0.00",
"bestSellPrice2": "0.00",
"bestSellPrice3": "0.00",
"bestSellPrice4": "0.00",
"bestSellPrice5": "0.00",
"bestBuyQuantity1": "0.00",
"bestBuyQuantity2": "0.00",
"bestBuyQuantity3": "0.00",
"bestBuyQuantity4": "0.00",
"bestBuyQuantity5": "0.00",
"bestSellQuantity1": "0.00",
"bestSellQuantity2": "0.00",
"bestSellQuantity3": "0.00",
"bestSellQuantity4": "0.00",
"bestSellQuantity5": "0.00",
"bestSellOrder1": "0.00",
"bestSellOrder2": "0.00",
"bestSellOrder3": "0.00",
"bestSellOrder4": "0.00",
"bestSellOrder5": "0.00",
"bestBuyOrder1": "0.00",
"bestBuyOrder2": "0.00",
"bestBuyOrder3": "0.00",
"bestBuyOrder4": "0.00",
"bestBuyOrder5": "0.00"
}
}
]
}