Search Indian stocks and funds by name or industry term and get NSE symbol, BSE scrip code, RIC codes, sector and trend labels

View all Indian Stock Exchange API endpoints →

Searches Indian listed instruments for a text term and returns a JSON array of match objects. query is required (for example tata). The endpoint documentation describes it as a search within an industry; the observed probe (query=tata) returned HTTP 200 with a JSON array of 17 objects, every one with the same ten keys: id (an internal identifier such as S0003051), commonName, stockType, exchangeCodeBse (the BSE numeric scrip code as a string), exchangeCodeNsi (the NSE symbol), bseRic, nseRic (Reuters-style codes such as TCS.BO and TCS.NS), mgIndustry, mgSector and activeStockTrends, an object with shortTermTrends, longTermTrends and overallRating. In the probe, stockType was Equity for 12 rows, Fund for 3 ETF rows and null for 2 rows; exchangeCodeNsi was null for one row and exchangeCodeBse was an empty string for one fund. Also in the probe, mgIndustry and mgSector were null in all 17 rows and all three trend fields held the text NA. The unverified source example shows these fields populated (for instance Software & Programming, Technology, Bearish and Bullish), and it lists TATAMOTORS and Tata Motors DVR where the probe returned TMCV and TMPV, so treat the example values as illustrative. No pagination or filter parameter is declared, and the maximum number of matches is unverified. The data is informational, not investment advice.

API Features

Every identifier in one match row Each match carries an internal id, the NSE symbol (exchangeCodeNsi), the BSE scrip code (exchangeCodeBse) and the bseRic and nseRic codes, so one name resolves to all of them in a single call.
Equities and funds in one list The probe for tata mixed 12 Equity rows with 3 Fund rows (ETFs) and 2 rows with a null stockType, so clients can keep or drop instrument types with a simple filter on stockType.
Industry and sector fields per row mgIndustry and mgSector sit on every match. They were null in all 17 probe rows, so treat them as optional, while the source example shows values such as Software & Programming and Technology.
Trend labels on each search result activeStockTrends returns shortTermTrends, longTermTrends and overallRating as text. The probe returned NA for all three on every row; the source example shows labels like Bullish and Moderately Bearish.
One free-text search term query is the only input and takes plain text such as tata. There is no pagination or filter parameter to configure, which keeps a typeahead integration very small.

Live API Demo

GET /api/project/indian-stock-exchange-api/industry-search

Request cost is temporarily unavailable. No price is assumed.

View pricing

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/indian-stock-exchange-api/industry-search?key=<API_KEY>&query=tata'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

What does the Industry Search endpoint return?

A JSON array of match objects. In the probe for query=tata it returned 17 objects, each with id, commonName, stockType, exchangeCodeBse, exchangeCodeNsi, bseRic, nseRic, mgIndustry, mgSector and an activeStockTrends object holding shortTermTrends, longTermTrends and overallRating.

Which parameter do I need to send?

Only query, which is required. Pass a search term such as tata. The probe used query=tata and returned HTTP 200.

How do I get the NSE symbol and BSE code for a company name?

Read exchangeCodeNsi for the NSE symbol and exchangeCodeBse for the BSE numeric scrip code in each match. The bseRic and nseRic fields give the matching RIC codes, for example TCS.BO and TCS.NS in the probe row for Tata Consultancy Services.

Why are mgIndustry and mgSector null and the trend fields NA?

In the probe for tata, mgIndustry and mgSector were null and all three activeStockTrends fields were the text NA in every one of the 17 rows. The source example shows populated values, so handle null and NA as normal values rather than errors.

Does the list contain only stocks?

No. The probe also returned ETF rows with stockType Fund and two rows with a null stockType, one of which had a null NSE symbol. Filter on stockType equal to Equity if you only want listed company shares.

Can I search by industry name instead of company name?

The endpoint documentation describes the search as querying an industry, but only a company-name stem (tata) was probed. Industry terms such as software or auto are unverified, so test your term before relying on it.

Are the codes in the documentation example still current?

Not always. The source example lists TATAMOTORS and Tata Motors DVR, while the probe returned TMCV for Tata Motors and TMPV for Tata Motors Passenger Vehicles Ltd. Always rely on a live response for current symbols and scrip codes.

Related operations

Guides

View Subscription Plans →