NSE India APInseindia.com ↗
Access NSE India market data via API: equity quotes, option chains, indices, corporate announcements, historical prices, gainers/losers, and more in structured JSON.
What is the NSE India API?
This API exposes 26 endpoints covering live and historical data from the National Stock Exchange of India (NSE), including equity quotes with full order books, full option chains with implied volatility and Greeks, daily index snapshots, and corporate announcements. The get_option_chain endpoint returns all strike prices for a given symbol and expiry with CE/PE open interest, IV, and totals, while get_historical_prices delivers daily OHLCV records including VWAP and trade count within a user-specified date range.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/d621017b-ba03-43b8-816b-e5167cb6ec16/get_market_status' \ -H 'X-API-Key: $PARSE_API_KEY'
Get current market status across segments (Capital Market, Currency, Commodity, Debt) including market cap and GIFT Nifty data. Returns one object per market segment with its open/closed state, last trade date, and index values where applicable.
No input parameters required.
{
"type": "object",
"fields": {
"giftnifty": "object with GIFT Nifty futures data (LASTPRICE, DAYCHANGE, PERCHANGE, EXPIRYDATE)",
"marketcap": "object with market capitalization data (timeStamp, marketCapinTRDollars, marketCapinLACCRRupees, marketCapinCRRupees)",
"marketState": "array of market segment status objects with market name, marketStatus, tradeDate, index, last, variation, percentChange"
},
"sample": {
"data": {
"giftnifty": {
"DAYCHANGE": -40,
"LASTPRICE": 23140,
"PERCHANGE": -0.17,
"EXPIRYDATE": "30-Jun-2026"
},
"marketcap": {
"timeStamp": "10-Jun-2026",
"marketCapinTRDollars": 4.79,
"marketCapinLACCRRupees": 455.55
},
"marketState": [
{
"last": 23214.95,
"index": "NIFTY 50",
"market": "Capital Market",
"tradeDate": "10-Jun-2026 15:30",
"variation": -27.15,
"marketStatus": "Open",
"percentChange": -0.12,
"marketStatusMessage": "Normal Market has Closed"
}
],
"indicativenifty50": {
"change": -27.17,
"status": "CLOSE",
"perChange": -0.12,
"closingValue": 23214.95
}
},
"status": "success"
}
}About the NSE India API
Market Status, Indices, and Equity Quotes
get_market_status returns the open/closed state for all NSE segments (Capital Market, Currency, Commodity, Debt) along with GIFT Nifty futures data (last price, day change, percent change, expiry date) and headline market-cap figures in both USD and INR. get_all_indices returns the full list of actively traded indices in one call, with fields including indexName, open, high, low, last, previousClose, percChange, yearHigh, and yearLow. get_quote_equity accepts a symbol parameter and returns a rich single-stock quote with the top-5 order book, delivery percentage, 52-week high/low, volatility, sector, industry, and index membership.
Option Chains and Derivatives Data
get_option_chain accepts a symbol, optional type (Indices or Equity), and an optional expiry in DD-Mon-YYYY format. The response includes records.data — an array of CE/PE objects at each strike price carrying open interest, implied volatility, Greeks, and last traded price — along with records.expiryDates, records.strikePrices, and filtered totals for total OI and total volume. Historical option-contract data is available through get_option_contract_history at daily granularity with OHLC, volume, open interest, change in open interest, and settlement price. NSE does not publish historical intraday option data (1-minute or 5-minute), so no intraday-history endpoint is offered.
Corporate Announcements and Market Movers
get_corporate_announcements supports both a latest-feed mode (returns ~20 most recent items) and a date-range mode when from_date and to_date are both supplied in DD-MM-YYYY format. Results are paginated via page and page_size (capped at 500 per page); the response includes total, has_more, and per-item fields such as symbol, sm_name, desc, attchmntFile, and an_dt. get_gainers_losers returns top movers segmented by NIFTY, BANKNIFTY, and NIFTYNEXT50, while get_price_band_hitters lists upper and lower circuit stocks categorized by market cap tier.
Historical Prices and Financial Data
get_historical_prices takes a symbol, from_date, and to_date (both DD-MM-YYYY) and returns daily records with open, high, low, close, last_traded_price, volume, value, VWAP, and number of trades. The maximum supported range is approximately one year. get_financials returns the last four quarters of income-statement data — total income, expenditure, profit before tax, net profit after tax, and EPS — as reported to the exchange. Balance sheet and cash flow data are not available from NSE through this endpoint.
The NSE India API is a managed, monitored endpoint for nseindia.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when nseindia.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official nseindia.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a live NSE dashboard displaying index values, market status, and top gainers/losers using
get_all_indicesandget_gainers_losers. - Screen options strategies by pulling full option chains with IV and Greeks via
get_option_chainfor NIFTY or BANKNIFTY expiries. - Monitor corporate filings for a specific equity or segment using
get_corporate_announcementswith date-range filtering. - Back-test equity trading strategies with daily OHLCV, VWAP, and trade-count data from
get_historical_prices. - Track stocks hitting 52-week highs/lows or price circuit limits using
get_52_week_high_lowandget_price_band_hitters. - Compare multi-period performance (1-week through 5-year) of a stock against its benchmark index via
get_yearwise_data. - Retrieve quarterly income statement data for fundamental screening using
get_financialsacross a watchlist of symbols.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does NSE India have an official developer API?+
What does `get_option_chain` return, and how do I filter by expiry?+
records.data, an array of CE and PE objects at each available strike price, each carrying open interest, implied volatility, Greeks, LTP, and volume. Pass an expiry string in DD-Mon-YYYY format (e.g., 16-Jun-2026) to target a specific expiry; omit it to get the nearest available expiry. The response also includes records.expiryDates listing all available expiries for the symbol and filtered totals for aggregate OI and volume.Is intraday historical options data (1-minute or 5-minute candles) available?+
get_option_contract_history. You can fork this API on Parse and revise it to add any supplementary data source that does publish intraday options history.Does the API expose balance sheet or cash flow data for equities?+
get_financials returns income-statement data only — total income, expenditure, profit before tax, net profit after tax, and EPS for the last four quarters as filed with the exchange. Balance sheet and cash flow statements are not available from NSE through this endpoint. You can fork this API on Parse and revise it to add the missing endpoint if another source covers those statements.What is the maximum date range for `get_historical_prices`, and what fields are included?+
open, high, low, close, last_traded_price, previous_close, volume, value, VWAP, number of trades, and the 52-week high/low at that point. Supply from_date and to_date in DD-MM-YYYY format alongside the symbol parameter.