Can i fetch stock option chain data , if yes where can i find any suitable example .
I originally built this tool to download expired index options/futures data from Upstox for my own backtesting needs (tested with Nifty 50). Since others might find it useful, Iâm sharing it here!
GitHub - thearunphilip/Upstox_Data_Downloader: [PRE-RELEASE] Upstox API data extractor
[PRE-RELEASE] Upstox API data extractor
Whatâs Inside?
Fetches: Expired futures/options & index ( Jan 2025 data tested).
Automated: Bulk-download OHLC+OI data for old contracts.
Tested: Works reliably for Nifty/BankNifty weekly/monthly expiries.
Limitations:
Only 6 months data as per Upstox
Requires Upstox API key (free tier supported).
Want to Help?
Suggestions welcome!
Report issues if you hit snags.
1 Like
Hi @Ashutosh_35564128, Please review the Option Chain | Upstox Developer API documentation.
Refer to the example codes: Option chain | Example codes
Thanks