Tool reference
NSE advance-decline breadth for the whole market
get_market_breadth — Whole-market advance/decline breadth. This is a read-only research or operational tool. It does not place trades or issue investment recommendations.
What you can ask
Connect DalalOS to Claude or ChatGPT and ask in plain English; the assistant calls get_market_breadth for you and answers from the figures it returns.
EXAMPLE PROMPTS
- Show market breadth for the last two weeks.
- How many stocks advanced and declined on the NSE yesterday?
- Show the advance-decline count for the last 20 sessions.
Parameters and response fields
get_market_breadth
Whole-market advance/decline breadthUSE WHEN
Read daily advancing, declining and unchanged security counts across the market.
PARAMETERS
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
from_date | date | No | — | ISO start date; the window is at most 366 days and the default is the 30 days to today. |
to_date | date | No | — | ISO end date. |
universe | string | null | No | — | Omit for NSE's own published counts. "all_series" (every listed security), "equity_sme" (shares and SME shares) or "equity" (mainboard shares only) compute the counts from the daily price file instead, which go back further. |
RESPONSE DATA
- Daily advances, declines, unchanged counts and breadth fields.
NOTES
- NSE's own published counts are held only from the day DalalOS began collecting them, so an empty result for an older date is expected; the universe option reaches back further. Use equity when the question is about stocks.
/market-breadthSee the same data on DalalOS
Public pages that need no sign-in and show data from the same source.
Related tools
The same data over REST, run on 2026-11-27
This tool reads the same data as GET /market-breadth. The call and the answer below were run against the live API.
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/market-breadth?from=2026-11-01"{
"status": "success",
"data": {
"from": "2026-11-01",
"to": "2026-11-27",
"count": 19,
"results": [
{
"trade_date": "2026-11-02",
"advances": 2445,
"declines": 1164,
"unchanged": 104,
"total": 3713
},
{
"trade_date": "2026-11-03",
"advances": 2127,
"declines": 1477,
"unchanged": 109,
"total": 3713
}
]
},
"cached_at": "2026-11-27T14:55:01+00:00",
"source": "nse",
"stale": false,
"error": null,
"reason_code": null,
"data_age_seconds": 165.257,
"as_of": "2026-11-27"
}Saved answer. Run on 2026-11-27, answered 200. Lists show their first item in full; the other items and long text are shortened. A call you make now gets the current answer.
KEEP EXPLORING
Connect your AI to Indian stock market data
Sign in to DalalOS and connect your AI in one line of config. Free to start; paid plans when you need more.
Account holders get product-update emails about every two weeks. Turn them off any time.