Price/LTP
This API is used to get market data
Method | POST |
Production URL | https://openapi.motilaloswal.com/rest/report/v1/getltpdata |
Test URL | https://uatopenapi.motilaloswal.com/rest/report/v1/getltpdata |
Request | None or JSON (in case of Dealer) |
Response | JSON |
Request JSON
Field | Type | Mandatory | Description |
---|---|---|---|
clientcode | String(15) | N | Client ID Mandatory in case of Dealer |
exchange | String(10) | Y | Name of the Exchange |
scripcode | Number | Y | Scrip code or Symbol Token is unique identifier |
Sample Request (Body)
{
"clientcode":"AA020", // In case of dealer else not required
"exchange":"BSE",
"scripcode":500317
}
Sample Response
{
"status": "SUCCESS",
"message": "LTP DATA",
"errorcode": "",
"data": [
{
"exchange": "BSE",
"scripcode": 500317,
"open": 4170,
"high": 4190,
"low": 3840,
"close": 4040,
"ltp": 3840,
"volume": 222332
}
]
}
Note : The values of open, high, low, close and ltp are in paisa