Skip to content
Skip to Content
DalalOSdocs

Tool reference

Filter Indian stocks by ROE, P/E and holding

screen_stocks — Filter the entire market by valuation, quality and ownership metrics. 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 screen_stocks for you and answers from the figures it returns.

EXAMPLE PROMPTS

  • Find IT-sector stocks with ROE over 20% and PE under 30.
  • List NSE companies with promoter holding above 60% and no pledged shares.
  • Show stocks with debt to equity below 0.5 and ROCE above 15%.

Parameters and response fields

screen_stocks

Filter the entire market by valuation, quality and ownership metrics

USE WHEN

The screener: combine PE, ROE, debt, promoter holding, sector and 20+ other filters across thousands of NSE/BSE stocks.

PARAMETERS

screen_stocks parameters
NameTypeRequiredDefaultDescription
filtersobjectYes—Range filters (a metric name ending in _min or _max, e.g. pe_min, roe_max) plus exact filters: sector, industry, igroup, isubgroup, company_type (general, bank, nbfc or insurer), index and is_sme. Units depend on the metric: fractions for ROE-style ratios, percentages for promoter_pct and similar, rupees for market_cap and price.
sort_bystringNomarket_capField to sort results by.
orderstringNodesc"asc" or "desc".
limitintegerNo25Max rows, 1 to 100.

RESPONSE DATA

  • results — rows shaped like a quote+ratios row, each flagged if a value looks structurally off.
  • match_count, total_scanned, truncated (whether the scan was capped).

NOTES

  • An exact filter name is matched whatever the case. A name that is not recognised returns the closest valid names (reason_code "unrecognised_name") in place of an empty result.
  • A security with no value for a filtered metric is left out and counted in excluded_missing_metric; margin, debt and enterprise-value metrics have no value for banks, NBFCs and insurers.
  • Fraction-based metrics (ROE, ROA, ROCE, net margin, dividend/earnings/FCF yield) must be passed as fractions — 0.15, not 15. A bare percentage is rejected with a clear error rather than silently misfiltering.
Also available via REST: /screen

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

Screen the universe
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/screen?pe_max=20&roe_min=0.15&sort_by=market_cap&limit=10"
{
  "status": "success",
  "data": {
    "filters": {
      "pe_max": 20,
      "roe_min": 0.15
    },
    "sort_by": "market_cap",
    "order": "desc",
    "match_count": 570,
    "total_scanned": 5900,
    "truncated": true,
    "excluded_missing_metric": 2920,
    "results": [
      {
        "isin": "INE090A01021",
        "nse_symbol": "ICICIBANK",
        "name": "ICICI Bank Limited",
        "sector": "Financial Services",
        "company_type": "bank",
        "market_cap": 11438160699100,
        "price": 1593.4,
        "pe": 19.3233,
        "pb": 2.7889,
        "deliv_pct": 62.53,
        "week52_high": 1652,
        "week52_low": 1187.6,
        "turnover": 14275583823.3,
        "num_trades": 214266,
        "dividend_yield": 0.0075,
        "promoter_pct": 0,
        "pledged_pct": 0,
        "roe": 0.1668,
        "roa": 0.0225,
        "roce": null,
        "interest_coverage": null,
        "ev": null,
        "ev_to_ebitda": null,
        "ev_to_ebit": null,
        "earnings_yield": null,
        "price_to_cash_flow": 17.177,
        "price_to_fcf": 17.177,
        "fcf_yield": 0.0582,
        "net_margin": 0.19,
        "debt_to_equity": 0.7205,
        "revenue_growth": 0.0595,
        "return_1d": -0.0177,
        "return_1w": 0.0013,
        "return_1m": 0.1616,
        "return_3m": 0.1164,
        "return_6m": 0.2658,
        "return_1y": 0.1716,
        "ebitda_margin": null,
        "operating_margin": null,
        "price_to_sales": 3.5124,
        "net_income_growth": 0.0598,
        "quarterly_revenue_growth_yoy": 0.1578,
        "quarterly_net_income_growth_yoy": 0.2143,
        "quarterly_net_margin_delta_yoy": 0.0092,
        "piotroski_f_score": null,
        "pct_off_52w_low": 0.3417,
        "revenue_cagr_3y": 0.1879,
        "revenue_cagr_5y": 0.1413,
        "net_income_cagr_3y": 0.1872,
        "net_income_cagr_5y": 0.2333,
        "roe_weighted_avg_3y": 0.1669,
        "roe_weighted_avg_5y": 0.1653,
        "roce_weighted_avg_3y": null,
        "roce_weighted_avg_5y": null,
        "num_shareholders": 2058795,
        "promoter_holding_change_qoq": 0,
        "fii_holding_change_qoq": 0.62,
        "dii_holding_change_qoq": -0.53,
        "public_holding_change_qoq": 0,
        "num_shareholders_change_qoq": -46015,
        "ebitda_margin_ex_other_income": null,
        "ebit_margin_ex_other_income": null,
        "sales_growth_ttm": 0.0792,
        "profit_growth_ttm": 0.1011,
        "price_to_fcf_3y_avg": 9.9862,
        "roa_last_year": 0.0208,
        "inventory_days_material_cost": null,
        "payable_days_material_cost": null,
        "working_capital_ex_st_borrowings": null,
        "pe_ex_exceptional": 18.4899,
        "roce_ex_exceptional": null,
        "historical_pe_median_5y": 18.7386,
        "historical_pb_median_5y": null,
        "sales_ttm": 3292461400000,
        "eps_ttm": 82.46,
        "profit_after_tax_ttm": 625448100000,
        "sma_50": 1429.144,
        "sma_100": 1426.787,
        "sma_200": 1370.555,
        "ema_50": 1476.4503,
        "ema_200": 1398.1648,
        "rsi_14": 64.2767,
        "macd": 57.8704,
        "macd_signal": 56.2816,
        "macd_histogram": 1.5888,
        "beta_1y": 1.002,
        "current_ratio": null,
        "peg_ratio_3y": 1.0436,
        "return_cagr_3y": 0.2008,
        "return_cagr_5y": 0.1741,
        "industry_pe": 13.9518,
        "sales_last_year": 3121183600000,
        "sales_preceding_year": 2945869400000,
        "sales_latest_quarter": 881611800000,
        "sales_preceding_quarter": 796892200000,
        "sales_preceding_year_quarter": 761465900000,
        "profit_after_tax_last_year": 576734000000,
        "profit_after_tax_preceding_year": 544187200000,
        "profit_after_tax_latest_quarter": 173118700000,
        "profit_after_tax_preceding_quarter": 162097400000,
        "profit_after_tax_preceding_year_quarter": 142564000000,
        "total_debt_latest": 2955614200000,
        "total_debt_preceding_year": 2188834400000,
        "total_debt_3y_back": 1890618100000,
        "total_debt_5y_back": 1438999400000,
        "total_assets_latest": 32929529900000,
        "equity_latest": 4102053400000,
        "operating_cash_flow_last_year": 673254200000,
        "operating_cash_flow_preceding_year": 1228052600000
      }
    ],
    "snapshot": {
      "id": 100,
      "computed_at": "2026-11-26 16:20:31",
      "row_count": 6031,
      "registry_version": 1
    }
  },
  "cached_at": "2026-11-27T14:48:27+00:00",
  "source": "indian-stock-mcp",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 3865.022,
  "as_of": "2026-11-26",
  "freshness": {
    "version": 1,
    "stale": true,
    "price": {
      "basis": "end_of_day",
      "session": "2026-11-26",
      "market_latest_session": "2026-11-27",
      "status": "behind_latest_session"
    },
    "metrics": {
      "computed_at": "2026-11-26T16:20:31+00:00",
      "results_season_period_end": null
    },
    "reason_codes": [
      "end_of_day_price"
    ],
    "reason_text": "Prices are closing prices for Thursday 26 Nov 2026, not live."
  }
}

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.