https://github.com/sachnaror/stock-exchange-api-india
Ready to flirt with risk and make stocks your naughty little playthings? πππ π§ββοΈ Fetch data from BSE & NSE effortlessly! Whether itβs gains, losses, or just confusing numbers, Iβve got your back. Perfect for those who love moneyβ¦ or at least pretending to! πΈπ
https://github.com/sachnaror/stock-exchange-api-india
apis bse india nse stockmarket
Last synced: 7 months ago
JSON representation
Ready to flirt with risk and make stocks your naughty little playthings? πππ π§ββοΈ Fetch data from BSE & NSE effortlessly! Whether itβs gains, losses, or just confusing numbers, Iβve got your back. Perfect for those who love moneyβ¦ or at least pretending to! πΈπ
- Host: GitHub
- URL: https://github.com/sachnaror/stock-exchange-api-india
- Owner: sachnaror
- License: mit
- Created: 2025-01-10T03:00:45.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-14T21:03:24.000Z (9 months ago)
- Last Synced: 2025-01-22T02:48:05.042Z (9 months ago)
- Topics: apis, bse, india, nse, stockmarket
- Language: JavaScript
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stock Market APIs - India π
**Fetch data from the Bombay Stock Exchange (BSE) and National Stock Exchange (NSE) in India.**
Access all the stock market data you need with simple APIs! π
---
## β¨ Features
### National Stock Exchange (NSE) APIs:
- π **Market Status**: Check if the market is open or closed.
```
http://localhost:3000/get_market_status
```
- π **Indices Data**: Get all NSE indices with changes, highs, lows, and order.
```
http://localhost:3000/nse/get_indices
```
- π’ **Company Quotes**: Fetch quotation data for individual companies or multiple companies.
```
http://localhost:3000/nse/get_quote_info?companyName=RIL
http://localhost:3000/nse/get_multiple_quote_info?companyNames=RIL,INFY,AND_MORE
```
- πΉ **Top Gainers/Losers**: Retrieve the top 10 gainers or losers.
```
http://localhost:3000/nse/get_gainers
http://localhost:3000/nse/get_losers
```
- π **52 Week High/Low**: Discover the stocks with 52-week highs or lows.
```
http://localhost:3000/nse/get_52_week_high
http://localhost:3000/nse/get_52_week_low
```### Bombay Stock Exchange (BSE) APIs:
- π¦ **Indices**: Access details of all indices in the BSE.
```
http://localhost:3000/bse/get_indices
```
- π **Company Info**: Get historical data, chart data, and day charts.
```
http://localhost:3000/bse/get_company_info?companyKey=500112
```
- π **Top Gainers/Losers/Turnovers**: Fetch top-performing stocks or turnovers.
```
http://localhost:3000/bse/get_gainers
http://localhost:3000/bse/get_losers
```---
## π¦ Installation
### 1οΈβ£ Locate your Application Directory
Identify where your app lives. For example: `/home/user/your_app`.### 2οΈβ£ Install Node.js
Do yo ureally want me to tell you this ? Seriously ?### 3οΈβ£ Install Express
Navigate to your app directory and run:
```bash
npm install express
```### 4οΈβ£ Start the Server
Start the server with:
```bash
node app.js 3000
```
Now you can access the APIs at `http://localhost:3000`! π---
## π¨ Important Notes
- API calls from browsers may fail due to 'OPTIONS' preflight requests or headers. I recommend making calls from your server.
- For best results, use these APIs within your application or backend services.---
## π Tech Stack
- **Node.js**
- **Express.js**
- **REST APIs**---
## π© Contact
| Name | Details |
|-------------------|-------------------------------------|
| **π¨βπ» Developer** | Sachin Arora |
| **π§ Email** | [sachnaror@gmail.com](mailto:sachnaror@gmail.com) |
| **π Location** | Noida, India |
| **π GitHub** | [github.com/sachnaror](https://github.com/sachnaror) |
| **π Website** | [https://about.me/sachin-arora](https://about.me/sachin-arora) |
| **π± Phone** | [+91 9560330483](tel:+919560330483) |---
## π Letβs Make the Stock Market More Fun & Accessible! π€
Ready to track your stocks like a pro? Install the package and start exploring! π---
_Last updated on January 10, 2025_