Last Traded Price (LTP)
Fetch the last traded price for one or more instruments.
Endpoint
Request
curl -X POST "https://{baseurl}/md-api/marketfeed/ltp" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"InstrumentIds": [110010000014366]}'
Request body
| Field |
Type |
Description |
InstrumentIds |
integer[] |
List of instrument IDs |
Response
{
"data": {
"110010000014366": {
"instrumentId": 110010000014366,
"ltp": 11.51
}
},
"status": "success"
}
Response fields
| Field |
Type |
Description |
status |
string |
"success" or "error" |
data |
object |
Map of instrument ID to LTP data |
data.{instrumentId} |
object |
Instrument ID as string key |
instrumentId |
integer |
Instrument identifier |
ltp |
double |
Last traded price |