⚠️ Disclaimer: This is unofficial and scrapes public endpoints from NSE’s website.
Use responsibly and respect NSE’s terms of service.
Not suitable for high-frequency or production trading systems.
If this repo helped you, please consider giving it a star on GitHub!
It motivates me to keep improving and sharing.
A simple Node.js script to fetch live stock data from the National Stock Exchange (NSE) of India.
Perfect for learning, personal dashboards, or small automation projects.
- Fetches real-time NSE stock data using NSE’s own quote API.
- Lightweight: just one script (
index.js
). - Works with any NSE symbol you provide.
Clone and install dependencies:
git clone https://github.com/Wellitsabhi/nse-stocks-data.git
cd nse-stocks-data
npm install
node index.js