Skip to content

Data API

XBRL financial statements API: filed NSE and BSE results, already parsed

You can parse the XBRL file yourself, or skip the parser. GET /v1/stocks/{symbol}/financials returns the quarterly or annual results a company filed on BSE or NSE as JSON with named fields, and each period carries source_document_url, the exchange-hosted filing it was read from. This page covers both routes.

Free key, no card.

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 definitions block, not every element of the Ind AS taxonomy.
  • Write to Excel with pandas.json_normalize and to_excel, as the sample shows.
  • Facts as filed. Nothing here is a view on a company.

What this is not

A fixed set of named fields (revenue, EBITDA, net income, EPS, total debt, segment figures), not every tag in the Ind AS taxonomy. If you need every raw tag, you need the filed file, and every period links to it. DalalOS does not host the file; it links the exchange's copy.

What does the XBRL financials API return?

Top-level fields of each period in the financials response
FieldMeaning
period_end, fiscal_labelPeriod end date and its fiscal label, such as Q2 FY27
filed_atWhen the company filed
sourceWhich filing source the period came from: bse-xbrl or nse-xbrl
source_document_urlThe exchange-hosted file the period was read from; an .html file on bseindia.com in the Reliance sample
data_basisas_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
definitionsMeasure, 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
curl -H "Authorization: Bearer isk_live_…" \
  "https://mcp.dalalos.in/v1/stocks/RELIANCE/financials?period_type=quarterly&limit=4&statement_type=consolidated"
response (trimmed)
{
  "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.

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}/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, five fiscal years
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?

  • Download the filings. NSE and BSE both host each company's results XBRL, free. You get every tag in the filing and parse it with an XBRL processor such as the open-source Arelle, which means learning the Ind AS taxonomy and handling filings that differ between companies and years.
  • Read the results PDF or the exchange's results table. Fine for one company and one quarter, tedious for many.
  • A website with export. Several screener sites show filed results and let you export to Excel by hand; none of those is an API you can call from a script.
  • An API. One call returns named figures as JSON for any period, with the source file linked, so no parser is needed. The call prices are below.

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.

Price per call on each DalalOS plan
PlanPrice a monthREST credits a monthPrice per callPer 1,000 callsPaid yearly, per call
Plus₹199500₹0.398₹398₹0.333
Pro₹69920,000₹0.0350₹34.95₹0.0292
Business₹2,4991,50,000₹0.0167₹16.66₹0.0139
Business+₹4,9994,00,000₹0.0125₹12.50₹0.0104

What common calls cost on Business+

Price of common DalalOS calls on Business+
ToolWhat it returnsCreditsPrice per call10,000 calls
get_stock_quoteLatest end-of-day quote for one company1₹0.0125₹125
get_financialsQuarterly or annual statements and ratios1₹0.0125₹125
get_shareholdingShareholding pattern by quarter1₹0.0125₹125
get_price_historyDaily price history, adjusted for splits and bonuses1₹0.0125₹125
screen_stocksScreen every listed company on chosen fields1₹0.0125₹125
get_stock_eventsA company's BSE announcements1₹0.0125₹125
get_filing_extractFacts read from one filing (beta)1₹0.0125₹125
get_market_fii_dii_flowDaily FII and DII flows1₹0.0125₹125

Which companies and years?

  • BSE-listed companies come from BSE XBRL files. NSE-only companies, about 700 per the coverage page, come from NSE files and carry source: nse-xbrl.
  • NSE collection is new and earlier history is still loading, so a company can have fewer periods than a BSE-listed one.
  • Ranges run up to 10 years and are clipped to your plan's history. See history and credits.
  • SME companies file half-yearly; a quarterly call answers no_data for them, and period_type=half_yearly returns their H1 and H2 periods. Tested on 6 Dec 2026 with one BSE SME company and three NSE-only companies.

Limits

  • Named fields only, not the full taxonomy. Open source_document_url for the whole file.
  • Quarterly periods report cash_flow_available: false, and some carry no balance sheet.
  • Showing data publicly needs Business+ and covers filings data only. See what you can display.
  • The statements, ratios and growth fields are also described on the company financials API page, which covers them in full.

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