NSE India

nse-archives — Download NSE India market data as pandas DataFrames.
pip install nse-archives
86 datasets confirmed working across equities, F&O, debt, indices, SLB, IRD, and EGR.
Quick Start
from nsedata import nse
df = nse.get("capital_market", "equities_sme", "sec_bhavdata_full", "2026-05-22")
df = nse.get("capital_market", "indices", "ind_close_all", "2026-05-22")
df = nse.get("derivatives", "equity", "fo_bhav_udiff", "2026-05-22")
nse.list_datasets()
Dataset Categories
| Category | Sub-section | Datasets |
|---|---|---|
| Capital Market | Equities & SME | 32 |
| Capital Market | Indices | 2 |
| Capital Market | SLB | 12 |
| Derivatives | Equity F&O | 8 |
| Derivatives | Commodity | 3 |
| Derivatives | Currency | 3 |
| Derivatives | Interest Rate | 9 |
| Debt | Corporate Segment | 15 |
| Debt | Debt Segment | 4 |
| Debt | Tri-Party Repo | 1 |
| EGR | EGR | 1 |
Status Key
| Symbol | Meaning |
|---|---|
| ✅ | Confirmed working — DataFrame + Download |
| ⬇️ | Download only (DAT/LST/DOC format) |
| 🕐 | T-1 only — available previous trading day |
| ⚙️ | Extra param (auto-calculated by default) |
| ⏭ | Portal-only — download manually from NSE website |
Source
Data served from nsearchives.nseindia.com — direct file downloads, no Cloudflare, works from any IP including Lambda.