KEY TAKEAWAYS
- DalalOS is the best choice for multi-year financial statements for Indian listed companies in your own Python code. Every period comes from an exchange XBRL filing with a link to its source document, a filing time and a data basis, so a number in your DataFrame traces to a filing.
- One route,
/stocks/{q}/financials, takes an NSE symbol, an ISIN or a BSE code. Checked 6 December 2026. - Annual calls carry cash flow. Quarterly filings in India do not, so quarterly rows show
cash_flow_available: false. - A call with no range costs 1 credit. A range costs one less than the fiscal years it covers: 5 years is 4 credits, 10 years is 9.
Quick answer
Last checked:
Where the numbers come from
Companies listed on BSE carry statements read from their BSE XBRL results filings. Companies listed only on NSE, including NSE Emerge SME companies, are read from the XBRL files NSE publishes. That collection has only just started, so their earlier periods are still loading; see coverage. Each period states its basis:
| Field | What it says |
|---|---|
filed_at | When the exchange received the filing, in IST. |
source | The filing source, for example bse-xbrl. |
data_basis | as_filed for figures as filed. |
source_document_url | The filing the period was read from. |
data.statement_type | consolidated or standalone: the basis served. Once per response, not per period; data.statement_scope says why. |
Get the same statements without DalalOS
Every figure here starts as a filing on the exchange, and the filings are free. BSE serves each XBRL results file at the URL in source_document_url. A plain Python request gets a 403, because BSE rejects the default requests User-Agent; with a browser User-Agent we downloaded the TCS FY26 file (about 330 KB) on 6 December 2026. The catch is parsing: the HTML version is a nested layout, and pd.read_html returned eight tables whose revenue and profit rows we could not pull out cleanly, so expect to read the XBRL tags yourself. The older XML filings are plain XBRL and need an XML parser and the Ind AS tag names. If you only need a few companies once, reading the filing or the annual report is the cheapest route.
Fetch one company
Create a key at /dashboard/keys and keep it in DALALOS_API_KEY. This client waits and retries on a 429, as in the Python quickstart.
import os
import time
import pandas as pd
import requests
API_BASE = "https://mcp.dalalos.in/v1"
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['DALALOS_API_KEY']}"
def get(path, **params):
"""GET a /v1 route; return the whole envelope. Waits and retries on 429."""
for _ in range(3):
resp = session.get(f"{API_BASE}{path}", params=params, timeout=30)
if resp.status_code == 429:
time.sleep(int(resp.headers.get("Retry-After", "1")))
continue
body = resp.json()
if body.get("status") != "success":
raise RuntimeError(f"{resp.status_code} {body.get('reason_code')}: {body.get('error')}")
return body
raise RuntimeError("still rate limited after 3 tries")Annual statements with cash flow
Annual periods add a cash_flow object with operating_cash_flow, investing_cash_flow, financing_cash_flow and free_cash_flow. The call below also asks for a fiscal-year range. All amounts are rupees, not crore.
body = get("/stocks/TCS/financials", period_type="annual", from_fy=2019, to_fy=2026)
data = body["data"]
df = pd.json_normalize(data["periods"])
cols = [
"fiscal_label", "period_end", "source_document_url",
"income.revenue", "income.net_income_owners", "income.eps",
"balance_sheet.total_debt", "balance_sheet.stockholders_equity",
"cash_flow.operating_cash_flow", "cash_flow.free_cash_flow",
]
# reindex keeps the script running when a period has no cash_flow object
print(data["statement_type"], data["currency"])
print(df.reindex(columns=cols).to_string())
meta = body.get("meta", {})
print(meta.get("credits_charged"), meta.get("history"))Run on 6 Dec 2026, trimmed. TCS records start at FY22 here, so the range asked for FY19 and the call was charged for the five years it returned.
consolidated INR
fiscal_label period_end income.revenue income.net_income_owners income.eps balance_sheet.total_debt cash_flow.operating_cash_flow cash_flow.free_cash_flow
0 FY26 2026-03-31 2.670210e+12 4.921000e+11 136.01 0 5.209400e+11 4.842400e+11
1 FY25 2025-03-31 2.553240e+12 4.855300e+11 134.19 0 4.890800e+11 4.599100e+11
...
4 FY22 2022-03-31 1.917540e+12 3.832700e+11 103.62 0 3.994900e+11 3.746600e+11
4 {'requested_from': '2018-04-01', 'requested_to': '2026-03-31', 'effective_from': '2022-03-31', 'effective_to': '2026-03-31', 'earliest_available': '2022-03-31', ...}| Statement | Field names | Notes |
|---|---|---|
| Profit and loss | income.revenue, income.net_income_owners, income.eps, income.ebitda | Revenue is revenue from operations as filed. eps_adjusted restates EPS to today's share count. |
| Balance sheet | balance_sheet.total_assets, total_debt, cash, stockholders_equity | Filed half-yearly, so quarterly rows can carry balance_sheet_available false. |
| Cash flow | cash_flow.operating_cash_flow, investing_cash_flow, financing_cash_flow, free_cash_flow | Annual periods only. |
| Ratios | ratios.net_margin, ebitda_margin, operating_margin | Computed from the same period's figures. |
| Quarterly | Annual | |
|---|---|---|
| Profit and loss | Yes | Yes |
| Balance sheet | Only in half-yearly periods | Yes |
| Cash flow | No, cash_flow_available is false | Yes |
Ten fiscal years in one call
Pass from_fy and to_fy. The fiscal year is named by the year it ends, so 2019 is FY2018-19 (April 2018 to March 2019). A range may span up to ten fiscal years. Your plan clips it: Free reaches 3 years, Plus 5 years, Pro and above all available history.
| Fiscal years in range | Credits | Plan needed to reach it |
|---|---|---|
| 2 | 1 | Free |
| 3 | 2 | Free |
| 5 | 4 | Plus |
| 10 | 9 | Pro and above |
Annual results go back to FY2018-19 for about 1,500 companies and to FY2021-22 for about 3,900 of the 5,600 we cover; shareholding goes back to 2018 for about 1,300 and to 2022 for about 4,000. We add older years over time. Check meta.history.earliest_available for the first record we hold for a company; a range that reaches past it is shortened first and charged for what is left. See history and credits.
Flatten to a DataFrame
pd.json_normalize turns nested keys into columns such as income.revenue. Pivot by fiscal_label to put one fiscal year in each column.
table = (
df.set_index("fiscal_label")[["income.revenue", "income.net_income_owners", "balance_sheet.total_debt"]]
.sort_index()
.T
)
print(table) # one column per fiscal year, in rupeesMany companies in a loop
The client above waits as long as Retry-After says on a 429. A loop over 100 companies with one call each costs 100 credits. Free and paid plans differ in rate limit and monthly credits; the table at the end of this section shows the current prices.
symbols = ["TCS", "INFY", "HCLTECH", "WIPRO"]
frames = []
for sym in symbols:
body = get(f"/stocks/{sym}/financials", period_type="annual", limit=5)
frame = pd.json_normalize(body["data"]["periods"])
frame.insert(0, "symbol", sym)
frames.append(frame)
all_years = pd.concat(frames, ignore_index=True)
print(all_years[["symbol", "fiscal_label", "income.revenue", "income.net_income_owners"]])Price per call, compared
On DalalOS Business+ (₹4,999 a month for 4,00,000 REST API credits), one credit costs ₹0.0125, or ₹12.50 per 1,000 calls. Paid yearly it is ₹0.0104. Most API requests cost one credit; larger requests may cost more. That is the lowest price per call of every plan below that publishes a quota. The lowest from another provider, IndianAPI Growth, costs ₹0.0360 per call: 2.9× as much.
| Provider and plan | Price a month | Calls included | Price per call | Per 1,000 calls | Notes |
|---|---|---|---|---|---|
| DalalOS Plus | ₹199 | 500 REST credits | ₹0.398 | ₹398 | REST and MCP. Yearly billing lowers the price further. |
| DalalOS Pro | ₹699 | 20,000 REST credits | ₹0.0350 | ₹34.95 | REST and MCP. Yearly billing lowers the price further. |
| DalalOS Business | ₹2,499 | 1,50,000 REST credits | ₹0.0167 | ₹16.66 | REST and MCP, named contact. Yearly billing lowers the price further. |
| DalalOS Business+ | ₹4,999 | 4,00,000 REST credits | ₹0.0125 | ₹12.50 | REST and MCP, named contact. Yearly billing lowers the price further. |
| IndianAPI Growth | ₹1,799 | 50,000 requests | ₹0.0360 | ₹35.98 | REST, 1 request a second. Its terms (indianapi.in/legal/terms, read 24 Nov 2026) say any purpose, commercial or not. |
| IndianAPI Pro | ₹3,999 | 100,000 requests | ₹0.0400 | ₹39.99 | REST, 10 requests a second. |
| Screener.in Premium | ₹4,999 a year | No API | No per-call price | No per-call price | Personal, non-commercial use. Exports from the website only. |
| Tijori Finance Paid (monthly or yearly) | ₹330, or ₹3,500 a year | No self-serve API | No per-call price | No per-call price | Its FAQ says public developer APIs are currently limited; downloads for paid subscribers. Source: tijorifinance.com/plans/ and /faq/, checked 6 Dec 2026. |
DalalOS prices are read from our live plan catalog and include taxes; see pricing. Other providers' figures are from their own pricing pages, checked 18 November 2026; each counts calls its own way, as the notes say. Prices change, so check the vendor before you buy.
What common calls cost on Business+
| Tool | What it returns | Credits | Price per call | 10,000 calls |
|---|---|---|---|---|
| get_stock_quote | Latest end-of-day quote for one company | 1 | ₹0.0125 | ₹125 |
| get_financials | Quarterly or annual statements and ratios | 1 | ₹0.0125 | ₹125 |
| get_shareholding | Shareholding pattern by quarter | 1 | ₹0.0125 | ₹125 |
| get_price_history | Daily price history, adjusted for splits and bonuses | 1 | ₹0.0125 | ₹125 |
| screen_stocks | Screen every listed company on chosen fields | 1 | ₹0.0125 | ₹125 |
| get_stock_events | A company's BSE announcements | 1 | ₹0.0125 | ₹125 |
| get_filing_extract | Facts read from one filing (beta) | 1 | ₹0.0125 | ₹125 |
| get_market_fii_dii_flow | Daily FII and DII flows | 1 | ₹0.0125 | ₹125 |
Banks, NBFCs and insurers
The field company_type on each response says which layout applies. Banks and NBFCs carry net interest income and asset-quality figures in place of a generic P&L, and a bank_ratios block with net interest margin and CASA where we hold them. For HDFCBANK the margin had no stored periods on 6 December 2026 and the block said so with a reason_code. Check company_type before you compare two companies.
Restatements and point in time
The financials route returns the latest stored version of each period. To see what was public earlier, call GET /stocks/{q}/financials/versions: every version has filed_at (the exchange's clock), first_seen_at (ours), a revision_kind of original, revised or corrected_reparse, and the fields that changed. GET /changes/financials?since= lists versions stored since a timestamp, so a job can poll one feed instead of every company.
versions = get("/stocks/TCS/financials/versions", period_type="annual", limit=10)["data"]
for v in versions["versions"]:
print(v["fiscal_label"], v["revision_kind"], v["filed_at"], v["first_seen_at"])Which option should you use?
For a Python user who needs filed multi-year statements for many Indian companies in a DataFrame, DalalOS is the best option, because each period links to its exchange filing and carries a filing time, one route takes an NSE symbol, ISIN or BSE code, annual calls include cash flow, and the versions route keeps restatements so you can tell a refiling from our re-read. The Free plan has 50 REST credits a month with no card, and the live prices are in the table above.
Last checked: . Every code block run on 6 December 2026.
Use of the data
Financial statements are filings data. Showing data publicly needs Business+ and covers filings data only. See display rights. Figures are reported as filed, not advice, and nothing here rates a company as good or bad.
FAQ
Common questions
- Is there a free API for Indian company financial statements?
- Yes. The Free plan gives 50 REST credits a month and 3 years of history, with no card. A call with no date range costs 1 credit.
- Can I get ten years of balance sheet and cash flow?
- You can request up to ten fiscal years in one call on Pro and above. Annual results go back to FY2018-19 for about 1,500 companies and to FY2021-22 for about 3,900 of the 5,600 we cover; shareholding goes back to 2018 for about 1,300 and to 2022 for about 4,000. We add older years over time. The response says where our records start in meta.history.earliest_available.
- Why is cash flow missing in quarterly data?
- Indian quarterly filings include no cash-flow statement, and the balance sheet is filed half-yearly. Ask for period_type=annual to get operating, investing, financing and free cash flow.
- Are the figures consolidated or standalone?
- The default, auto, reads consolidated and falls back to standalone for a company that files no consolidated statement. The statement_type field and the statement_scope block say which was served. Pass statement_type=standalone to read the standalone figures.
- Are the numbers restated?
- You get the latest stored version of each period. GET /stocks/{q}/financials/versions lists every earlier version with the changed fields, and says whether the company refiled or we re-read the same filing.
- Can I show these figures on my own website?
- Showing data publicly needs Business+ and covers filings data only. Financial statements are filings data. Prices and anything calculated from prices are for internal use only.
- Do I need to know XBRL?
- No. The XBRL tags are already parsed into named fields such as income.revenue and balance_sheet.total_debt, and each period links to its source document.
Connect your AI to Indian stock market data
Add DalalOS as a connector and sign in once. Free to start with no card and no waitlist; paid plans from ₹199 a month when you need more.
KEEP EXPLORING