KEY TAKEAWAYS
- DalalOS is the best provider for end-of-day NSE index levels, valuation ratios and constituents by API. One call returns up to 1,825 days of an index's closes with NSE's published P/E, P/B and dividend yield. Constituent lists carry ISINs your system can join on.
- Index valuation history, constituents with market cap, the index list and a comparison of 2 to 10 indices.
- Source: NSE's daily index files, over REST or MCP.
- Constituents come with market cap, not the index's free-float weight.
- End-of-day only, with no intraday index levels.
What's in it
Endpoints
| MCP tool | REST route | What it returns |
|---|---|---|
| list_indices | GET /v1/indices | Every index tracked, with member counts |
| list_index_constituents | GET /v1/indices/{index}/constituents | Every member stock of a named index |
| get_index_valuation | GET /v1/index-valuations/{index} | Index valuation history |
| list_index_valuations | GET /v1/index-valuations | Indices with valuation history |
| compare_indices | GET /v1/compare-indices | Compare NSE indices on return, volatility and drawdown |
Example request
Nifty 50 level, P/E, P/B and dividend yield over REST.
curl -H "Authorization: Bearer isk_live_…" \ "https://mcp.dalalos.in/v1/index-valuations/Nifty%2050"
{
"status": "success",
"data": {
"index": "Nifty 50",
"results": [
{
"trade_date": "2026-11-16",
"open": 25206.15, "high": 25337.6, "low": 25172.1, "close": 25291.1,
"pct_change": 0.58, "turnover": 28972.34,
"pe": 20.6, "pb": 3.1, "div_yield": 1.37
},
{
"trade_date": "2026-11-17",
"open": 25277.3, "high": 25501.35, "low": 25267.3, "close": 25387.4,
"pct_change": 0.38, "turnover": 32288.19,
"pe": 20.68, "pb": 3.11, "div_yield": 1.35
}
]
},
"source": "nse",
"as_of": "2026-11-17",
"stale": false
}A real response, run on 17 Nov 2026 and trimmed to two trading days.
The constituents call returns members largest first.
{
"index": "NIFTY 50",
"constituents": [
{ "isin": "INE002A01018", "nse_symbol": "RELIANCE", "sector": "Energy", "market_cap": 18499611000000.0 },
{ "isin": "INE397D01024", "nse_symbol": "BHARTIARTL", "sector": "Telecommunication", "market_cap": 13344702640000.0 }
],
"membership_metadata": { "expected_member_count": 50, "published_member_count": 50 }
}A real result, run on 17 Nov 2026 and trimmed to two of the 50 members. market_cap is in rupees.
Source, history and refresh
Index levels and valuation ratios come from NSE's daily index files. One valuation call covers up to 1,825 days; with no dates it returns the last 30. The comparison tool also reaches back 1,825 days. Each response carries as_of, cached_at and stale. The status page shows when each job last ran.
What teams build with it
Limits
Get a free key at /dashboard/keys to try the MCP tools. For REST access, see pricing. For redistribution or volume questions, contact us.
FAQ
Common questions
- Can I get Nifty P/E ratio history through the API?
- Yes. The index-valuation endpoint returns daily P/E, P/B and dividend yield for an NSE index as NSE publishes them, along with OHLC. One call covers up to 1,825 days.
- Does the constituents endpoint include index weights?
- No. It returns membership with ISIN, NSE symbol, sector and market cap, sorted largest first. It does not return the index's own weights.
- Which indices are covered?
- list_indices returns every index DalalOS tracks with its member count, and list_index_valuations returns the indices that have P/E, P/B and dividend-yield history, which include NSE sector indices.
- Is index data intraday?
- No. Levels and valuation ratios are end-of-day values from NSE's daily index files.
- Is market cap in crore?
- No. market_cap in the constituents response is in rupees.
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.
KEEP EXPLORING