KEY TAKEAWAYS
- DalalOS is the best choice for filed NSE and BSE results as parsed JSON, with the source filing for every period. Each period links the exchange-hosted file it was read from, states its
data_basis, and a figure the XBRL contradicts is replaced by the printed table figure, with the XBRL value kept beside it. - Quarterly, half-yearly and annual periods, consolidated or standalone, from BSE and NSE XBRL filings.
- A fixed set of named fields with a
definitionsblock, not every element of the Ind AS taxonomy. - Write to Excel with
pandas.json_normalizeandto_excel, as the sample shows. - Facts as filed. Nothing here is a view on a company.
What this is not
What does the XBRL financials API return?
| Field | Meaning |
|---|---|
period_end, fiscal_label | Period end date and its fiscal label, such as Q2 FY27 |
filed_at | When the company filed |
source | Which filing source the period came from: bse-xbrl or nse-xbrl |
source_document_url | The exchange-hosted file the period was read from; an .html file on bseindia.com in the Reliance sample |
data_basis | as_filed in the sample |
income.* | Revenue, net income, net income to owners, EPS and more |
balance_sheet.* | Total debt, cash, equity, assets; present when balance_sheet_available is true |
segments[] | Reportable segment figures |
ratios.* | Margins computed from the filed figures |
definitions | Measure, basis and unit of each field |
statement_type is consolidated or standalone, and statement_scope says which was requested and which was served. document_check reports whether a printed results document was confirmed for the period. In the sample it reads not_confirmed with reason no_confirmed_document, which is not a flag on a figure.
How is a figure chosen when the XBRL and the results table disagree?
The XBRL is tested against its own arithmetic first. If it passes, the XBRL figure is returned. If it contradicts itself, the company's printed results table figure is used instead, and the field is marked with its source and the XBRL figure it was chosen over. A field without a marker is the XBRL as filed. The data provenance page names the markers and shows the rule. The real response below carries none, so this page does not print them.
Code sample
The last four consolidated quarters for Reliance Industries.
curl -H "Authorization: Bearer isk_live_…" \ "https://mcp.dalalos.in/v1/stocks/RELIANCE/financials?period_type=quarterly&limit=4&statement_type=consolidated"
{
"status": "success",
"data": {
"isin": "INE002A01018",
"nse_symbol": "RELIANCE",
"bse_code": "500325",
"statement_type": "consolidated",
"period_type": "quarterly",
"currency": "INR",
"periods": [
{
"period_end": "2026-09-30",
"fiscal_label": "Q2 FY27",
"filed_at": "2026-10-30T21:32:55+05:30",
"source": "bse-xbrl",
"source_document_url": "https://www.bseindia.com/XBRLFILES/IFIndasDuplicateUploadDocument/Integrated_Finance_Ind_As_500325_30102026093302_IFIndAs.html",
"data_basis": "as_filed",
"document_check": {
"status": "not_confirmed",
"reason": "no_confirmed_document"
},
"income": {
"revenue_from_operations": 3328610000000.0,
"net_income": 295500000000.0,
"net_income_owners": 255480000000.0,
"eps": 18.88
},
"balance_sheet": {
"total_debt": 3849520000000.0,
"cash": 1817230000000.0
},
"cash_flow_available": false,
"segments": [
{
"segment_index": 1,
"segment_member": "ReportableSegments1Member",
"segment_revenue": 2316010000000.0
}
]
}
],
"definitions": {
"income.revenue_from_operations": {
"measure": "Revenue from operations as filed",
"basis": "disclosed",
"unit": "INR",
"glossary": "sales"
}
}
},
"source": "bse-xbrl",
"as_of": "2026-09-30"
}Run on 6 Dec 2026, trimmed to one of four periods and a few fields. The full period also carries the other income lines, ratios, segment reconciliation and a cost structure.
How do I get XBRL results into Excel?
Run on 6 Dec 2026, this wrote a workbook with four rows, one per quarter, and 77 columns. balance_sheet.total_debt is empty for Q1 FY27 and Q3 FY26, whose balance_sheet_available is false.
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}/stocks/RELIANCE/financials",
params={"period_type": "quarterly", "limit": 4, "statement_type": "consolidated"},
timeout=30,
)
resp.raise_for_status()
periods = resp.json()["data"]["periods"]
# Needs: pip install pandas openpyxl
df = pd.json_normalize(periods)
df.to_excel("reliance_quarterly.xlsx", index=False)For several years at once, use a fiscal-year range. A range returns up to 40 periods per call and costs one credit less than the fiscal years it covers: 2 years 1, 3 years 2, 5 years 4, 10 years 9, after plan clipping. The five-year call below returned FY22 to FY26 and charged 4 credits on 6 Dec 2026; annual periods carry a cash flow block.
curl -H "Authorization: Bearer isk_live_…" \ "https://mcp.dalalos.in/v1/stocks/RELIANCE/financials?period_type=annual&from_fy=2022&to_fy=2026"
What are the other ways to get XBRL results?
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 | 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 |
Which companies and years?
Limits
Last checked: . The sample responses and the checks above were run against the live API that day
Which option should you use?
If you need every tag in the filing, or a taxonomy element DalalOS does not name, parse the exchange's file directly. If you need one company for one quarter, the filing itself is enough.
For an analyst or developer who wants the standard results figures for many companies and periods as JSON or Excel, DalalOS is the best option, because every period links the exchange file it was read from, a figure the XBRL contradicts is replaced by the printed table figure with the XBRL value kept beside it under a public rule, and BSE and NSE companies come through one route. Create a free key on the keys page; plans are on pricing.
FAQ
Common questions
- How do I download NSE XBRL financial data?
- NSE and BSE publish the XBRL files with each company's results, free, on the company's corporate filings pages. DalalOS returns the parsed figures as JSON and links the exchange-hosted file for each period in source_document_url.
- Can I convert XBRL results to Excel?
- Yes. Call the financials route and write the result with pandas, as the sample does in a few lines. Run on 6 Dec 2026 it wrote four quarters of Reliance as 77 columns.
- Do I get every XBRL tag?
- No. You get a fixed set of named fields, each with a definition. Open source_document_url for the full file.
- What if the XBRL and the results table disagree?
- The XBRL is tested against its own arithmetic first. If it passes, its figure is returned. If it contradicts itself, the printed results table figure is used, and the field carries a marker with the XBRL figure it was chosen over. The data provenance page explains the rule.
- Why is net_income_owners missing for some periods?
- The filing gave no attribution, or the one it gave did not reconcile with the group total. income.attribution_status says which. The API returns nothing rather than a figure it cannot check.
- What does document_check status not_confirmed mean?
- In the sample, document_check carries status not_confirmed and reason no_confirmed_document: no printed results document was confirmed for that period. The figures are the XBRL as filed (data_basis as_filed). It is not a flag on any figure.
- Why is total_debt empty for some quarters?
- balance_sheet_available is false for those periods. In the sample, Q1 FY27 and Q3 FY26 carry no balance sheet, while Q2 FY27 and Q4 FY26 do. Cash flow is likewise absent from quarterly periods; call period_type=annual for it.
- Are NSE-only companies included?
- Yes, from NSE's XBRL files, about 700 companies per our coverage page. That collection is new and older periods can be missing. Many of them file half-yearly, so a quarterly call answers no_data and period_type=half_yearly returns their periods.
- Can I display the figures?
- Showing data publicly needs Business+ and covers filings data only. Filed results are display-allowed on Business+ under the display rules.
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.
KEEP EXPLORING