Discover/hdfcsec.com API
live

hdfcsec.com APIhdfcsec.com

Access real-time NSE/BSE equity data via the HDFC Securities API: top gainers, losers, 52-week highs/lows, index overviews, stock quotes, and more.

Endpoints
8
Updated
14d ago
Try it
Index code (e.g., 20559 for Nifty 50, 20558 for Sensex)
Time period: I (Intra Day), W (Week), M (Month)
Exchange: NSE or BSE
api.parse.bot/scraper/b58bc736-5f89-43ac-b79d-9cc4508f29fb/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/b58bc736-5f89-43ac-b79d-9cc4508f29fb/get_most_active_nse_stocks?index=20559&period=I&exchange=NSE' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 8 totalclick to expand

Get the most active stocks for a given exchange and index. Returns stocks sorted by trading volume.

Input
ParamTypeDescription
indexstringIndex code (e.g., 20559 for Nifty 50, 20558 for Sensex)
periodstringTime period: I (Intra Day), W (Week), M (Month)
exchangestringExchange: NSE or BSE
Response
{
  "type": "object",
  "fields": {
    "data": "array of stock objects with stock_name, symbol, ltp, change, percent_change, day_low, day_high, volume, co_code, isin"
  },
  "sample": {
    "data": [
      {
        "ltp": "796.05",
        "isin": "INE040A01034",
        "change": "-0.50",
        "symbol": "",
        "volume": "46137553",
        "co_code": "4987",
        "day_low": "788.55",
        "day_high": "801.55",
        "stock_name": "HDFC Bank Ltd",
        "percent_change": "-0.06"
      }
    ],
    "status": "success"
  }
}

About the hdfcsec.com API

The HDFC Securities API exposes 8 endpoints covering Indian equity market data from hdfcsec.com, including intraday and weekly price movements across NSE and BSE. You can pull most active stocks by volume, rank gainers and losers by percent change, retrieve 52-week high/low breakouts, or call get_stock_quote to get a single stock's market cap, open, previous close, and 52-week range in one response.

Endpoints and Coverage

The API covers eight distinct market data endpoints. get_most_active_nse_stocks, get_top_gainers_nse, and get_top_losers_nse all share the same core response shape — arrays of stock objects including stock_name, symbol, ltp (last traded price), change, percent_change, day_low, day_high, volume, co_code, and isin. All three accept an exchange parameter (NSE or BSE), an index parameter using numeric codes (e.g., 20559 for Nifty 50, 20558 for Sensex), a period parameter (I for intraday, W for week, M for month), and a limit parameter on the gainers/losers endpoints.

Stock Quotes and Search

get_stock_quote accepts a symbol string (e.g., INFY, RELIANCE, TCS) and returns a detailed object that adds open, prev_close, market_cap, fifty_two_wk_high, fifty_two_wk_low, and sector information on top of the standard price fields. search_stock accepts a free-text query for name or symbol lookup and returns matching stocks with stock_name, co_code, ltp, change, percent_change, isin, and exchange — useful for resolving a company name to its trading symbol before calling the quote endpoint.

52-Week Extremes and Index Overview

get_52_week_high_stocks and get_52_week_low_stocks return stocks currently at their highest or lowest price over the trailing year. Both accept optional index and exchange filters. The response includes prev_day_high or prev_day_low alongside the standard price and volume fields, letting you compare the current print against the prior session's extreme. get_equity_market_overview returns an array of all available indices for a given exchange, with index_name, index_code, ltp, change, and percent_change — a quick way to snapshot overall market direction before drilling into individual stocks.

Common use cases
  • Screen for momentum stocks by calling get_top_gainers_nse with period=I to find intraday leaders on Nifty 50
  • Build a 52-week breakout watchlist using get_52_week_high_stocks filtered to a specific index
  • Display a market dashboard using get_equity_market_overview to show all NSE/BSE index levels and changes
  • Look up a stock's ISIN and co_code via search_stock before cross-referencing with other financial data sources
  • Monitor unusual volume activity by sorting get_most_active_nse_stocks results by the volume field
  • Populate a stock detail page with get_stock_quote to show market cap, 52-week range, and sector alongside live price
  • Identify oversold candidates by filtering get_top_losers_nse over a weekly period across BSE
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does HDFC Securities offer an official developer API?+
HDFC Securities does not publish a public developer API or developer portal for third-party access to its market data. This Parse API provides structured access to the data available on hdfcsec.com.
What does get_stock_quote return that the list endpoints don't?+
get_stock_quote returns fields specific to a single stock: open price, prev_close, market_cap, fifty_two_wk_high, fifty_two_wk_low, and sector. The list endpoints (gainers, losers, most active) return day_low, day_high, volume, and percent_change but omit those deeper fundamentals.
How fresh is the price data, and does the API cover historical OHLCV series?+
Prices reflect what is currently displayed on hdfcsec.com and are suitable for near-real-time market monitoring during trading hours. The API does not return historical OHLCV time series — the period parameter on list endpoints filters ranking scope (intraday, week, month) rather than returning historical candles. You can fork this API on Parse and revise it to add a historical data endpoint if that capability is needed.
Can I filter get_most_active_nse_stocks or the gainers/losers endpoints to a specific sector?+
Not currently. Filtering is limited to exchange (NSE or BSE), index code, and time period. Sector-level filtering is not exposed by these endpoints. You can fork the API on Parse and revise it to add sector-based filtering if that breakdown is required.
Are derivatives, mutual funds, or F&O data covered?+
No. The API covers equity cash market data only — stocks listed on NSE and BSE. Futures, options, mutual fund NAVs, and commodity data are not included in any of the eight endpoints. You can fork this API on Parse and revise it to add endpoints targeting those asset classes.
Page content last updated . Spec covers 8 endpoints from hdfcsec.com.
Related APIs in FinanceSee all →
mazda.ca API
Find current vehicle deals, financing rates, lease options, and incentives across all Mazda Canada models and trims, with pricing tailored to your province. Get instant payment quotes to compare your options and discover the best offers available.
13f.info API
13f.info API
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
bizapedia.com API
Search for detailed business profiles and contact information from Bizapedia, including company details, employee data, and communication channels. Access comprehensive business intelligence to research companies and build targeted contact lists.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.