Annual report generator

Can we please have an annual report download option for a particular company with time interval.

Those reports are not being downloaded using standard scraping functions.

Shall credit you folks when the project gets completed under IIMA

Good request — just shipped this in v2.100 as nse_annual_reports().

It wraps NSE’s own /api/annual-reports endpoint, which isn’t part of the historical-data family
that’s hard to scrape — it’s a plain metadata+link listing, so it’s reliable. Returns company name,
the report’s from/to fiscal year, submission date, and a direct PDF/zip download URL on
nsearchives.nseindia.com for each year, going back as far as NSE has them on file (17 years for
RELIANCE when I tested it, for example).

from nsepython import *

# every annual report NSE has on file for this company
print(nse_annual_reports("RELIANCE"))

# filtered to a specific year range
print(nse_annual_reports("RELIANCE", year_from=2022, year_to=2024))

Each row’s fileName column is the real downloadable URL — fetch it yourself with requests/curl if
you want the actual PDF, the function itself just returns the metadata + link (same pattern as every
other *_history-style function in this library, rather than silently writing files to disk on your
behalf).

pip install --upgrade nsepython

Good luck with the IIMA project — happy to take a look if you hit anything else building on top of
this.