Skip to content
Skip to Content
DalalOSdocs

Tool reference

NIFTY index P/E, P/B and dividend yield history

get_index_valuation — Index valuation history. 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_index_valuation for you and answers from the figures it returns.

EXAMPLE PROMPTS

  • Show NIFTY IT valuation history over the last year.
  • Show the NIFTY 50 P/E and P/B history for the last five years.
  • What was the NIFTY Bank dividend yield over the last year?

Parameters and response fields

get_index_valuation

Index valuation history

USE WHEN

Read NSE-sourced index-level PE, PB and dividend-yield time series, including sector indices.

PARAMETERS

get_index_valuation parameters
NameTypeRequiredDefaultDescription
indexstringYes—NSE index name such as Nifty 50, Nifty Bank or Nifty IT; list_index_valuations gives the names.
from_datedateNo—ISO start date; the window is at most 1825 days.
to_datedateNo—ISO end date. The default window is the 30 days to today.

RESPONSE DATA

  • Index valuation rows with date, open, high, low, close, PE, PB and dividend yield.

NOTES

  • An unrecognized index name returns reason_code "no_data" with an available_indices_hint rather than a bare error.
Also available via REST: /index-valuations/{index}

See the same data on DalalOS

Public pages that need no sign-in and show data from the same source.

The same data over REST, run on 2026-11-27

This tool reads the same data as GET /index-valuations/{index}. The call and the answer below were run against the live API.

NSE index valuation series for NIFTY 50
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/index-valuations/NIFTY%2050?from=2026-10-01"
{
  "status": "success",
  "data": {
    "index": "NIFTY 50",
    "from": "2026-10-01",
    "to": "2026-11-27",
    "count": 39,
    "results": [
      {
        "trade_date": "2026-10-01",
        "open": 22543.7,
        "high": 22610.6,
        "low": 22217.3,
        "close": 22421.95,
        "points_change": -198.5,
        "pct_change": -0.88,
        "volume": 451303049,
        "turnover": 36534.26,
        "pe": 19.19,
        "pb": 2.75,
        "div_yield": 1.23
      },
      {
        "trade_date": "2026-10-05",
        "open": 22532.4,
        "high": 22621.8,
        "low": 22397.1,
        "close": 22555.75,
        "points_change": 133.8,
        "pct_change": 0.6,
        "volume": 412554239,
        "turnover": 33398.25,
        "pe": 19.3,
        "pb": 2.77,
        "div_yield": 1.23
      }
    ]
  },
  "cached_at": "2026-11-27T14:54:00+00:00",
  "source": "nse",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 219.916,
  "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.