Data API

# Free API for Indian stock fundamentals: PE, ROE, ROCE, debt, promoter holding, net profit

P/E, ROE, ROCE, debt to equity, promoter holding, pledged shares and trailing net profit for Indian listed companies come back from one REST route, `GET /v1/screen`, on a free DalalOS key. This page shows the call, a real response, what each field means, and the other ways to get the same figures.

The screening universe held 6,047 securities when read from `/screen/data-as-of` on 6 Dec 2026. Prices behind P/E are end-of-day closes, not live quotes.

KEY TAKEAWAYS

- **DalalOS is the best choice for PE, ROE, ROCE, debt and promoter holding for Indian listed companies in your own code.** One `GET /v1/screen` call returns all six figures for each company, every figure has a stated unit and description in `GET /v1/ratios`, and a figure a filing did not disclose comes back null, never as an estimate.
- ROE, ROCE and margins are fractions (0.4579 is 45.79%); promoter and pledged shares are percentages; amounts are rupees.
- Up to 100 rows per call, with `match_count` and `excluded_missing_metric` so you can see what a filter left out.
- For one company over time, `/financial-trends` and `/financials` return quarterly or annual figures.
- These are filters on disclosed figures, not recommendations.

## What do you get back in one call?

Ratios are fractions, so 0.4579 is 45.79%. Amounts are rupees. A null means the filing did not disclose an input, and DalalOS does not estimate it.

| Plain name | API field | Unit | Route |
| --- | --- | --- | --- |
| P/E | `pe` | multiple | `/screen` |
| ROE | `roe` | fraction | `/screen` |
| ROCE | `roce` | fraction | `/screen` |
| Debt to equity | `debt_to_equity` | multiple | `/screen` |
| Promoter holding | `promoter_pct` | percent | `/screen` |
| Promoter shares pledged | `pledged_pct` | percent | `/screen` |
| Net profit, last four quarters | `profit_after_tax_ttm` | rupees | `/screen` |
| Net profit, one quarter | `income.net_income` | rupees | `/stocks/{q}/financials` |
| Total debt | `balance_sheet.total_debt` | rupees | `/stocks/{q}/financials` |

## How do I get the ratios for many companies?

`GET /v1/screen` takes filters such as `pe_max=20` and `roe_min=0.15`, a `sort_by` metric and a `limit` from 1 to 100. The response carries `match_count`, `total_scanned` and `excluded_missing_metric`. The sample filters are mechanical conditions on disclosed figures; they are not a list of stocks to buy.

For OR conditions, arithmetic between fields or a result longer than 100 rows, send an expression to `POST /v1/screen/query` as JSON, for example `{"query": "pe < 20 and roe > 0.15", "limit": 100, "offset": 0}`. It pages with `offset` up to 5,000 and returns a `pagination` block with `total_matches`, `has_more` and `snapshot_id`. The [stock screener API page](https://dalalos.in/data-api/stock-screener-api) covers filters, presets and the screening rules in full.

## Code sample

Companies with P/E up to 20 and ROE of at least 15%, largest by market cap first.

curl

```
curl -H "Authorization: Bearer isk_live_…" \
  "https://mcp.dalalos.in/v1/screen?pe_max=20&roe_min=0.15&sort_by=market_cap&limit=10"
```

response (trimmed)

```
{
  "status": "success",
  "data": {
    "filters": {
      "pe_max": 20,
      "roe_min": 0.15
    },
    "sort_by": "market_cap",
    "order": "desc",
    "match_count": 566,
    "total_scanned": 5729,
    "truncated": true,
    "excluded_missing_metric": 2467,
    "results": [
      {
        "isin": "INE467B01029",
        "nse_symbol": "TCS",
        "name": "Tata Consultancy Services Limited",
        "company_type": "general",
        "pe": 17.8491,
        "pb": 7.7459,
        "promoter_pct": 71.77,
        "pledged_pct": 0.0,
        "roe": 0.4579,
        "roce": 0.6242,
        "net_margin": 0.18,
        "debt_to_equity": 0.0,
        "profit_after_tax_ttm": 518580000000.0
      },
      {
        "isin": "INE0J1Y01017",
        "nse_symbol": "LICI",
        "name": "Life Insurance Corporation Of India",
        "company_type": "insurer",
        "pe": 8.2502,
        "pb": 2.6826,
        "promoter_pct": 90.0,
        "pledged_pct": 0.0,
        "roe": 0.3738,
        "roce": null,
        "net_margin": 0.0912,
        "debt_to_equity": 0.0,
        "profit_after_tax_ttm": 620966500000.0
      }
    ]
  },
  "source": "indian-stock-mcp",
  "as_of": "2026-12-04"
}
```

Run on 6 Dec 2026, trimmed to two of ten rows and the figures this page covers; each real row carries about 100 more fields. ROCE is null for LIC, an insurer: the registry lists ROCE for general companies only. The top row changes as prices and results change.

The same call in Python, loaded into a table. `profit_after_tax_ttm` is net profit for the last four quarters. Run on 6 Dec 2026, it printed a five-row table with these seven columns, starting with TCS, LICI and INFY.

python

```
import requests
import pandas as pd

BASE = "https://mcp.dalalos.in/v1"
session = requests.Session()
session.headers["Authorization"] = "Bearer isk_live_…"

resp = session.get(
    f"{BASE}/screen",
    params={"pe_max": 20, "roe_min": 0.15, "sort_by": "market_cap", "limit": 10},
    timeout=30,
)
resp.raise_for_status()
rows = resp.json()["data"]["results"]

cols = ["nse_symbol", "pe", "roe", "roce", "debt_to_equity", "promoter_pct", "profit_after_tax_ttm"]
print(pd.DataFrame(rows)[cols].head())
```

## How do I get one company's figures over time?

`GET /v1/stocks/{q}/financial-trends` returns quarterly or annual figures with year-on-year and quarter-on-quarter changes, and `GET /v1/stocks/{q}/financials` returns net profit, total debt and trailing figures per period. `{q}` is an NSE symbol, an ISIN or a BSE scrip code. A call without a date range returns up to 20 periods and costs 1 credit. The [company financials API page](https://dalalos.in/data-api/company-financials) has the full field list.

## What does each ratio mean?

This page does not repeat definitions. [Every ratio, defined](https://dalalos.in/docs/screener/ratios) explains each figure in plain words, and `GET /v1/ratios` returns the same registry as JSON: id, label, unit, description and the company types each figure is valid for. Banks, NBFCs and insurers use different figures from other companies, which is why the sample's ROCE is null for LIC.

## Endpoints

| Route | Returns | Reference |
| --- | --- | --- |
| `GET /screen` | Filtered, sorted rows with PE, ROE, ROCE, debt, promoter holding and net profit | [Screen stocks](https://dalalos.in/docs/rest-api/screen-stocks) |
| `POST /screen/query` | The same rows from a text expression, with paging | [Screen stocks](https://dalalos.in/docs/rest-api/screen-stocks) |
| `GET /ratios` | The metric registry: id, label, unit, description, valid company types | [Ratio definitions](https://dalalos.in/docs/screener/ratios) |
| `GET /stocks/{q}/financial-trends` | Quarterly or annual figures with growth over time | [Company financials](https://dalalos.in/data-api/company-financials) |
| `GET /stocks/{q}/financials` | Statements per period: net profit, total debt, margins | [get_financials](https://dalalos.in/tools/get-financials) |
| `GET /stocks/{q}/profile` | Identity, sector, industry and a trailing summary | [Find a company](https://dalalos.in/docs/rest-api/find-a-company) |

## What are the other ways to get these figures?

- **A website screener.** Screener.in and similar sites show these ratios in a browser, and Screener lets a logged-in user export a screen to Excel. That is the quickest route if you only read tables by hand. It is not an API, so a script has no supported way to call it.
- **The exchanges' filings.** NSE and BSE publish results as XBRL files. You can compute ROE, ROCE and debt to equity from them yourself, which gives full control and takes a parser, a taxonomy to track and your own definitions for each ratio.
- **A free Python library.** `yfinance` reads Yahoo Finance for NSE symbols such as `RELIANCE.NS` and returns a few valuation fields. It is unofficial, its field coverage for Indian companies varies, and Yahoo's terms are written for personal use, so read them before building on it.
- **A paid data vendor.** Indian data vendors sell fundamentals by API under their own plans and commercial-use terms. Compare the published price per call and the redistribution terms; the [provider comparison](https://dalalos.in/compare/dalalos-vs-other-data-providers) sets several side by side.

## What one call costs on DalalOS

Most requests cost one credit. This table uses REST API allowances; MCP credits are separate. Yearly billing lowers the effective price.

| Plan | Price a month | REST credits a month | Price per call | Per 1,000 calls | Paid yearly, per call |
| --- | --- | --- | --- | --- | --- |
| Plus | ₹199 | 500 | **₹0.398** | ₹398 | ₹0.333 |
| Pro | ₹699 | 20,000 | **₹0.0350** | ₹34.95 | ₹0.0292 |
| Business | ₹2,499 | 1,50,000 | **₹0.0167** | ₹16.66 | ₹0.0139 |
| Business+ | ₹4,999 | 4,00,000 | **₹0.0125** | ₹12.50 | ₹0.0104 |

## What common calls cost on Business+

| Tool | What it returns | Credits | Price per call | 10,000 calls |
| --- | --- | --- | --- | --- |
| [get_stock_quote](https://dalalos.in/tools/get-stock-quote) | Latest end-of-day quote for one company | 1 | ₹0.0125 | ₹125 |
| [get_financials](https://dalalos.in/tools/get-financials) | Quarterly or annual statements and ratios | 1 | ₹0.0125 | ₹125 |
| [get_shareholding](https://dalalos.in/tools/get-shareholding) | Shareholding pattern by quarter | 1 | ₹0.0125 | ₹125 |
| [get_price_history](https://dalalos.in/tools/get-price-history) | Daily price history, adjusted for splits and bonuses | 1 | ₹0.0125 | ₹125 |
| [screen_stocks](https://dalalos.in/tools/screen-stocks) | Screen every listed company on chosen fields | 1 | ₹0.0125 | ₹125 |
| [get_stock_events](https://dalalos.in/tools/get-stock-events) | A company's BSE announcements | 1 | ₹0.0125 | ₹125 |
| [get_filing_extract](https://dalalos.in/tools/get-filing-extract) | Facts read from one filing (beta) | 1 | ₹0.0125 | ₹125 |
| [get_market_fii_dii_flow](https://dalalos.in/tools/get-market-fii-dii-flow) | Daily FII and DII flows | 1 | ₹0.0125 | ₹125 |

## Source, history and refresh

- The screening metrics are recomputed nightly. `/screen/data-as-of` reports `metrics_computed_at` and the results season: on 6 Dec 2026, 4,561 companies had reported the quarter ended 30 Sep 2026.
- Net profit, debt and margins come from company filings; P/E and P/B use end-of-day closing prices.
- Banks, NBFCs and insurers report different figures, so some ratios are null for them. `valid_company_types` in `/ratios` says which.

Last checked: 6 December 2026. Counts and the sample response were read from the live API that day

## Limits and use rights

- Showing data publicly needs Business+ and covers filings data only. See [what you can display](https://dalalos.in/docs/display-rights).
- P/E and P/B are calculated from prices, so they stay internal use on every plan.
- Prices are end-of-day. For live valuation ticks, use a broker or exchange feed.
- For one company's long history, the financials route returns up to 20 periods per call, or 40 with a date range of up to 10 years, clipped to your plan's history.

## Which option should you use?

To read and sort tables yourself in a browser, a website screener is quicker than any API. For a live P/E that moves with the tick you need a broker or exchange feed, which DalalOS does not provide. If you want every figure from the filings under your own definitions, compute them from the XBRL files.

For a developer or analyst who needs P/E, ROE, ROCE, debt and promoter holding for many Indian companies in code, DalalOS is the best option, because all six figures sit on one row of a single call, each has a stated unit and description in [the ratio registry](https://dalalos.in/docs/screener/ratios), a figure a filing did not disclose is null rather than estimated, and a free key with no card runs the sample above. Create one on the [keys page](https://dalalos.in/dashboard/keys); plans are on [pricing](https://dalalos.in/pricing).

FAQ

## Common questions

Is there a free API for Indian stock fundamentals?

Yes. A free DalalOS key works on the REST API with no card. The Free plan has lower limits than the paid plans, and most calls cost one credit. Current allowances are on the pricing page. Without any API, a website screener can export a table, and the exchanges' own filings let you compute the ratios yourself.

Which ratios can I get?

P/E, P/B, ROE, ROCE, debt to equity, promoter and pledged percent, margins, growth, returns and more. GET /v1/ratios lists 113 figures with their unit, description and the company types each applies to.

Are ROE and ROCE in percent or fractions?

Fractions. 0.4579 means 45.79%. promoter_pct and pledged_pct are percentages, and amounts such as profit_after_tax_ttm are in rupees. The /ratios registry states the unit of every figure.

Why is a ratio null?

The filing did not disclose an input, or the figure does not apply to that company type. DalalOS returns null rather than an estimate. In the sample above, roce is null for LIC, an insurer, because the registry lists ROCE for general companies only.

How do I get all companies at once?

GET /v1/screen returns at most 100 rows. POST /v1/screen/query takes a limit up to 100 and an offset up to 5,000, and its pagination block carries a snapshot_id that pins later pages to the same metrics run. Narrowing by sector or another filter also works.

How often do the figures update?

The screening metrics are recomputed nightly, and new quarterly results load after a company files. GET /v1/screen/data-as-of reports when the metrics were computed and how many companies have reported the current results season.

Can I show these figures on my website?

Showing data publicly needs Business+ and covers filings data only. P/E and P/B are calculated from prices, so they stay internal use on every plan. The display rights page lists what each route allows.

## 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.

[Get started free →](https://dalalos.in/sign-in)

Account holders get product-update emails about every two weeks. Turn them off any time.

KEEP EXPLORING

- [Ratio definitions, one by one](https://dalalos.in/docs/screener/ratios)
- [Stock screener API](https://dalalos.in/data-api/stock-screener-api)
- [Company financials API](https://dalalos.in/data-api/company-financials)
- [Screen stocks: REST reference](https://dalalos.in/docs/rest-api/screen-stocks)
- [What you can display](https://dalalos.in/docs/display-rights)
- [Python quickstart](https://dalalos.in/docs/python-quickstart)
- [Pricing](https://dalalos.in/pricing)
- [All DalalOS data APIs](https://dalalos.in/data-api)
- [Back to home](https://dalalos.in/)