Quotes
This API allows you to get the latest quotes for one or more symbols in a single request.
USE CASE
Refresh the latest price, change, volume and best bid/ask for your watchlist in one request.
Note
Live Streaming — Stream live quote updates through the Data Socket. View Data Socket - Symbol Update documentation.
Details
- The Quotes API retrieves the full market quotes for one or more symbols provided by the user.
- Your app needs the Market Data permission. Quotes, Market Depth and Historical Data are part of that permission template.
- Send each symbol in
EXCHANGE:SYMBOL-SERIESformat, for exampleNSE:SBIN-EQ. - Each symbol comes back as its own entry with
n(symbol),s(ok or error) andv(values). Checksfor every symbol. - If you call the URL directly, URL-encode symbols with special characters, for example
M&MasM%26M. The SDKs do this for you. - Where the Call Auction Session does not apply,
imbalance,mkt_imbalanceandreference_pricereturn 0, andindicative_pricereturns the last traded price. - The
cmdfield is deprecated. Do not rely on it.
Plan limits
Standard plan
- Up to 50 symbols per request
Prime plan
- Up to 1,000 symbols per request
For rate limits and all other plan details, see Plans & rate limits.
Request Attributes
| Attribute | Data Type | Description |
|---|---|---|
symbols* | string | Maximum symbol limit is 50. Eg: NSE:SBIN-EQ. |
Response Attributes
| Attribute | Data Type | Description |
|---|---|---|
s | string | ok / error |
ch | float | Change value |
chp | float | Percentage of change between the current value and the previous day's market close |
lp | float | Last traded price |
spread | float | Difference between lowest asking and highest bidding price |
ask | float | Asking price for the symbol |
bid | float | Bidding price for the symbol |
open_price | float | Price at market opening time |
high_price | float | Highest price for the day |
low_price | float | Lowest price for the day |
prev_close_price | float | Previous closing price |
atp | float | Average traded price |
imbalance | int | Order imbalance quantity (total buy quantity minus total sell quantity) during the Call Auction Session. Returns 0 for symbols where CAS is not applicable |
mkt_imbalance | int | Market order imbalance quantity (market buy quantity minus market sell quantity) during the Call Auction Session. Returns 0 for symbols where CAS is not applicable |
reference_price | float | Reference price of the symbol for the Call Auction Session. Returns 0 for symbols where CAS is not applicable |
indicative_price | float | Indicative equilibrium price discovered during the Call Auction Session. For symbols where CAS is not applicable, it returns the last traded price |
volume | int | Volume traded |
short_name | string | Short name for the symbol Eg: “SBIN-EQ” |
exchange | string | Name of the exchange. Eg: “NSE” or “BSE” |
description | string | Description of the symbol |
original_name | string | Original name of the symbol name provided by the use |
symbol | string | Symbol name provided by the user |
fyToken | string | Unique token for each symbol |
tt | int | Today’s time |
cmd | dict | ---Deprecated--- |
Last updated on