GET /market-breadth
Advance/decline breadth
Whole-market advances/declines/unchanged counts per trading day.
Try it
To test this route you need an API key on a plan that includes the REST API. Create one on the keys page of your dashboard, paste it into the Authorization field of the reference on this page and press Send. Your key stays in this browser tab.
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.
A call can also answer 402, 403, 409 or 429 when a plan's limit is reached; those are described on Plans, credits and errors.
Parameters and response
bearerAuthAuthorizationBearer <token>DalalOS API key (isk_live_...) as a Bearer token. Create one in the DalalOS dashboard.
from?stringOptional ISO date (YYYY-MM-DD).
to?stringOptional ISO date (YYYY-MM-DD).
universe?stringall_series | equity_sme | equity: counts derived from the bhavcopy.
Success (or success-with-empty when nothing is cached).
application/json- response
Standard DalalOS response envelope. source is a per-tool provenance tag; stale/data_age_seconds describe cache freshness.
as_of?stringISO date (YYYY-MM-DD) the data refers to: the trade date of the newest row, or the end date of the newest period. Present only on tools that state one; cached_at is the fetch time.
datecached_at?stringISO timestamp the served data was refreshed.
data?unknownTool payload (object or array); null on error.
data_age_seconds?numberPresent only when cached_at is set.
error?stringreason_code?stringStable machine-readable category (no_data, not_found, bad_request,...).
resolved_via?stringPresent only when a query resolved via a rename/merger alias (rename, merger, demerger_successor; single-company result) or, on /v1/search, an everyday name (common_name: the company it means is the first row and carries the same resolved_via on the row; ordinary matches follow).
source?stringstale*booleanstatus*string"success""error"What comes back
The top-level fields of data in the saved answer, run on 2026-11-27. The fields can differ for another company or window.
| Field | Type |
|---|---|
from | string |
to | string |
count | number |
results | list |
Errors
The errors every route can return (401, 402, 403, 429 and the rest) are on Plans, credits and errors.
In MCP
The MCP tool get_market_breadth reads the same data, for an AI assistant that connects over MCP, the Model Context Protocol, instead of REST.
Research data only. Answers are disclosed facts and mechanically computed figures. They are not investment advice.
KEEP EXPLORING