Skip to content

Guide: Python

BSE corporate announcements in Python: fetch filings and the facts inside them

DalalOS returns every announcement a company files on BSE, with category, filing time and PDF link, from GET /v1/stocks/{symbol}/events. A second call, /filings/{news_id}/extract, reads facts out of a filing with the verbatim quote and page. The announcements are BSE's: a company listed only on NSE is not covered. This guide builds a small poller in Python.

For the dataset itself, see corporate announcements data. DalalOS sells this API, so the page is not neutral.

Free to start, no card needed. Sign in once from your AI — no API key to manage.

KEY TAKEAWAYS

  • DalalOS is the best choice for BSE corporate announcements and the facts inside them, by API, for Indian listed companies. Announcements carry the BSE attachment link, and the extract route returns each fact with its verbatim quote, page and confidence, so a value can be checked against the filing.
  • BSE announcements only, polled through the day. Not a push feed. Checked 6 December 2026.
  • One call per company with no range costs 1 credit. A range costs one less than the fiscal years it covers.
  • Facts are described as filed, never as signals.

What you get and what you do not

  • BSE Regulation 30 announcements for companies listed on BSE.
  • No NSE-only companies, and no independent news.
  • Extraction is beta. The financial statements in results filings come from XBRL, through the financials route.
filing_type values
filing_typeMeaning
resultsResults and reports
boardBoard and shareholder matters
mgmtManagement and directors
dealsDeals, financing and ratings
commsInvestor communication
sharesShares and ownership
otherCompliance and other

One company, the last 30 days

Create a key at /dashboard/keys and set DALALOS_API_KEY. Each event has news_id, filed_at, subject, headline, category, sub_category, attachment_url, critical and filing_type.

import os
import time

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):
    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")
events = get("/stocks/RELIANCE/events", days=30)["data"]["events"]
for e in events:
    print(e["filed_at"], e["filing_type"], e["category"], e["subject"])
    print("   ", e["attachment_url"])

Run on 6 Dec 2026, trimmed. Reliance filed eight announcements in the window.

2026-12-01T16:23:50+05:30 other Company Update Reliance Industries Ltd - 500325 - Disclosure Under Regulation 30 Of The Securities And Exchange Board Of India ...
    https://www.bseindia.com/xml-data/corpfiling/AttachHis/82bf33a6-11e7-4136-8c94-f66c46967e26.pdf
2026-11-30T22:51:56+05:30 other Company Update Reliance Industries Ltd - 500325 - Change In The Corporate Office Address Of Registrar And Transfer Agent (RTA) Of The Company.
    ...

A range of years

from and to take ISO dates, up to ten years. Pages after the first, sent with the cursor, cost no credit.

# A range pages with a cursor; pages after the first cost no credit
params = {"from": "2024-01-01", "to": "2026-11-30", "limit": 500}
all_events, cursor = [], None
while True:
    if cursor:
        params["cursor"] = cursor
    body = get("/stocks/RELIANCE/events", **params)
    all_events += body["data"]["events"]
    cursor = body.get("meta", {}).get("next_cursor")
    if not cursor:
        break
print(len(all_events))

Run on 6 Dec 2026: 728 announcements for RELIANCE from January 2024 to November 2026.

728

Market-wide buckets

/buckets lists the kinds of announcement worth watching across the market, and /buckets/{bucket} returns every company that filed one in the last days (1 to 90).

buckets = get("/buckets")["data"]["buckets"]
print([b["id"] for b in buckets])          # for example order-receipts, fundraise

week = get("/buckets/order-receipts", days=7)["data"]
for e in week["events"]:
    print(e["filed_at"], e["nse_symbol"], e["title"])

Run on 6 Dec 2026, trimmed. Some events have no NSE symbol, so nse_symbol prints None.

['order-receipts', 'fundraise', 'credit-rating', 'acquisitions', 'management-changes']
2026-12-05T13:38:09+05:30 SYMBIOTEC Intimation under Regulation 30 of SEBI (LODR) Regulations 2015 - Receipt of Final order passed by Hon''ble NCLT ...
2026-12-05T12:19:47+05:30 HGINFRA H.G. Infra Engineering Limited has been declared as L-1 bidder by the REC Power Development and Consultancy Limited
...

Read facts from a filing

extract takes the news_id. The answer has doc_type, status, summary and facts, each with fact_key, value_text, source_quote, source_page and confidence. Some filings return an event block whose fields are marked found or not disclosed. A filing not yet read is queued, and the call can use your on-demand quota.

deals = [e for e in all_events if e["filing_type"] == "deals"]
if deals:
    x = get(f"/stocks/RELIANCE/filings/{deals[0]['news_id']}/extract")["data"]
    print(x["doc_type"], x["status"], x["summary"])
    for f in x["facts"]:
        print(f["fact_key"], f["value_text"], "| page", f["source_page"], "|", f["source_quote"])

Run on 6 Dec 2026 against the first deals filing in the range, a credit-rating announcement of 4 November 2026. Trimmed. The rating grade itself came back with an unreadable character, because the PDF text did not decode cleanly, so check the quote against the filing. The script uses all_events from the range call above, because RELIANCE had no deals filing in the last 30 days.

rating grounded Credit rating. Agency: S&P Global Ratings; instrument: Senior Unsecured US$ Denominated Fixed Rate Notes of the Company; rating: A ...; outlook: Stable; action: reaffirmed.
instrument Senior Unsecured US$ Denominated Fixed Rate Notes of the Company | page 1 | Senior Unsecured US$ Denominated Fixed Rate Notes of the Company
rating_action re-affirmation | page 1 | Sub: Re-affirmation of rating
rating_agency S&P Global Ratings | page 1 | S&P Global Ratings
rating_outlook Stable | page 1 | "Stable" outlook
...

A polling loop

Keep the news ids you have seen in SQLite and run the script from cron. The window is 30 days for the first run; lower days once the table is filled. One call per company per run costs 1 credit, so polling one company every 15 minutes is 96 credits a day. To watch many companies, poll a bucket instead, or call /changes/financials?since= for new financial filings since a timestamp.

import sqlite3

db = sqlite3.connect("seen.db")
db.execute("create table if not exists seen (news_id text primary key)")

def new_filings(symbol):
    events = get(f"/stocks/{symbol}/events", days=30)["data"]["events"]
    fresh = []
    for e in events:
        cur = db.execute("insert or ignore into seen values (?)", (e["news_id"],))
        if cur.rowcount:
            fresh.append(e)
    db.commit()
    return fresh

for e in new_filings("RELIANCE"):
    print("NEW", e["filed_at"], e["subject"])

Run on 6 Dec 2026, trimmed. The first run lists every filing in the window. A second run printed nothing, because every news_id was already stored.

NEW 2026-12-01T16:23:50+05:30 Reliance Industries Ltd - 500325 - Disclosure Under Regulation 30 ...
NEW 2026-11-30T22:51:56+05:30 Reliance Industries Ltd - 500325 - Change In The Corporate Office Address ...
...

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.

Price per API call: DalalOS plans and other providers
Provider and planPrice a monthCalls includedPrice per callPer 1,000 callsNotes
DalalOS Plus₹199500 REST credits₹0.398₹398REST and MCP. Yearly billing lowers the price further.
DalalOS Pro₹69920,000 REST credits₹0.0350₹34.95REST and MCP. Yearly billing lowers the price further.
DalalOS Business₹2,4991,50,000 REST credits₹0.0167₹16.66REST and MCP, named contact. Yearly billing lowers the price further.
DalalOS Business+₹4,9994,00,000 REST credits₹0.0125₹12.50REST and MCP, named contact. Yearly billing lowers the price further.
IndianAPI Growth₹1,79950,000 requests₹0.0360₹35.98REST, 1 request a second. Its terms (indianapi.in/legal/terms, read 24 Nov 2026) say any purpose, commercial or not.
IndianAPI Pro₹3,999100,000 requests₹0.0400₹39.99REST, 10 requests a second.

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+

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

Other ways to get BSE announcements

BSE publishes announcements free on its website, and it sells data products under licence; see the BSE API guide for what is confirmed. The JSON endpoint behind the announcements page returned a 403 to a plain Python request, with or without a browser User-Agent, when we tried it on 6 December 2026, so we do not show code for it. Open-source scrapers such as BseIndiaApi read the website and have no real-time guarantee. A forum thread on TradingQnA (January 2025 to October 2026) discusses paid feeds from vendors and from BSE, with prices we have not verified, so this page does not quote them.

Ways to get BSE announcements
OptionCostReal-timeFacts from filings
BSE websiteFree to readYes, on the pageNo, you read the PDF
Open-source scraperFreeWhatever you pollNo
Licensed feed from BSE or a vendorQuoted by the sellerPer the licencePer the product
DalalOS RESTFree plan, then paid; 50 free REST credits a monthPolled through the dayYes, with quote and page (beta)

Which option should you use?

  • The BSE website is the better choice for reading one company's filings by hand. It is free and live on the page.
  • A licensed feed from BSE or a vendor is the right choice if you need announcements the moment BSE releases them, with a stated latency. DalalOS polls, so a trading system that reacts in seconds should not rely on it.
  • An open-source scraper suits a hobby project, with no guarantee when the site changes.

For a developer who needs BSE announcements by company, with the facts inside each filing quoted to a page, DalalOS is the best option, because every event carries its BSE attachment link and a filing type, the extract route returns each value with its verbatim quote and page, market-wide buckets save polling every company, and the Free plan has 50 REST credits a month with no card. Extraction is in beta.

Last checked: . Every code block run on 6 December 2026.

Use of the data

Showing data publicly needs Business+ and covers filings data only. See display rights and licensing. Facts are shown as filed, not as advice.

FAQ

Common questions

Does it cover NSE announcements?
No. The announcements are BSE's. A company listed only on NSE is not covered; a company listed on both is covered through its BSE filings. Independent news is not included.
Is it real-time?
No. The announcements are polled from BSE through the day, not pushed. The freshness block in each response shows when the source was last polled. For a feed with a guaranteed latency, ask BSE or a licensed vendor.
How far back can I go?
Without a range, days takes 1 to 365. With from and to, a range spans up to ten years, clipped by your plan: Free 3 years, Plus 5, Pro and above up to 10. We add older years over time, so check the meta block.
What is news_id?
The identifier of one announcement. Use it to de-duplicate in your poller and to call the extract route for that filing.
Why did extract not return facts straight away?
A filing that has not been read yet is queued, and its status says so. Call again later. Results filings come from XBRL, so use the financials route for those.
Are extracted values reliable?
Each fact carries the verbatim source_quote, the source_page and a confidence. Check the quote against the filing. Extraction is in beta.
Is there a webhook?
No webhook route appears in the API reference, so this guide polls. For market-wide discovery, poll /buckets instead of every company.
Can I show announcements on my website?
Showing data publicly needs Business+ and covers filings data only. Announcements are filings data: headline, category, date and the link to the filing are the safe things to display.

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