Built around the Stop-Loss Principle

NSE Historical Data Download - CSV & API

Download four years of minute-level NSE spot, futures and options data, expired contracts included, as CSV files or through the Developer API. Viewing is included with your plan. Downloads use Stolo Tokens, 1 per symbol per trading day.

Paid trial from ₹199  ·  Full Pro access  ·  Setup in 3 minutes

NSE Historical Data Download - CSV & API
4 yrs
Of NSE History
1 min
Candle Resolution
195+
F&O Instruments
1 token
Per Symbol per Trading Day

Why NSE Historical Data Download Is Harder Than It Should Be

The data exists. Getting it out in a clean, minute-level format, with expired contracts included, is the part that eats your weekend.

End-of-Day Files Only

NSE's public bhavcopy gives you one row per contract per day. That works for a closing-price check, but it can't show how a strike moved between 9:15 and 15:30.

Expired Contracts Go Missing

Many broker APIs only serve instruments that are still trading. The strike that was at the money three expiries ago, the one your backtest actually needs, is often gone.

Scraped Data Breaks Quietly

Scripts that copy numbers off websites break when a layout changes. They leave gaps you only notice after a backtest looks too good to be true.

Flat Fees for Data You Don't Use

Data subscriptions often charge the same every month whether you pull one week of candles or a full year. Occasional research ends up paying full-time prices.

What You Need to View or Download NSE Historical Data

Viewing the data in the Stolo app only needs a plan. Downloading it as files, or pulling it into your own code, needs a plan and Stolo Tokens.

To View the Data

All you need is a plan

Plans start at ₹199

Take a Flexi Trial or Pro plan and you can open every historical screen in the Stolo app. Look at as much data as you like. Viewing never uses tokens.

  • See the option chain for any past date, including expired contracts
  • Replay past market sessions and option chains
  • Check historical OI and charts for any past date
  • No tokens used, no matter how much you view
You need: a Flexi Trial or Pro plan. See what you can view in the app
To Download the Data

You need a plan and Stolo Tokens

Plans start at ₹199, plus tokens for what you download

To save the data as CSV files, or pull it into your own code with the API, you need a plan plus Stolo Tokens. Tokens are only used for the past trading days you download.

  • Download CSV files from the Historical Data screen, sent to you as a ZIP
  • Or pull the same data with the Developer API
  • 1 token for each symbol, for each past trading day. Today's data costs no tokens
  • Downloading the same data again within 24 hours costs no tokens, and tokens never expire
You need: a plan and Stolo Tokens. How token charges work

What Is NSE Historical Data Download?

NSE historical data download means taking recorded data from past sessions (OHLC candles, volume, open interest and option chain snapshots) out of a platform and into your own files or code. Viewing data shows you what happened. Downloading it lets you test a rule against hundreds of sessions in a spreadsheet, a Python notebook or your own backtester.

On Stolo, downloads come from the same NSE-authorised database that powers the app's historical screens, so the numbers in your CSV match what you see on the chart. Read where Stolo's data comes from.

Read the API Docs

4 Years of History

Every download draws on four years of NSE data. That's enough sessions to cover several volatility regimes, budget days and hundreds of expiries.

1-Minute Candles

Candles start at one-minute resolution, with OHLC, volume and OI in every row. Choosing a finer or coarser candle size doesn't change the token cost.

Spot, Futures and Options

Pull the index or stock spot, the near-month future and any option strike. Coverage spans the entire NSE F&O segment, not just Nifty and Bank Nifty.

Expired Contracts Included

Past expiries stay downloadable after settlement. You can pull the strike that was ATM months ago, not just the contracts trading today.

Two Ways to Download NSE Historical Data: CSV and API

No-code CSV files for research, a REST API for anything automated, and one token balance behind both.

Download NSE Historical Data as CSV, No Code Needed

Open Historical Data in the Stolo app (Research, then Historical). Pick a symbol, a date range of up to 30 days and a candle size, then tick what you want: the spot series, the near-month future and option strikes for one expiry. Stolo prepares a ZIP in the background and emails you a download link, valid for 2 hours.

  • One CSV per symbol per trading day
  • Quick picks for ATM strikes, all calls or all puts
  • Exact file and token count shown before you confirm
  • Sample Data button to check the file format first
Stolo Historical Data download screen with NIFTY spot, futures and option strikes selected for a CSV download
CSV Download

Pull Candles and Option Chains With the NSE Historical Data API

The Stolo Developer API serves the same NSE F&O data over HTTPS. Authenticate once with your app key and secret, then call the symbol info, option chain and candle endpoints from Python, JavaScript or anything that speaks HTTP.

  • Candles at any minute resolution, up to 30 days per call
  • Option chain for any past date and expiry
  • OHLC, volume and OI for every option strike
  • Default limit of 3,000 requests a day, see rate limits
Endpoint Reference
Stolo Developer API guide quickstart with curl examples for authentication and the option chain
API Documentation

Test Every Endpoint in Your Browser First

The API Playground runs the same calls from a form and shows the exact request and raw response for each one. Use it to check that your app key works and to see real response shapes before you write a line of code.

  • Create your API app from your account: one app per account, key and secret issued straight away
  • Current-day calls never cost tokens
  • Copy option symbols straight from the chain response
Open the API Playground
Stolo API Playground running a past-date NIFTY option chain request with the JSON response
API Playground

One Token Balance for CSV and API

CSV downloads and API calls draw from the same Stolo Tokens balance. Tokens are a one-time purchase, not a subscription. Larger packs cost less per token, and tokens never expire.

  • Check your balance under Account, then Stolo Tokens
  • Every charge and refund listed in your ledger
  • Top up any time, unused tokens carry over
Buy Stolo Tokens
Stolo Tokens account page showing available balance, where tokens went and usage history
Stolo Tokens

What an NSE Historical Data Download Costs in Tokens

Every download request lands in one of four outcomes. Knowing which one you're in keeps your token spend predictable.

No tokens

Current trading day

Today on a trading day, or the last trading day on weekends and market holidays. Data for the current trading day never costs tokens.

1 Token

Each past trading day, per symbol

One symbol for one past trading day costs 1 token, whether you take 1-minute or 15-minute candles. Weekends, holidays and days with no data for that contract are not charged.

No-Charge Repeat

The same data within 24 hours

Once a symbol and day is charged, pulling it again within 24 hours costs nothing. The window runs from the first charge and doesn't extend.

Not Charged

Short balance or a failed download

If your balance can't cover the request, nothing is charged. Failed downloads and failed API calls are refunded automatically, and each refund shows in your ledger.

Worked examples

Request Tokens
NIFTY 25100 CE, Monday 14 to Sunday 20 September 5 (Saturday and Sunday aren't charged)
The same range again, an hour later 0
17 to 24 September, later the same day 4 (17 and 18 are already paid)
3 NIFTY strikes for one weekly expiry, 5 trading days each 15
10 option symbols over 20 trading days 200

More examples, including option chain and symbol info requests, in the token charges guide.

How to Download NSE Historical Data on Stolo

From a fresh account to a ZIP of CSVs in your inbox. Viewing works from step one. Tokens only come in when you download.

Start a Flexi Trial

Automating this? The Developer API follows the same token rules.

01

Activate a Flexi Trial or Pro plan

Start a Flexi Trial from ₹199 or a Pro plan. Either one unlocks every historical screen in the app, and an active plan is also required for downloads and API access. Compare the plans.

02

Buy a Stolo Tokens pack

Top up from the buy tokens page. Packs are a one-time purchase, bigger packs cost less per token, and unused tokens never expire.

03

Open Historical Data and set your range

In the app, go to Research, then Historical. Choose the symbol, a date range of up to 30 days and the candle size you want.

04

Tick spot, futures or option strikes

Select the spot series, the near-month future, and option strikes for one expiry. Quick picks cover ATM strikes, all calls or all puts, so you don't have to tick strikes one by one.

05

Review the token count and confirm

The confirm screen lists every file, the tokens each costs, anything already paid for in the last 24 hours, and your balance. If you're short, it tells you by how much, and nothing is charged until you confirm.

06

Download the ZIP and keep a local copy

Stolo emails you a download link, valid for 2 hours, with one CSV per symbol per trading day. Past sessions never change once they close, so save the files and you'll never pay for the same day twice.

Stolo vs NSE Bhavcopy vs Broker APIs for Historical Data

Where each source stands on the data options traders actually need to download.

Feature Stolo NSE Bhavcopy Broker APIs
Minute-level candles for options
Expired options contracts
Option chain for any past date
Open interest with every candle
4 years at 1-minute resolution
CSV download without code
REST API access
Pricing Plan + 1 token per symbol-day Free, end-of-day only Varies by broker
NSE-authorised source

Partial means coverage varies by provider, contract type or resolution. Bhavcopy carries one end-of-day row per contract.

Questions?

Frequently Asked Questions about NSE Historical Data Download

Direct answers on downloading NSE historical data as CSV or through the API, and how Stolo Tokens are charged

Still have questions? Our team typically replies in under 24 hours.
Ask us

It is how you take Stolo's NSE historical data out of the app and into your own tools. You can download CSV files from the Historical Data screen in the Stolo app, or pull the same data through the Stolo Developer API. Both draw on four years of NSE-authorised data at one-minute resolution, covering spot, futures and options across the entire F&O segment, expired contracts included. Downloads need an active plan plus Stolo Tokens, charged at 1 token per symbol per past trading day.

No. Viewing historical data inside Stolo is included with every Flexi Trial and Pro plan and never uses tokens. That covers the historical option chain, market chart replay, option chain replay, historical OI and TradingView charts on past dates. Tokens only come in when you take the data out, as CSV files or through the API. See what you can view in the app.

Stolo Tokens are Stolo's usage currency for paid actions like historical data downloads. You buy them in packs as a one-time purchase, not a subscription, and larger packs cost less per token. The same balance pays for CSV downloads and Developer API calls, so you never manage two separate wallets. You can check your balance, usage and full ledger under Account, then Stolo Tokens.

One token per symbol per past trading day that returns data. Three option strikes over five trading days is 15 tokens, and ten symbols over twenty trading days is 200. Candle size doesn't change the price, and weekends, market holidays and days with no data for a contract are not charged. Before any CSV download, the confirm screen shows the exact file count and token total, so there are no surprises.

No. Data for the current trading day never costs tokens. That means today on a trading day, or the last trading day on weekends and market holidays, so on a Saturday, Friday's data costs no tokens. On the API this includes the live option chain during market hours, limited only by your rate limits. Any earlier date counts as historical and is charged in tokens.

No. Once bought, Stolo Tokens stay in your account for as long as the account exists. Unused tokens carry over, so you can buy a larger pack at a lower per-token price and use it across months of research. Your plan renews on its own billing cycle, but your token balance is separate and doesn't reset.

Yes. Downloading needs an active Flexi Trial or Pro plan on your account, plus enough Stolo Tokens to cover the trading days you pull. The plan gives you access to the Historical Data screen and the Developer API, and the tokens pay for the past-date data itself. A Flexi Trial starts at ₹199 for three days, so you can test a download without a long commitment. See the subscription plans for details.

Use CSV download for one-off research: pick a symbol, up to 30 days and the strikes you need, and get a ZIP of CSVs by email with no code. Use the Developer API when the pull is part of a script, a scheduled backtest or a dashboard, since it returns candles and option chains as JSON up to 30 days per call. Both use the same token rules and the same balance. A sensible pattern is to pull a CSV first to check the data, then automate the same pull with the API.

Nothing is charged. For CSV downloads, the confirm screen shows your balance and how many tokens you're short, with a Buy tokens button right there. For the API, a request your balance can't cover returns a 402 error and charges nothing, so a script can never overdraw. Top up and the next download or call works straight away.

Yes. Stolo keeps the full history of expired option and futures contracts, so you can download the strike that was at the money on a past expiry, not just the contracts trading today. Expired contracts are priced the same way as anything else, 1 token per symbol per trading day. This is the data most broker APIs drop after settlement, and it is usually what a serious options backtest needs.

Four years, at one-minute resolution, for spot, futures and options across the entire NSE F&O segment. Each CSV download or API call covers up to 30 days, so longer studies are pulled in 30-day chunks. Days you already downloaded in the last 24 hours cost no tokens to pull again. Past sessions never change once they close, so saving each pull locally means you never pay for the same day twice.

Yes, through the Developer API. The option chain endpoint returns calls and puts for 20 strikes either side of ATM for any past date and expiry, with LTP, OI and volume, at 1 token per request. To get minute-by-minute history for individual strikes, use the candle endpoints or the CSV download, which return OHLC, volume and OI for each contract. See the analysis endpoints guide for every parameter.

More Tools for Indian F&O Traders

Trader Voices

Why Smart Traders Choose Stolo?

Every trade is a small bet on a dream, backed by risk and a decision you have to own. Stolo is built for traders who bring purpose and discipline to that decision, not just numbers.

Kanna K
Advanced Trader

Kanna K

My first impression of your site, "K.I.S.S."..... Simple yet effective...uncluttered and has all the ingredients a trader actually needs not the nonsensical ones... great job

Features they rely on

These are unedited testimonials from traders in our Telegram community. Photos shown are AI-generated and used for representation only.

Shafeeq
Advanced Trader

Shafeeq

You have something unique in your platform that has changed my trading. I have used Quantsapp earlier didn't find it useful. I have tried opstra, sensibull etc.

Features they rely on

These are unedited testimonials from traders in our Telegram community. Photos shown are AI-generated and used for representation only.

Santosh Kumar
Advanced Trader

Santosh Kumar

Dear Sir, I am really impressed with the user interface and multiple other facilities for option traders.

Features they rely on

These are unedited testimonials from traders in our Telegram community. Photos shown are AI-generated and used for representation only.

You request, we deliver. The only platform shaped by an open trader community.

Got a question or a feature you wish existed? Drop it in our Telegram community, the Stolo team is right there reading every message.

Stolo Telegram Channel
Join our Telegram Channel
for more updates
Subscribe to YouTube Channel