Market data¶
Check whether markets are open and read prices on demand. For a continuous stream, use the live prices WebSocket.
Each market data endpoint allows 5 calls per second per user.
Market status¶
GET /v1/market/status
Returns one row per exchange (US and LSE).
curl --location 'https://api.indmoneyglobal.com/v1/market/status' \
--header 'Authorization: YOUR_ACCESS_TOKEN'
{
"status": "success",
"data": [
{
"exchange": "US",
"is_open": true,
"is_market_day": true,
"session": "REGULAR",
"extended_hours_live": false,
"next_market_open": 1794407400,
"next_market_close": 1794430800,
"server_time": 1794429452
},
{
"exchange": "LSE",
"is_open": false,
"is_market_day": true,
"session": "CLOSED",
"extended_hours_live": false,
"next_market_open": 1794470400,
"next_market_close": 1794501000,
"server_time": 1794429452
}
]
}
| Field | Type | Meaning |
|---|---|---|
exchange | string | US or LSE |
is_open | bool | true while the market is open |
is_market_day | bool | true if today is a trading day |
session | string | PRE, REGULAR, POST or CLOSED |
extended_hours_live | bool | true while a pre-market or after-hours session is running |
next_market_open | int | Next open, epoch seconds |
next_market_close | int | Next close, epoch seconds |
server_time | int | Server clock, epoch seconds |
Market hours¶
The session field in market status and quotes is PRE, REGULAR, POST or CLOSED. These are the US sessions in New York time and IST:
session | New York time | IST, US daylight saving time (2nd Sunday of March to 1st Sunday of November) | IST, rest of the year |
|---|---|---|---|
PRE (pre-market) | 4:00 am – 9:30 am | 1:30 pm – 7:00 pm | 2:30 pm – 8:00 pm |
REGULAR | 9:30 am – 4:00 pm | 7:00 pm – 1:30 am (next day) | 8:00 pm – 2:30 am (next day) |
POST (post-market) | 4:00 pm – 8:00 pm | 1:30 am – 5:30 am | 2:30 am – 6:30 am |
CLOSED | 8:00 pm – 4:00 am, weekends and US market holidays | 5:30 am – 1:30 pm | 6:30 am – 2:30 pm |
India doesn't change its clocks, so the IST times move by an hour when the US changes its clocks. On some days before a holiday, the US market closes early at 1:00 pm New York time.
LSE regular hours are 8:00 am to 4:30 pm London time: 12:30 pm to 9:00 pm IST while the UK is on summer time (last Sunday of March to last Sunday of October), and 1:30 pm to 10:00 pm IST the rest of the year.
Tip
Read session from market status rather than hard-coding these times. It accounts for holidays and early closes. Pre-market and post-market orders need extended_hours: true; see Place order.
Quotes¶
GET /v1/market/quotes/{mode}?security_ids=<ids>
| Parameter | In | Required | Value |
|---|---|---|---|
mode | path | Yes | ltp (last price only) or full (full quote) |
security_ids | query | Yes | Comma-separated, up to 1,000 per call, e.g. 116532,118186 |
Unknown IDs are left out of data; the call still returns 200. Any other mode returns 400 DataException.
LTP¶
curl --location 'https://api.indmoneyglobal.com/v1/market/quotes/ltp?security_ids=116532' \
--header 'Authorization: YOUR_ACCESS_TOKEN'
{
"status": "success",
"data": {
"116532": {
"security_id": "116532",
"live_price": 378.5,
"extended_price": null,
"session": "REGULAR",
"ts": 1793196524311
}
}
}
| Field | Type | Meaning |
|---|---|---|
security_id | string | Instrument |
live_price | number | Last traded price in the regular session |
extended_price | number or null | Last price in pre-market or after-hours; null outside those sessions |
session | string | PRE, REGULAR, POST or CLOSED |
ts | int | Quote time, epoch milliseconds |
Full¶
curl --location 'https://api.indmoneyglobal.com/v1/market/quotes/full?security_ids=116532' \
--header 'Authorization: YOUR_ACCESS_TOKEN'
{
"status": "success",
"data": {
"116532": {
"security_id": "116532",
"symbol": "VTI",
"live_price": 378.5,
"day_change": 0.58,
"day_change_percentage": 0.15,
"day_open": 378.65,
"day_high": 378.77,
"day_low": 377.7,
"prev_close": 377.92,
"52week_high": 385.12,
"52week_low": 310.4,
"bid_price": 378.47,
"ask_price": 378.49,
"bid_size": 240,
"ask_size": 280,
"volume": 243110,
"market_cap": null,
"extended_price": null,
"extended_change_percentage": null,
"session": "REGULAR",
"currency": "USD",
"ts": 1793197248000
}
}
}
| Field | Meaning |
|---|---|
symbol | Ticker |
live_price | Last traded price |
day_change, day_change_percentage | Change from prev_close, in USD and percent |
day_open, day_high, day_low | Today's open, high and low |
prev_close | Previous session's close |
52week_high, 52week_low | 52-week range |
bid_price, ask_price | Best bid and ask |
bid_size, ask_size | Shares at the best bid and ask |
volume | Shares traded today |
market_cap | Market capitalisation, or null when not available |
extended_price, extended_change_percentage | Pre-market or after-hours price and change; null outside those sessions |
session | PRE, REGULAR, POST or CLOSED |
currency | e.g. USD |
ts | Quote time, epoch milliseconds |
Any price or size field can be null when no value is available.
Errors¶
| HTTP | Code | When |
|---|---|---|
| 400 | DataException | Missing security_ids, more than 1,000 IDs, or a mode other than ltp / full |
| 403 | TokenException | Token missing or invalid |
| 429 | RateLimitException | More than 5 calls per second; wait for Retry-After |
| 500 | InternalException | Server error; retry after a short wait |