Skip to main content

Get multi quotes ltp

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/ltp

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/ltp' \
--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.requestTimeIt will be present only on successful response.String"12:29:12 18-03-2023"
data.companyNameCompany NameString"NIFTY INDEX"
data.exchangeNSE, BSE, NFO, BFOString"NSE"
data.tokentoken String"26000"
data.lastTradedPricelast Traded Price String"17438.65"

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:29:12 18-03-2023",
"companyName": "NIFTY INDEX",
"exchange": "NSE",
"token": "26000",
"lastTradedPrice": "17438.65"
}
}
]
}