Skip to content
Skip to Content
DalalOSdocs

Tool reference

Indian sector median P/E, P/B and dividend yield

get_sector_overview — Sector or industry aggregates — median PE, PB, dividend yield. 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_sector_overview for you and answers from the figures it returns.

EXAMPLE PROMPTS

  • What's the median PE and dividend yield across the banking sector right now?
  • Compare the median P/E of the IT and pharma sectors.
  • Show the median price to book for the banking sector.

Parameters and response fields

get_sector_overview

Sector or industry aggregates — median PE, PB, dividend yield

USE WHEN

Zoom out from one stock to a whole sector: median valuation and how many companies sit in it.

PARAMETERS

get_sector_overview parameters
NameTypeRequiredDefaultDescription
sectorstringNo—Omit to list every group at the chosen grain; pass a name at that grain for one group. Matched whatever the case; a name that is not recognised returns the closest valid names.
grainstringNosector"sector" | "igroup" (SEBI industry) | "isubgroup" (SEBI basic industry).

RESPONSE DATA

  • groups — name, count, total_market_cap, median_pe, mean_pe, median_pb, and (when precomputed) median_dividend_yield / median_return_1y.
Also available via REST: /sectors

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 /sectors. The call and the answer below were run against the live API.

Sector overview (all groups)
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/sectors?grain=sector"
{
  "status": "success",
  "data": {
    "grain": "sector",
    "group_count": 12,
    "groups": [
      {
        "name": "Financial Services",
        "count": 667,
        "total_market_cap": 127597989044000,
        "market_cap_quality": {
          "included_count": 642,
          "excluded_count": 25,
          "excluded_reason_counts": {
            "market_cap_implausible": 21,
            "missing_market_cap": 4
          }
        },
        "median_pe": 16.9232,
        "mean_pe": 24.359,
        "median_pb": 1.2765,
        "median_dividend_yield": 0.0097,
        "median_return_1y": -0.091
      },
      {
        "name": "Consumer Discretionary",
        "count": 1263,
        "total_market_cap": 97657003133400,
        "market_cap_quality": {
          "included_count": 1235,
          "excluded_count": 28,
          "excluded_reason_counts": {
            "market_cap_implausible": 28
          }
        },
        "median_pe": 20.7185,
        "mean_pe": 27.0604,
        "median_pb": 1.7288,
        "median_dividend_yield": 0.0066,
        "median_return_1y": -0.1468
      }
    ]
  },
  "cached_at": "2026-11-26T14:49:08+00:00",
  "source": "indian-stock-mcp",
  "stale": true,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 87015.382
}

Saved answer. Run on 2026-11-27, answered 200. The API marked it stale ("stale": true): it answered from its last stored copy because a newer one was not available. 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.