Indian Stock Exchange API

The Indian Stock Exchange API provides detailed financial data for companies listed on the BSE and NSE. This API allows users to retrieve company profiles, stock prices, technical data, financials, key metrics, analyst views, shareholding patterns, corporate actions, and recent news.

The Indian Stock Exchange API provides detailed financial data for companies listed on the Bombay Stock Exchange (BSE) and National Stock Exchange (NSE), empowering users with comprehensive insights into the dynamic Indian stock market. This powerful API allows investors, financial analysts, and developers to access a wealth of information essential for making informed investment decisions and conducting thorough research.

Check out our Indian API Marketplace here:

https://indianapi.in/

Unlock the potential of the Indian stock market with Indian Stock Exchange API's extensive features, including:

  • Company Profiles: Dive deep into the profiles of Indian companies, gaining valuable insights into their background, history, and industry presence.
  • Stock Prices: Stay up-to-date with real-time stock prices for both BSE and NSE listings, ensuring you never miss a market movement.
  • Technical Data: Access detailed technical analysis data for Indian stocks, enabling you to assess performance and trends with precision.
  • Financials: Explore financial statements and data for Indian companies, including income statements, balance sheets, and cash flow statements.
  • Key Metrics: Evaluate key financial ratios and metrics specific to the Indian stock market, such as profitability, liquidity, and solvency.
  • Analyst Views: Stay informed with expert analyst views and recommendations tailored to Indian stocks, helping you understand market sentiment and investment opportunities.
  • Shareholding Patterns: Gain insights into shareholding patterns of Indian companies, including institutional holdings, promoter holdings, and public shareholding structures.
  • Corporate Actions: Track corporate actions such as dividends, stock splits, mergers, and acquisitions in the Indian market, staying informed about events that may impact stock prices.
  • Recent News: Access the latest news articles related to Indian companies, industries, and market developments, ensuring you're always in the know.

 

contact us: [email protected]

We also offer custom endpoints and a dedicated server for your needs!

API Documentation

Endpoints


  •  Endpoint: /stock
  •  Method: GET
  •  Description: Retrieve detailed financial data for a specific company using its name. The API supports full names, shortened names or any search terms that livemint search supports.
  •  Parameters:
       name (required, string): The name, shortened name, or any search term livemint allows.

Sample Request

```http
GET /company?name=Reliance
```

Sample Response

```json
{
"tickerId": "S0003018",
"companyName": "Reliance Industries Limited",
"industry": "Oil & Gas Operations",
"companyProfile": {
// ... detailed company profile data
},
"currentPrice": {
"BSE": 2200.50,
"NSE": 2195.75
},
"stockTechnicalData": {
// ... technical data
},
"percentChange": 1.25,
"yearHigh": 2400.00,
"yearLow": 1800.00,
"financials": {
// ... financial data
},
"keyMetrics": {
// ... key metrics
},
"futureExpiryDates": [
"2024-06-28",
"2024-07-26",
// ... more dates
],
"futureOverviewData": {
// ... future overview data
},
"initialStockFinancialData": {
// ... initial financial data
},
"analystView": {
// ... analyst views
},
"recosBar": {
// ... recommendations bar data
},
"riskMeter": {
// ... risk meter data
},
"shareholding": {
// ... shareholding data
},
"stockCorporateActionData": {
// ... corporate action data
},
"stockDetailsReusableData": {
// ... reusable stock details data
},
"recentNews": [
// ... news articles
]
}
```

Detailed Description of Structured Data

  • tickerId: The unique identifier for the stock (e.g., "RELIANCE").
  • companyName: The full name of the company.
  • industry: The industry in which the company operates.
  • companyProfile: Detailed information about the company.
  • currentPrice: Current stock prices for BSE and NSE.
    • BSE: Current price on BSE.
    • NSE: Current price on NSE.
  • stockTechnicalData: Technical analysis data of the stock.
  • percentChange: Percentage change in stock price.
  • yearHigh: Highest price of the stock in the past year.
  • yearLow: Lowest price of the stock in the past year.
  • financials: Financial statements and data of the company.
  • keyMetrics: Key financial ratios and metrics.
  • futureExpiryDates: Dates of future contract expiries.
  • futureOverviewData: Overview data of futures contracts.
  • initialStockFinancialData: Initial financial data of the stock.
  • analystView: Analyst recommendations and views.
  • recosBar: Data showing analyst recommendations.
  • riskMeter: Risk assessment data.
  • shareholding: Shareholding patterns.
  • stockCorporateActionData: Information on corporate actions.
  • stockDetailsReusableData: Reusable data details for the stock.
  • recentNews: Recent news articles related to the company.


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5551/get+company+data+by+name
                                                                            
                                                                        

Get Company Data by Name - Endpoint Features

Object Description
name [Required] The name, shortened name, or any search term livemint allows.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"tickerId":"S0003020","companyName":"HDFC Bank","industry":"Regional Banks","companyProfile":{"companyDescription":"HDFC Bank Limited (the Bank) is a private bank. The Bank, together with its subsidiaries, is engaged in providing a range of banking and financial services, including retail banking, wholesale banking, treasury operations, insurance, asset management, stockbroking and other financial services businesses. Its segment includes treasury, retail banking, wholesale banking, and other banking services. The treasury segment consists of net interest earnings from the Bank’s investment portfolio, money market borrowing and lending, gains or losses on investment operations. The retail banking segment consists of digital banking and other retail banking. The wholesale banking segment provides loans, non-fund facilities and transaction services to corporates, emerging corporates, public sector units, government bodies, and others. The other banking business segment includes parabanking activities such as credit cards, debit cards, third party product distribution, and the associated costs.","mgIndustry":"Regional Banks","isInId":"INE040A01034","officers":{"officer":[{"rank":1,"since":"NA","firstName":"Sashidhar","mI":null,"lastName":"Jagdishan","age":"59 ","title":{"startYear":"2020","startMonth":"10","startDay":"27","iD1":"CEO","abbr1":"CEO","iD2":"MDR","abbr2":"Mgng.Dir.","Value":"Chief Executive Officer, Managing Director, Executive Director"}},{"rank":2,"since":"12/01/2018","firstName":"Srinivasan","mI":null,"lastName":"Vaidyanathan","age":"60 ","title":{"startYear":"2019","startMonth":"08","startDay":"22","iD1":"CFO","abbr1":"CFO","iD2":"","abbr2":"","Value":"Chief Financial Officer"}},{"rank":3,"since":"09/06/2018","firstName":"Vinay","mI":null,"lastName":"Razdan","age":"57 ","title":{"startYear":"2020","startMonth":"","startDay":"","iD1":"CHO","abbr1":"Chief HR","iD2":"","abbr2":"","Value":"Chief Human Resource Officer"}},{"rank":4,"since":"10/16/2020","firstName":"Ramesh","mI":null,"lastName":"Lakshminarayanan","age":"53 ","title":{"startYear":"2020","startMonth":"10","startDay":"16","iD1":"CIO","abbr1":"CIO","iD2":"","abbr2":"","Value":"Chief Information Officer"}},{"rank":5,"since":"2024","firstName":"Ravi","mI":null,"lastName":"Santhanam","age":null,"title":{"startYear":"2024","startMonth":"","startDay":"","iD1":"CMO","abbr1":"CMO","iD2":"","abbr2":"","Value":"Chief Marketing Officer, Head - Direct to Consumer Business"}},{"rank":6,"since":"07/21/2024","firstName":"Ajay","mI":null,"lastName":"Agarwal","age":null,"title":{"startYear":"2024","startMonth":"07","startDay":"21","iD1":"CCO","abbr1":"Chief Comp.","iD2":"SEC","abbr2":"Secy.","Value":"Compliance Officer, Company Secretary"}},{"rank":7,"since":"2022","firstName":"Sanmoy","mI":null,"lastName":"Chakrabarti","age":null,"title":{"startYear":"2022","startMonth":"","startDay":"","iD1":"CRO","abbr1":"CRO","iD2":"","abbr2":"","Value":"Chief Risk Officer"}},{"rank":8,"since":"NA","firstName":"Kaizad","mI":null,"lastName":"Bharucha","age":null,"title":{"startYear":"2023","startMonth":"04","startDay":"19","iD1":"DMD","abbr1":"Dep-Mgng.Dir.","iD2":"EDR","abbr2":"Exec. Dir.","Value":"Deputy Managing Director, Executive Director"}},{"rank":9,"since":"11/23/2023","firstName":"V. Srinivasa","mI":null,"lastName":"Rangan","age":null,"title":{"startYear":"2023","startMonth":"11","startDay":"23","iD1":"EDR","abbr1":"Exec. Dir.","iD2":"","abbr2":"","Value":"Executive Director - Legal and Secretarial, Fraud and Vigilance, Ethics Office, Information Security Group, Group Oversight Department"}},{"rank":10,"since":"2007","firstName":"Bhavesh","mI":null,"lastName":"Zaveri","age":"58 ","title":{"startYear":"2023","startMonth":"04","startDay":"19","iD1":"EDR","abbr1":"Exec. Dir.","iD2":"","abbr2":"","Value":"Executive Director - Operations, ATM and Administration"}}]},"exchangeCodeBse":"500180","exchangeCodeNse":"HDFCBANK","peerCompanyList":[{"tickerId":"S0003020","companyName":"HDFC Bank","priceToBookValueRatio":2.83,"priceToEarningsValueRatio":18.93,"marketCap":1277154.64,"price":1681.15,"percentChange":0.47,"netChange":7.8,"returnOnAverageEquity5YearAverage":16.87,"returnOnAverageEquityTrailing12Month":17.49,"ltDebtPerEquityMostRecentFiscalYear":160.08,"netProfitMargin5YearAverage":31.11,"netProfitMarginPercentTrailing12Month":24.12,"dividendYieldIndicatedAnnualDividend":1.15,"totalSharesOutstanding":759.691066,"languageSupport":"HDFC Bank","imageUrl":null,"yhigh":1791.9,"ylow":1363.45},{"tickerId":"S0003019","companyName":"ICICI Bank","priceToBookValueRatio":3.41,"priceToEarningsValueRatio":19.8,"marketCap":887061.44,"price":1263.2,"percentChange":2.49,"netChange":30.7,"returnOnAverageEquity5YearAverage":15.37,"returnOnAverageEquityTrailing12Month":18.17,"ltDebtPerEquityMostRecentFiscalYear":74.23,"netProfitMargin5YearAverage":21.65,"netProfitMarginPercentTrailing12Month":27.06,"dividendYieldIndicatedAnnualDividend":0.8,"totalSharesOutstanding":702.233564,"languageSupport":"ICICI Bank","imageUrl":null,"yhigh":1361.35,"ylow":898.85},{"tickerId":"S0003016","companyName":"State Bank Of India","priceToBookValueRatio":1.73,"priceToEarningsValueRatio":9.99,"marketCap":731773.56,"price":819.95,"percentChange":1.12,"netChange":9.05,"returnOnAverageEquity5YearAverage":13.42,"returnOnAverageEquityTrailing12Month":16.62,"ltDebtPerEquityMostRecentFiscalYear":154.15,"netProfitMargin5YearAverage":15.83,"netProfitMarginPercentTrailing12Month":20.26,"dividendYieldIndicatedAnnualDividend":1.7,"totalSharesOutstanding":892.4611929999999,"languageSupport":"State Bank Of India","imageUrl":null,"yhigh":912.1,"ylow":543.15},{"tickerId":"S0003043","companyName":"Kotak Mahindra Bank","priceToBookValueRatio":2.87,"priceToEarningsValueRatio":20.53,"marketCap":371701.28,"price":1869.8,"percentChange":0.32,"netChange":5.9,"returnOnAverageEquity5YearAverage":14.04,"returnOnAverageEquityTrailing12Month":-99999.99,"ltDebtPerEquityMostRecentFiscalYear":57.79,"netProfitMargin5YearAverage":25.19,"netProfitMarginPercentTrailing12Month":28.71,"dividendYieldIndicatedAnnualDividend":0.11,"totalSharesOutstanding":198.792,"languageSupport":"Kotak Mahindra Bank","imageUrl":null,"yhigh":1953,"ylow":1544.15},{"tickerId":"S0003048","companyName":"Axis Bank","priceToBookValueRatio":2.27,"priceToEarningsValueRatio":13.67,"marketCap":368922.32,"price":1195.25,"percentChange":5.57,"netChange":63.1,"returnOnAverageEquity5YearAverage":11.36,"returnOnAverageEquityTrailing12Month":17.76,"ltDebtPerEquityMostRecentFiscalYear":145.33,"netProfitMargin5YearAverage":22.76,"netProfitMarginPercentTrailing12Month":33.8,"dividendYieldIndicatedAnnualDividend":0.09,"totalSharesOutstanding":308.657038,"languageSupport":"Axis Bank","imageUrl":null,"yhigh":1339.55,"ylow":951.55}]},"currentPrice":{"BSE":"1681.15","NSE":"1681.85"},"stockTechnicalData":[{"days":5,"bsePrice":"1677.08","nsePrice":"1677.08"},{"days":10,"bsePrice":"1662.90","nsePrice":"1662.71"},{"days":20,"bsePrice":"1701.70","nsePrice":"1701.66"},{"days":50,"bsePrice":"1663.37","nsePrice":"1663.33"},{"days":100,"bsePrice":"1634.39","nsePrice":"1634.40"},{"days":300,"bsePrice":"1568.35","nsePrice":"1568.37"}],"percentChange":"0.47","yearHigh":"1791.9","yearLow":"1363.45","financials":[{"stockFinancialMap":{"CAS":[{"displayName":"Net Income/ Starting Line ","key":"NetIncome/StartingLine","value":"75184.14","yqoQComp":null,"qoQComp":null},{"displayName":"Depreciation/ Depletion ","key":"Depreciation/Depletion","value":"3092.08","yqoQComp":null,"qoQComp":null},{"displayName":"Non- Cash Items ","key":"Non-CashItems","value":"7759.2699999999995","yqoQComp":null,"qoQComp":null},{"displayName":"Changesin Working Capital ","key":"ChangesinWorkingCapital","value":"-55784.44","yqoQComp":null,"qoQComp":null},{"displayName":"Cashfrom Operating Activities ","key":"CashfromOperatingActivities","value":"30251.05","yqoQComp":null,"qoQComp":null},{"displayName":"Capital Expenditures ","key":"CapitalExpenditures","value":"-4286.719999999999","yqoQComp":null,"qoQComp":null},{"displayName":"Other Investing Cash Flow Items Total ","key":"OtherInvestingCashFlowItemsTotal","value":"9600.49","yqoQComp":null,"qoQComp":null},{"displayName":"Cashfrom Investing Activities ","key":"CashfromInvestingActivities","value":"5313.7699999999995","yqoQComp":null,"qoQComp":null},{"displayName":"Financing Cash Flow Items ","key":"FinancingCashFlowItems","value":"1201.66","yqoQComp":null,"qoQComp":null},{"displayName":"Total Cash Dividends Paid ","key":"TotalCashDividendsPaid","value":"-8404.42","yqoQComp":null,"qoQComp":null},{"displayName":"Issuance( Retirement)of Stock Net ","key":"Issuance(Retirement)ofStockNet","value":"8442.539999999999","yqoQComp":null,"qoQComp":null},{"displayName":"Issuance( Retirement)of Debt Net ","key":"Issuance(Retirement)ofDebtNet","value":"-5222.84","yqoQComp":null,"qoQComp":null},{"displayName":"Cashfrom Financing Activities ","key":"CashfromFinancingActivities","value":"-3983.06","yqoQComp":null,"qoQComp":null},{"displayName":"Foreign Exchange Effects ","key":"ForeignExchangeEffects","value":"104.94000000000001","yqoQComp":null,"qoQComp":null},{"displayName":"Net Changein Cash ","key":"NetChangeinCash","value":"31686.7","yqoQComp":null,"qoQComp":null},{"displayName":"Cash Taxes Paid ","key":"CashTaxesPaid","value":"22842.84","yqoQComp":null,"qoQComp":null}],"BAL":[{"displayName":"Cash Duefrom Banks ","key":"CashDuefromBanks","value":"228834.51","yqoQComp":null,"qoQComp":null},{"displayName":"Other Earning Assets Total ","key":"OtherEarningAssetsTotal","value":"1005681.6300000001","yqoQComp":null,"qoQComp":null},{"displayName":"Net Loans ","key":"NetLoans","value":"2565891.41","yqoQComp":null,"qoQComp":null},{"displayName":"Property/ Plant/ Equipment Total- Net ","key":"Property/Plant/EquipmentTotal-Net","value":"12603.76","yqoQComp":null,"qoQComp":null},{"displayName":"Goodwill Net ","key":"GoodwillNet","value":"0.0","yqoQComp":null,"qoQComp":null},{"displayName":"Other ...
                                                                                                                                                                                                                    
                                                                                                    

Get Company Data by Name - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5551/get+company+data+by+name?name=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Industry Search

Endpoint: GET /industry_search

Description: This endpoint allows you to search for companies within a specific industry.

Parameters:

  • query (string, required): The search term to query the industry.

Response:

[
{
"id": "S0003051",
"commonName": "Tata Consultancy Services",
"mgIndustry": "Software & Programming",
"mgSector": "Technology",
"stockType": "Equity",
"exchangeCodeBse": "532540",
"exchangeCodeNsi": "TCS",
"bseRic": "TCS.BO",
"nseRic": "TCS.NS",
"activeStockTrends": {
"shortTermTrends": "Bearish",
"longTermTrends": "Moderately Bearish",
"overallRating": "Moderately Bearish"
}
},
{
"id": "S0003022",
"commonName": "Tata Motors",
"mgIndustry": "Auto & Truck Manufacturers",
"mgSector": "Consumer Cyclical",
"stockType": "Equity",
"exchangeCodeBse": "500570",
"exchangeCodeNsi": "TATAMOTORS",
"bseRic": "TAMO.BO",
"nseRic": "TAMO.NS",
"activeStockTrends": {
"shortTermTrends": "Moderately Bearish",
"longTermTrends": "Bullish",
"overallRating": "Bullish"
}
},
{
"id": "S0003297",
"commonName": "Tata Motors DVR",
"mgIndustry": "Auto & Truck Manufacturers",
"mgSector": "Consumer Cyclical",
"stockType": "Equity",
"exchangeCodeBse": "570001",
"exchangeCodeNsi": "TATAMTRDVR",
"bseRic": "TAMdv.BO",
"nseRic": "TAMdv.NS",
"activeStockTrends": {
"shortTermTrends": "Bearish",
"longTermTrends": "Bullish",
"overallRating": "Neutral"
}
},
...
]


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5552/industry+search
                                                                            
                                                                        

Industry Search - Endpoint Features

Object Description
query [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [
  {
    "id": "S0003051",
    "commonName": "Tata Consultancy Services",
    "mgIndustry": "Software & Programming",
    "mgSector": "Technology",
    "stockType": "Equity",
    "exchangeCodeBse": "532540",
    "exchangeCodeNsi": "TCS",
    "bseRic": "TCS.BO",
    "nseRic": "TCS.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bearish",
      "longTermTrends": "Moderately Bearish",
      "overallRating": "Moderately Bearish"
    }
  },
  {
    "id": "S0003022",
    "commonName": "Tata Motors",
    "mgIndustry": "Auto & Truck Manufacturers",
    "mgSector": "Consumer Cyclical",
    "stockType": "Equity",
    "exchangeCodeBse": "500570",
    "exchangeCodeNsi": "TATAMOTORS",
    "bseRic": "TAMO.BO",
    "nseRic": "TAMO.NS",
    "activeStockTrends": {
      "shortTermTrends": "Moderately Bearish",
      "longTermTrends": "Bullish",
      "overallRating": "Bullish"
    }
  },
  {
    "id": "S0003297",
    "commonName": "Tata Motors DVR",
    "mgIndustry": "Auto & Truck Manufacturers",
    "mgSector": "Consumer Cyclical",
    "stockType": "Equity",
    "exchangeCodeBse": "570001",
    "exchangeCodeNsi": "TATAMTRDVR",
    "bseRic": "TAMdv.BO",
    "nseRic": "TAMdv.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bearish",
      "longTermTrends": "Bullish",
      "overallRating": "Neutral"
    }
  },
  {
    "id": "S0003026",
    "commonName": "Tata Steel",
    "mgIndustry": "Iron & Steel",
    "mgSector": "Basic Materials",
    "stockType": "Equity",
    "exchangeCodeBse": "500470",
    "exchangeCodeNsi": "TATASTEEL",
    "bseRic": "TISC.BO",
    "nseRic": "TISC.NS",
    "activeStockTrends": {
      "shortTermTrends": "Moderately Bearish",
      "longTermTrends": "Bullish",
      "overallRating": "Bullish"
    }
  },
  {
    "id": "S0003067",
    "commonName": "Tata Power",
    "mgIndustry": "Electric Utilities",
    "mgSector": "Utilities",
    "stockType": "Equity",
    "exchangeCodeBse": "500400",
    "exchangeCodeNsi": "TATAPOWER",
    "bseRic": "TTPW.BO",
    "nseRic": "TTPW.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bearish",
      "longTermTrends": "Bullish",
      "overallRating": "Neutral"
    }
  },
  {
    "id": "S0003126",
    "commonName": "Tata Consumer",
    "mgIndustry": "Food Processing",
    "mgSector": "Consumer/Non-Cyclical",
    "stockType": "Equity",
    "exchangeCodeBse": "500800",
    "exchangeCodeNsi": "TATACONSUM",
    "bseRic": "TACN.BO",
    "nseRic": "TACN.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bearish",
      "longTermTrends": "Moderately Bearish",
      "overallRating": "Moderately Bearish"
    }
  },
  {
    "id": "S0003598",
    "commonName": "Tata Communications",
    "mgIndustry": "Communications Services",
    "mgSector": "Services",
    "stockType": "Equity",
    "exchangeCodeBse": "500483",
    "exchangeCodeNsi": "TATACOMM",
    "bseRic": "TATA.BO",
    "nseRic": "TATA.NS",
    "activeStockTrends": {
      "shortTermTrends": "Moderately Bearish",
      "longTermTrends": "Bullish",
      "overallRating": "Bullish"
    }
  },
  {
    "id": "S0003158",
    "commonName": "Tata Elxsi",
    "mgIndustry": "Software & Programming",
    "mgSector": "Technology",
    "stockType": "Equity",
    "exchangeCodeBse": "500408",
    "exchangeCodeNsi": "TATAELXSI",
    "bseRic": "TTEX.BO",
    "nseRic": "TTEX.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bearish",
      "longTermTrends": "Bearish",
      "overallRating": "Bearish"
    }
  },
  {
    "id": "S0005615",
    "commonName": "Tata Technologies",
    "mgIndustry": null,
    "mgSector": null,
    "stockType": "Equity",
    "exchangeCodeBse": "544028",
    "exchangeCodeNsi": "TATATECH",
    "bseRic": "TATE.BO",
    "nseRic": "TATE.NS",
    "activeStockTrends": {
      "shortTermTrends": "NA",
      "longTermTrends": "NA",
      "overallRating": "NA"
    }
  },
  {
    "id": "S0003641",
    "commonName": "Tata Investment Corporation",
    "mgIndustry": "Investment Services",
    "mgSector": "Financial",
    "stockType": "Equity",
    "exchangeCodeBse": "501301",
    "exchangeCodeNsi": "TATAINVEST",
    "bseRic": "TINV.BO",
    "nseRic": "TINV.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bullish",
      "longTermTrends": "Bullish",
      "overallRating": "Bullish"
    }
  },
  {
    "id": "S0003100",
    "commonName": "Tata Chemicals",
    "mgIndustry": "Chemical Manufacturing",
    "mgSector": "Basic Materials",
    "stockType": "Equity",
    "exchangeCodeBse": "500770",
    "exchangeCodeNsi": "TATACHEM",
    "bseRic": "TTCH.BO",
    "nseRic": "TTCH.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bullish",
      "longTermTrends": "Bullish",
      "overallRating": "Bullish"
    }
  },
  {
    "id": "S0003540",
    "commonName": "Tata Teleservices Maharashtra",
    "mgIndustry": "Communications Services",
    "mgSector": "Services",
    "stockType": "Equity",
    "exchangeCodeBse": "532371",
    "exchangeCodeNsi": "TTML",
    "bseRic": "TTML.BO",
    "nseRic": "TTML.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bullish",
      "longTermTrends": "Bearish",
      "overallRating": "Neutral"
    }
  },
  {
    "id": "E00075",
    "commonName": "TATA Nifty ETF",
    "mgIndustry": null,
    "mgSector": null,
    "stockType": "Fund",
    "exchangeCodeBse": "",
    "exchangeCodeNsi": "NETF",
    "bseRic": "",
    "nseRic": "TATN.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bullish",
      "longTermTrends": "Bullish",
      "overallRating": "Bullish"
    }
  },
  {
    "id": "E00068",
    "commonName": "TATA Nifty Private Bank ETF",
    "mgIndustry": null,
    "mgSector": null,
    "stockType": "Fund",
    "exchangeCodeBse": "",
    "exchangeCodeNsi": "NPBET",
    "bseRic": "",
    "nseRic": "TATF.NS",
    "activeStockTrends": {
      "shortTermTrends": "Bullish",
      "longTermTrends": "Bullish",
      "overallRating": "Bullish"
    }
  },
  {
    "id": "S0003342",
    "commonName": "Tata Steel BSL",
    "mgIndustry": "Iron & Steel",
    "mgSector": "Basic Materials",
    "stockType": "Equity",
    "exchangeCodeBse": "500055",
    "exchangeCodeNsi": "TATASTLBSL",
    "bseRic": "TATS.BO",
    "nseRic": "TATS.NS",
    "activeStockTrends": {
      "shortTermTrends": "NA",
      "longTermTrends": "NA",
      "overallRating": null
    }
  },
  {
    "id": "S0003165",
    "commonName": "Tata Steel Partly Paid",
    "mgIndustry": null,
    "mgSector": null,
    "stockType": "Equity",
    "exchangeCodeBse": "890144",
    "exchangeCodeNsi": "",
    "bseRic": "TISCpp.BO",
    "nseRic": "",
    "activeStockTrends": {
      "shortTermTrends": "NA",
      "longTermTrends": "NA",
      "overallRating": "NA"
    }
  }
]
                                                                                                                                                                                                                    
                                                                                                    

Industry Search - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5552/industry+search?query=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Mutual Fund Search

Endpoint: GET /mutual_fund_search

Description: This endpoint allows you to search for mutual funds.

Parameters:

  • query (string, required): The search term to query the mutual funds.

Response:

[
  {
    "id": "MF000063",
    "schemeName": "Nippon India Equity Savings Bonus",
    "isin": "INF204KA1W02",
    "schemeType": "Open Ended Investment Company",
    "categoryId": "MFCAT002"
  },
  {
    "id": "MF000021",
    "schemeName": "Nippon India ELSS Tax Saver Fund Direct Plan Payout Income Dist cum Cap Wdrl",
    "isin": "INF204K01L30",
    "schemeType": "Open Ended Investment Company",
    "categoryId": "MFCAT003"
  },
  {
    "id": "MF000015",
    "schemeName": "Nippon India Vision Fund Direct Plan Payout Inc Dist cum Cap Wdrl",
    "isin": "INF204K01F04",
    "schemeType": "Open Ended Investment Company",
    "categoryId": "MFCAT003"
  },
  ...
]


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5553/mutual+fund+search
                                                                            
                                                                        

Mutual Fund Search - Endpoint Features

Object Description
query [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"id":"MF000056","schemeName":"Nippon India Multi Cap Fund Direct Plan Payout Inc Dist cum Cap Wdrl","isin":"INF204K01XD4","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF000075","schemeName":"Nippon India Equity Savings Payout of Inc Distribution cum Cap withdrawal option","isin":"INF204KA1W10","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000021","schemeName":"Nippon India ELSS Tax Saver Fund Direct Plan Payout Income Dist cum Cap Wdrl","isin":"INF204K01L30","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF000029","schemeName":"Nippon India Equity Hybrid Fund Quarterly Payout Inc Dist cum Cap Wdrl","isin":"INF204K013R8","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000022","schemeName":"Nippon India Equity Hybrid Fund - Direct Plan - Growth Option","isin":"INF204K01B08","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000069","schemeName":"Nippon India Equity Savings Direct Growth","isin":"INF204KA1W77","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000068","schemeName":"Nippon India Equity Savings Direct Payout ofInc Distribution cum Cap withdrawal option","isin":"INF204KA1W93","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000064","schemeName":"Nippon India Equity Savings Direct Bonus","isin":"INF204KA1W85","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000038","schemeName":"Nippon India Hybrid Bond Fund Direct Plan Quarterly Payout Inc Dist cum Cap Wdrl","isin":"INF204K01YY8","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000032","schemeName":"Nippon India Hybrid Bond Fund Direct Plan Monthly Payout Inc Dist cum Cap Wdrl","isin":"INF204K01YW2","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000024","schemeName":"Nippon India ELSS Tax Saver Fund Direct Plan - Growth Option","isin":"INF204K01L55","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF000063","schemeName":"Nippon India Equity Savings Bonus","isin":"INF204KA1W02","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000076","schemeName":"Nippon India Equity Savings Quarterly Payout of Inc Distribution cum Cap withdrawal option","isin":"INF204KA1W36","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000015","schemeName":"Nippon India Vision Fund Direct Plan Payout Inc Dist cum Cap Wdrl","isin":"INF204K01F04","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF000067","schemeName":"Nippon India Equity Savings Direct Quarterly Payout ofInc Distribution cum cap withdrawal option","isin":"INF204KA1X19","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000066","schemeName":"Nippon India Equity Savings Direct Monthly Payout ofInc Distribution cum Cap withdrawal option","isin":"INF204KA1X35","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000028","schemeName":"Nippon India Equity Hybrid Fund Direct Plan Payout Inc Dist cum Cap Wdrl","isin":"INF204K01B16","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000078","schemeName":"Nippon India Equity Savings Growth","isin":"INF204KA1V94","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000079","schemeName":"Nippon India Equity Savings Monthly Payout of Inc Distribution cum Cap withdrawal option","isin":"INF204KA1W51","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000201","schemeName":"Nippon India Equity Hybrid Fund - Monthly Payout Inc Dist cum Cap Wdrl","isin":"INF204KB1BF2","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000300","schemeName":"Nippon India Equity Hybrid Fund - Monthly Reinvestment Inc Dist cumCap Wdrl","isin":"INF204KB1BG0","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000231","schemeName":"Nippon India Equity Savings Reinvestment of Inc Distribution cum Cap withdrawal option","isin":"INF204KA1W28","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000283","schemeName":"Nippon India Hybrid Bond Fund Direct Plan Quarterly Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01YZ5","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000216","schemeName":"Nippon India Equity Hybrid Fund - Direct Plan-Monthly Payout Inc Dist cum Cap Wdrl","isin":"INF204KB1BD7","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000291","schemeName":"Nippon India Equity Hybrid Fund Direct Plan Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01B24","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000225","schemeName":"Nippon India Multi Cap Fund Direct Plan Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01XE2","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF000221","schemeName":"Nippon India Equity Savings Direct Quarterly Reinvestment ofInc Distribution cumCap withdrawaloption","isin":"INF204KA1X27","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000230","schemeName":"Nippon India Strategic Debt Fund Direct Plan Quarterly Reinvestment Income Dist cum Cap Wdrl","isin":"INF204KA1QK1","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000235","schemeName":"Nippon India Equity Savings Direct Reinvestment ofInc Distribution cum Cap withdrawal option","isin":"INF204KA1X01","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000234","schemeName":"Nippon India Equity Savings Quarterly Reinvestment of Inc Distribution cum Cap withdrawal option","isin":"INF204KA1W44","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000285","schemeName":"Nippon India Hybrid Bond Fund Monthly Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01FF6","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000288","schemeName":"Nippon India Hybrid Bond Fund Direct Plan Monthly Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01YX0","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000236","schemeName":"Nippon India Equity Savings Direct Monthly Reinvestment ofInc Distribution cum Cap withdrawal option","isin":"INF204KA1X43","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000223","schemeName":"Nippon India Strategic Debt Fund Reinvestment Income Dist cum Cap Wdrl","isin":"INF204KA1QD6","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000301","schemeName":"Nippon India ELSS Tax Saver Fund Reinvestment Income Dist cum Cap Wdrl","isin":"INF204K01GM0","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF000229","schemeName":"Nippon India Strategic Debt Fund Direct Plan Reinvestment Income Dist cum Cap Wdrl","isin":"INF204KA1QJ3","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000196","schemeName":"Nippon India ETF Nifty Infrastructure BeES","isin":"INF732E01268","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF000297","schemeName":"Nippon India Hybrid Bond Fund Quarterly Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01FH2","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000222","schemeName":"Nippon India Strategic Debt Fund Quarterly Reinvestment Income Dist cum Cap Wdrl","isin":"INF204KA1QE4","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000293","schemeName":"Nippon India Equity Hybrid Fund - Direct Plan-Monthly Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204KB1BE5","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000260","schemeName":"Nippon India Ultra Short Duration Fund Quarterly Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01UI9","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000295","schemeName":"Nippon India Equity Hybrid Fund Reinvestment Inc Dis tcum Cap Wdrl","isin":"INF204K01FY7","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000186","schemeName":"Nippon India Ultra Short Duration Fund Quarterly Payout Inc Dist cum Cap Wdrl","isin":"INF204K01UH1","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000233","schemeName":"Nippon India Equity Savings Monthly Reinvestment of Inc Distribution cum Cap withdrawal option","isin":"INF204KA1W69","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000294","schemeName":"Nippon India Equity Hybrid Fund Direct Plan Quarterly Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K012R0","schemeType":"Open Ended Investment Company","categoryId":"MFCAT002"},{"id":"MF000363","schemeName":"Nippon India Strategic Debt Fund Growth Option","isin":"INF204KA1PZ1","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000370","schemeName":"Nippon India Strategic Debt Fund Payout Income Dist cum Cap Wdrl","isin":"INF204KA1QB0","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000367","schemeName":"Nippon India Strategic Debt Fund Direct Plan Growth Option","isin":"INF204KA1QF1","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000377","schemeName":"Nippon India Strategic Debt Fund Direct Plan Quarterly Payout Income Dist cum Cap Wdrl","isin":"INF204KA1QI5","schemeType":"Open Ended Investment Company","categoryId":"MFCAT001"},{"id":"MF000308","schemeName":"Nippon India Vision Fund Direct Plan Reinvestment Inc Dist cum Cap Wdrl","isin":"INF204K01F12","schemeType":"Open Ended Investment Company","categoryId":"MFCAT003"},{"id":"MF00...
                                                                                                                                                                                                                    
                                                                                                    

Mutual Fund Search - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5553/mutual+fund+search?query=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Commodity Futures Data API

This API provides access to real-time and historical data for commodity futures contracts traded on an exchange.

Endpoint: /commodities

Method: GET

Description:

Retrieves a snapshot of market data for currently active commodity futures contracts. The response includes details on prices, trading volume, open interest, and other relevant metrics.

Example Response (JSON):

[
  {
    "contractId": "QIU2O5ABzMxWRO9BIztY",
    "dataTimestamp": "Jun 21 2024 7:46PM",
    "commoditySymbol": "ALUMINIUM",
    "expiryDate": "28 Jun 2024",
    "lastTradedPrice": 230.75,
    "lastTradeQuantity": 1,
    "lastTradeTime": "Jun 21 2024 7:46PM",
    "averageTradedPrice": 231.09,
    "totalVolume": 1369,
    "openInterest": 1066,
    "openingPrice": 232.30,
    "highPrice": 232.85,
    "lowPrice": 230.00,
    "closingPrice": 232.45,
    "totalTradedValue": 158183500000,
    "priceUnit": "KGS",
    "contractSize": 5,
    "contractMonth": "JUN2024",
    "priceChange": -1.6999999999999886,
    "percentageChange": -0.7313400731340024
  },
  {
    // ... more contract objects with the same structure
  }
]

Field Descriptions:

Field Description
contractId Unique identifier for the futures contract.
dataTimestamp Timestamp indicating when this market data snapshot was taken.
commoditySymbol Standardized symbol representing the traded commodity (e.g., "ALUMINIUM").
expiryDate Contract expiration date.
lastTradedPrice The most recent trade price for this contract.
lastTradeQuantity Quantity of contracts traded in the last trade.
lastTradeTime Timestamp of the most recent trade execution.
averageTradedPrice Average price of trades for the session.
totalVolume Total contracts traded during the session.
openInterest Number of active, unsettled contracts.
openingPrice Price of the first trade of the session.
highPrice Highest price during the session.
lowPrice Lowest price during the session.
closingPrice Price at the end of the session.
totalTradedValue Total monetary value of trades for the session.
priceUnit Unit of price quotation (e.g., "KGS", "BBL").
contractSize Standard number of commodity units per contract.
contractMonth Month and year of contract expiration (e.g., "JUN2024").
priceChange Difference in closing price from the previous session.
percentageChange Price change as a percentage of the previous close.


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5554/commodity+futures+data+api
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"id":"pgmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"ALUMINIUM","expiry":"31 Jul 2024","strike_price":"0","option_type":"XX","buy_quantity":"1","buy_price":"220.60","sell_quantity":"4","sell_price":"220.70","last_traded_price":"220.75","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"220.96","total_quantity_traded":"19","open_interest":"2429","open_price":"221.35","high_price":"221.35","low_price":"220.60","close_price":"220.70","total_traded_value":"2099100000","price_quotation_unit":"KGS","quotation_lot":"5","product_month":"JUL2024","change":0.05000000000001137,"per_change":0.02265518803806587},{"id":"qQmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"COPPER","expiry":"30 Aug 2024","strike_price":"0","option_type":"XX","buy_quantity":"3","buy_price":"822.10","sell_quantity":"1","sell_price":"822.30","last_traded_price":"822.25","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"823.29","total_quantity_traded":"138","open_interest":"6022","open_price":"824.15","high_price":"825.20","low_price":"822.20","close_price":"823.55","total_traded_value":"28403700000","price_quotation_unit":"KGS","quotation_lot":"2500","product_month":"AUG2024","change":-1.2999999999999545,"per_change":-0.15785319652722418},{"id":"qgmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"CRUDEOIL","expiry":"19 Sep 2024","strike_price":"0","option_type":"XX","buy_quantity":"2","buy_price":"6564.00","sell_quantity":"2","sell_price":"6567.00","last_traded_price":"6566.00","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"6566.00","total_quantity_traded":"32","open_interest":"213","open_price":"6566.00","high_price":"6569.00","low_price":"6558.00","close_price":"6553.00","total_traded_value":"2101100000","price_quotation_unit":"BBL","quotation_lot":"100","product_month":"SEP2024","change":13.0,"per_change":0.19838242026552722},{"id":"rQmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"CRUDEOILM","expiry":"19 Aug 2024","strike_price":"0","option_type":"XX","buy_quantity":"2","buy_price":"6634.00","sell_quantity":"4","sell_price":"6635.00","last_traded_price":"6635.00","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"6631.68","total_quantity_traded":"330","open_interest":"4127","open_price":"6623.00","high_price":"6638.00","low_price":"6621.00","close_price":"6616.00","total_traded_value":"2188400000","price_quotation_unit":"BBL","quotation_lot":"10","product_month":"AUG2024","change":19.0,"per_change":0.2871825876662636},{"id":"rgmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"GOLD","expiry":"04 Oct 2024","strike_price":"0","option_type":"XX","buy_quantity":"2","buy_price":"73570.00","sell_quantity":"2","sell_price":"73585.00","last_traded_price":"73580.00","last_traded_quantity":"2","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"73582.75","total_quantity_traded":"24","open_interest":"11891","open_price":"73610.00","high_price":"73610.00","low_price":"73539.00","close_price":"73471.00","total_traded_value":"17659800000","price_quotation_unit":"GRMS","quotation_lot":"1","product_month":"OCT2024","change":109.0,"per_change":0.14835785548039362},{"id":"rwmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"GOLD","expiry":"05 Aug 2024","strike_price":"0","option_type":"XX","buy_quantity":"1","buy_price":"73108.00","sell_quantity":"2","sell_price":"73124.00","last_traded_price":"73121.00","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"73144.10","total_quantity_traded":"99","open_interest":"10734","open_price":"73161.00","high_price":"73185.00","low_price":"73100.00","close_price":"72990.00","total_traded_value":"72412600000","price_quotation_unit":"GRMS","quotation_lot":"1","product_month":"AUG2024","change":131.0,"per_change":0.1794766406357035},{"id":"swmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"GOLDM","expiry":"05 Aug 2024","strike_price":"0","option_type":"XX","buy_quantity":"3","buy_price":"72942.00","sell_quantity":"1","sell_price":"72950.00","last_traded_price":"72947.00","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"72993.29","total_quantity_traded":"480","open_interest":"15123","open_price":"72999.00","high_price":"73199.00","low_price":"72928.00","close_price":"72872.00","total_traded_value":"35036700000","price_quotation_unit":"GRMS","quotation_lot":"100","product_month":"AUG2024","change":75.0,"per_change":0.10292018882423976},{"id":"uwmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"LEAD","expiry":"30 Aug 2024","strike_price":"0","option_type":"XX","buy_quantity":"1","buy_price":"186.80","sell_quantity":"1","sell_price":"187.00","last_traded_price":"186.80","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:19AM","average_traded_price":"186.80","total_quantity_traded":"1","open_interest":"278","open_price":"186.80","high_price":"186.80","low_price":"186.80","close_price":"186.95","total_traded_value":"93400000","price_quotation_unit":"KGS","quotation_lot":"5","product_month":"AUG2024","change":-0.14999999999997726,"per_change":-0.0802353570473267},{"id":"vgmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"MENTHAOIL","expiry":"30 Aug 2024","strike_price":"0","option_type":"XX","buy_quantity":"1","buy_price":"954.10","sell_quantity":"1","sell_price":"957.90","last_traded_price":"959.00","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:15AM","average_traded_price":"959.00","total_quantity_traded":"5","open_interest":"381","open_price":"959.00","high_price":"959.00","low_price":"959.00","close_price":"959.20","total_traded_value":"172600000","price_quotation_unit":"KGS","quotation_lot":"360","product_month":"AUG2024","change":-0.20000000000004547,"per_change":-0.02085070892410816},{"id":"vwmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"NATGASMINI","expiry":"25 Sep 2024","strike_price":"0","option_type":"XX","buy_quantity":"1","buy_price":"195.50","sell_quantity":"3","sell_price":"195.80","last_traded_price":"195.60","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:21AM","average_traded_price":"195.27","total_quantity_traded":"68","open_interest":"1020","open_price":"195.10","high_price":"196.00","low_price":"193.70","close_price":"193.10","total_traded_value":"331900000","price_quotation_unit":"mmBtu","quotation_lot":"250","product_month":"SEP2024","change":2.5,"per_change":1.294665976178146},{"id":"wwmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"NATURALGAS","expiry":"25 Sep 2024","strike_price":"0","option_type":"XX","buy_quantity":"5","buy_price":"195.50","sell_quantity":"4","sell_price":"195.70","last_traded_price":"195.70","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:20AM","average_traded_price":"195.24","total_quantity_traded":"83","open_interest":"1061","open_price":"195.20","high_price":"195.70","low_price":"194.90","close_price":"193.00","total_traded_value":"2025600000","price_quotation_unit":"mmBtu","quotation_lot":"1250","product_month":"SEP2024","change":2.6999999999999886,"per_change":1.3989637305699423},{"id":"zAmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"SILVERMIC","expiry":"29 Nov 2024","strike_price":"0","option_type":"XX","buy_quantity":"6","buy_price":"92153.00","sell_quantity":"9","sell_price":"92155.00","last_traded_price":"92154.00","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"92260.89","total_quantity_traded":"1025","open_interest":"35645","open_price":"92352.00","high_price":"92491.00","low_price":"92130.00","close_price":"92309.00","total_traded_value":"9456700000","price_quotation_unit":"KGS","quotation_lot":"1","product_month":"NOV2024","change":-155.0,"per_change":-0.1679142878809217},{"id":"qAmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"COPPER","expiry":"31 Jul 2024","strike_price":"0","option_type":"XX","buy_quantity":"2","buy_price":"819.15","sell_quantity":"1","sell_price":"819.35","last_traded_price":"819.15","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"820.20","total_quantity_traded":"154","open_interest":"8371","open_price":"821.45","high_price":"821.95","low_price":"819.00","close_price":"820.30","total_traded_value":"31578000000","price_quotation_unit":"KGS","quotation_lot":"2500","product_month":"JUL2024","change":-1.1499999999999773,"per_change":-0.14019261245885375},{"id":"qwmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"CRUDEOIL","expiry":"19 Aug 2024","strike_price":"0","option_type":"XX","buy_quantity":"9","buy_price":"6629.00","sell_quantity":"4","sell_price":"6630.00","last_traded_price":"6630.00","last_traded_quantity":"1","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"6629.46","total_quantity_traded":"234","open_interest":"4684","open_price":"6626.00","high_price":"6633.00","low_price":"6624.00","close_price":"6612.00","total_traded_value":"15512900000","price_quotation_unit":"BBL","quotation_lot":"100","product_month":"AUG2024","change":18.0,"per_change":0.27223230490018147},{"id":"rAmf2JABQaD8ARhp_hYi","messageTime":"Jul 22 2024 9:22AM","product":"CRUDEOILM","expiry":"19 Sep 2024","strike_price":"0","option_type":"XX","buy_quantity":"8","buy_price":"6584.00","sell_quantity":"10","sell_price":"6587.00","last_traded_price":"6584.00","last_traded_quantity":"10","last_traded_time":"Jul 22 2024 9:22AM","average_traded_price":"6587.80","total_quantity_traded":"98","open_interest":"546","open_price":"6581.00","high_price":"6593.00","low_price":"6581.00","close_price":"6574.00","total_traded_value":"645600000","price_quotation_unit":"BBL","quotation_lot":"10","product_month":"SEP2024","change":10.0,"per_change":0.152114390...
                                                                                                                                                                                                                    
                                                                                                    

Commodity Futures Data API - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5554/commodity+futures+data+api' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Price Shockers

Endpoint: /price_shockers

Method: GET

Description:

Get data for stocks that have experienced significant price changes in a short period of time.

Example Request:

GET /price_shockers

Example Response:

[
  {
    "ticker": "BPCL.NS",
    "company": "Bharat Petroleum Corporation",
    "price": 309.15,
    "percent_change": -1.27,
    "net_change": -3.98,
    "high": 319,
    "low": 308.7,
    "open": 318,
    "volume": 18726562
  },
  ...
]



                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5555/price+shockers
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"BSE_PriceShocker":[{"tickerId":"S0003028","ric":"ITC.BO","price":"456.1","percentChange":"1.06","netChange":"4.8","bid":"456.2","ask":"456.4","high":"456.9","low":"448.65","open":"450.55","lowCircuitLimit":"406.2","upCircuitLimit":"496.4","volume":"219946","displayName":"ITC","date":"2024-07-11","time":"06:29:56","priceArrow":"⇩","close":"451.3","bidSize":"16","askSize":"480","averagePrice":"432.51666666666665","exchangeType":"BSE","lotSize":"1","averageVolume":null,"deviation":"5.452583715463768","actualDeviation":"5.452583715463768","noOfDaysForAverage":"12","overallRating":"Bullish","shortTermTrends":"Bullish","longTermTrends":"Bullish","ylow":"399.3","yhigh":"499.6"},{"tickerId":"S0003059","ric":"MAHM.BO","price":"2718.15","percentChange":"-0.51","netChange":"-13.95","bid":"2718.15","ask":"2719.8","high":"2758","low":"2705.5","open":"2758","lowCircuitLimit":"2458.9","upCircuitLimit":"3005.3","volume":"89796","displayName":"Mahindra & Mahindra","date":"2024-07-11","time":"06:29:57","priceArrow":"⇩","close":"2732.1","bidSize":"64","askSize":"33","averagePrice":"2868.8333333333335","exchangeType":"BSE","lotSize":"1","averageVolume":null,"deviation":"5.252425492360427","actualDeviation":"-5.252425492360427","noOfDaysForAverage":"12","overallRating":"Neutral","shortTermTrends":"Bearish","longTermTrends":"Bullish","ylow":"1418.55","yhigh":"3013.95"}],"NSE_PriceShocker":[{"tickerId":"S0003030","ric":"ONGC.NS","price":"304.1","percentChange":"2","netChange":"5.95","bid":"304.1","ask":"304.15","high":"305.7","low":"295.15","open":"300","lowCircuitLimit":"268.35","upCircuitLimit":"327.95","volume":"13627972","displayName":"Oil & Natural Gas Corporation","date":"2024-07-11","time":"06:15:00","priceArrow":"⇩","close":"298.15","bidSize":"23","askSize":"2954","averagePrice":"279.91249999999997","exchangeType":"NSI","lotSize":"1","averageVolume":null,"deviation":"8.641093198767495","actualDeviation":"8.641093198767495","noOfDaysForAverage":"12","overallRating":"Bullish","shortTermTrends":"Bullish","longTermTrends":"Bullish","ylow":"162.5","yhigh":"303"},{"tickerId":"S0003028","ric":"ITC.NS","price":"456.35","percentChange":"1.09","netChange":"4.9","bid":"456.3","ask":"456.35","high":"456.9","low":"448.7","open":"450","lowCircuitLimit":"406.3","upCircuitLimit":"496.55","volume":"7379189","displayName":"ITC","date":"2024-07-11","time":"06:15:01","priceArrow":"⇧","close":"451.45","bidSize":"25","askSize":"400","averagePrice":"432.57916666666665","exchangeType":"NSI","lotSize":"1","averageVolume":null,"deviation":"5.4951405812038345","actualDeviation":"5.4951405812038345","noOfDaysForAverage":"12","overallRating":"Bullish","shortTermTrends":"Bullish","longTermTrends":"Bullish","ylow":"399.35","yhigh":"499.7"},{"tickerId":"S0003103","ric":"HDFL.NS","price":"635.75","percentChange":"0.47","netChange":"3","bid":"635.7","ask":"635.75","high":"636.6","low":"629.3","open":"635.95","lowCircuitLimit":"569.5","upCircuitLimit":"696","volume":"1488612","displayName":"HDFC Life Insurance Company","date":"2024-07-11","time":"06:15:00","priceArrow":"⇧","close":"632.75","bidSize":"66","askSize":"107","averagePrice":"603.6333333333333","exchangeType":"NSI","lotSize":"1","averageVolume":null,"deviation":"5.32055883814678","actualDeviation":"5.32055883814678","noOfDaysForAverage":"12","overallRating":"Bullish","shortTermTrends":"Bullish","longTermTrends":"Bullish","ylow":"511.4","yhigh":"710.6"},{"tickerId":"S0003059","ric":"MAHM.NS","price":"2719","percentChange":"-0.48","netChange":"-13","bid":"2718.6","ask":"2719.5","high":"2757.95","low":"2707","open":"2757.95","lowCircuitLimit":"2458.8","upCircuitLimit":"3005.2","volume":"2069642","displayName":"Mahindra & Mahindra","date":"2024-07-11","time":"06:15:00","priceArrow":"⇩","close":"2732","bidSize":"3","askSize":"8","averagePrice":"2868.975","exchangeType":"NSI","lotSize":"1","averageVolume":null,"deviation":"5.227476712066153","actualDeviation":"-5.227476712066153","noOfDaysForAverage":"12","overallRating":"Neutral","shortTermTrends":"Bearish","longTermTrends":"Bullish","ylow":"1415.75","yhigh":"3013.5"},{"tickerId":"S0003077","ric":"SHMF.NS","price":"2726.85","percentChange":"-1.28","netChange":"-35.25","bid":"2726.55","ask":"2726.85","high":"2785.45","low":"2725.15","open":"2762.1","lowCircuitLimit":"2485.9","upCircuitLimit":"3038.3","volume":"399433","displayName":"Shriram Finance","date":"2024-07-11","time":"06:15:01","priceArrow":"⇩","close":"2762.1","bidSize":"4","askSize":"16","averagePrice":"2875.2374999999997","exchangeType":"NSI","lotSize":"1","averageVolume":null,"deviation":"5.16087801442489","actualDeviation":"-5.16087801442489","noOfDaysForAverage":"12","overallRating":"Neutral","shortTermTrends":"Bearish","longTermTrends":"Bullish","ylow":"1703.85","yhigh":"3059.45"},{"tickerId":"S0003046","ric":"MRTI.NS","price":"12829.8","percentChange":"0.45","netChange":"57","bid":"12824.7","ask":"12830","high":"12923.8","low":"12756.1","open":"12800","lowCircuitLimit":"11495.55","upCircuitLimit":"14050.05","volume":"321846","displayName":"Maruti Suzuki India","date":"2024-07-11","time":"06:14:58","priceArrow":"⇧","close":"12772.8","bidSize":"5","askSize":"33","averagePrice":"12218.341666666667","exchangeType":"NSI","lotSize":"1","averageVolume":null,"deviation":"5.004429815557338","actualDeviation":"5.004429815557338","noOfDaysForAverage":"12","overallRating":"Bullish","shortTermTrends":"Bullish","longTermTrends":"Bullish","ylow":"9254.15","yhigh":"13300"}]}
                                                                                                                                                                                                                    
                                                                                                    

Price Shockers - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5555/price+shockers' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Mutual Funds

Endpoint: /mutual_funds

Method: GET

Description:

Retrieve the latest data for mutual funds, including net asset value (NAV), returns, and other details.

Example Request:

GET /mutual_funds

Example Response:

{
  "Equity": {
    "Large Cap": [
      {
        "fund_name": "SBI Bluechip Fund",
        "latest_nav": 45.67,
        "percentage_change": 0.45,
        "asset_size": 25000,
        "1_month_return": 1.2,
        "3_month_return": 3.5,
        "6_month_return": 5.0,
        "1_year_return": 12.5,
        "3_year_return": 40.2,
        "5_year_return": 70.5,
        "star_rating": 4
      },
      ...
    ]
  },
  ...
}



                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5556/mutual+funds
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Debt":{"Floating Rate":[{"fund_name":"HDFC Floating Rate Debt - Plan - Growth","latest_nav":45.92,"percentage_change":0.06,"asset_size":14535.71,"1_month_return":0.68,"3_month_return":2.03,"6_month_return":4.1,"1_year_return":7.95,"3_year_return":6.09,"5_year_return":6.76,"star_rating":5},{"fund_name":"SBI Floating Rate Debt Fund Regular Growth","latest_nav":12.27,"percentage_change":0.05,"asset_size":1168.29,"1_month_return":0.73,"3_month_return":2.09,"6_month_return":4.25,"1_year_return":8.22,"3_year_return":6.02,"5_year_return":null,"star_rating":4},{"fund_name":"Aditya Birla Sun Life Floating Rate Fund Regular Plan Growth","latest_nav":321.03,"percentage_change":0.06,"asset_size":12611.35,"1_month_return":0.63,"3_month_return":1.97,"6_month_return":4.0,"1_year_return":7.6,"3_year_return":6.0,"5_year_return":6.54,"star_rating":4},{"fund_name":"Aditya Birla Sun Life Floating Rate Fund Retail Growth","latest_nav":464.33,"percentage_change":0.06,"asset_size":12611.35,"1_month_return":0.63,"3_month_return":1.97,"6_month_return":4.0,"1_year_return":7.6,"3_year_return":6.0,"5_year_return":6.54,"star_rating":4},{"fund_name":"ICICI Prudential Floating Interest Fund Growth","latest_nav":391.63,"percentage_change":0.06,"asset_size":9720.9,"1_month_return":0.72,"3_month_return":2.0,"6_month_return":4.08,"1_year_return":8.08,"3_year_return":5.97,"5_year_return":6.72,"star_rating":4}],"Fixed Maturity Intermediate-Term Bond":[{"fund_name":"SBI Fixed Maturity Plan Series 1 3668 Days Regular Growth","latest_nav":14.96,"percentage_change":0.03,"asset_size":44.51,"1_month_return":0.75,"3_month_return":2.04,"6_month_return":4.13,"1_year_return":7.37,"3_year_return":5.96,"5_year_return":7.16,"star_rating":null},{"fund_name":"SBI Fixed Maturity Plan Series 6 3668 Days Regular Growth","latest_nav":14.56,"percentage_change":0.02,"asset_size":32.22,"1_month_return":0.78,"3_month_return":2.05,"6_month_return":4.06,"1_year_return":7.26,"3_year_return":5.76,"5_year_return":6.96,"star_rating":null},{"fund_name":"Nippon India Fixed Horizon Fund XLI Series 8 Regular Growth","latest_nav":14.91,"percentage_change":0.06,"asset_size":59.65,"1_month_return":0.71,"3_month_return":1.95,"6_month_return":4.08,"1_year_return":7.09,"3_year_return":5.63,"5_year_return":7.05,"star_rating":null},{"fund_name":"SBI Fixed Maturity Plan Series 45 1840 Days Regular Growth","latest_nav":11.77,"percentage_change":0.07,"asset_size":210.77,"1_month_return":0.64,"3_month_return":1.98,"6_month_return":3.91,"1_year_return":7.23,"3_year_return":5.57,"5_year_return":null,"star_rating":null},{"fund_name":"SBI Fixed Maturity Plan Series 42 1857 Days Regular Growth","latest_nav":11.94,"percentage_change":0.06,"asset_size":446.42,"1_month_return":0.62,"3_month_return":1.94,"6_month_return":3.83,"1_year_return":7.15,"3_year_return":5.48,"5_year_return":null,"star_rating":null}],"Dynamic Bond":[{"fund_name":"UTI Dynamic Bond Fund Regular Plan Growth","latest_nav":28.53,"percentage_change":0.05,"asset_size":581.37,"1_month_return":0.78,"3_month_return":1.73,"6_month_return":4.48,"1_year_return":7.12,"3_year_return":10.39,"5_year_return":7.97,"star_rating":4},{"fund_name":"HDFC Dynamic Debt Plan - Growth","latest_nav":83.07,"percentage_change":0.04,"asset_size":679.4,"1_month_return":1.16,"3_month_return":2.05,"6_month_return":4.71,"1_year_return":7.69,"3_year_return":6.64,"5_year_return":6.67,"star_rating":4},{"fund_name":"Aditya Birla Sun Life Dynamic Bond Fund Regular Plan Growth","latest_nav":42.46,"percentage_change":0.05,"asset_size":1704.74,"1_month_return":1.13,"3_month_return":2.1,"6_month_return":4.54,"1_year_return":7.42,"3_year_return":6.54,"5_year_return":5.61,"star_rating":3},{"fund_name":"Aditya Birla Sun Life Dynamic Bond Discipline Advantage Plan","latest_nav":29.36,"percentage_change":0.05,"asset_size":1704.74,"1_month_return":1.13,"3_month_return":2.1,"6_month_return":4.54,"1_year_return":7.41,"3_year_return":6.53,"5_year_return":5.61,"star_rating":3},{"fund_name":"Quantum Dynamic Bond Fund - Regular Plan Growth Option","latest_nav":19.76,"percentage_change":0.07,"asset_size":99.38,"1_month_return":1.1,"3_month_return":2.16,"6_month_return":5.16,"1_year_return":8.4,"3_year_return":6.28,"5_year_return":6.8,"star_rating":4}],"Ultra Short Duration":[{"fund_name":"UTI - Ultra Short Duration Fund - Discontinued - Institutional Growth Option","latest_nav":2827.01,"percentage_change":0.05,"asset_size":2514.62,"1_month_return":0.58,"3_month_return":1.84,"6_month_return":3.68,"1_year_return":7.12,"3_year_return":6.51,"5_year_return":6.06,"star_rating":4},{"fund_name":"Nippon India Ultra Short Duration Fund Growth","latest_nav":3750.32,"percentage_change":0.05,"asset_size":6322.84,"1_month_return":0.58,"3_month_return":1.83,"6_month_return":3.63,"1_year_return":6.93,"3_year_return":6.45,"5_year_return":5.29,"star_rating":3},{"fund_name":"UTI - Ultra Short Duration Fund - Regular Plan - Growth Option","latest_nav":3947.82,"percentage_change":0.05,"asset_size":2514.62,"1_month_return":0.56,"3_month_return":1.79,"6_month_return":3.59,"1_year_return":6.93,"3_year_return":6.32,"5_year_return":5.88,"star_rating":4},{"fund_name":"Aditya Birla Sun Life Savings Fund Growth","latest_nav":507.25,"percentage_change":0.06,"asset_size":13345.99,"1_month_return":0.59,"3_month_return":1.95,"6_month_return":3.88,"1_year_return":7.42,"3_year_return":5.9,"5_year_return":6.16,"star_rating":5},{"fund_name":"Aditya Birla Sun Life Savings Fund Fund Retail Growth","latest_nav":490.86,"percentage_change":0.06,"asset_size":13345.99,"1_month_return":0.59,"3_month_return":1.95,"6_month_return":3.88,"1_year_return":7.42,"3_year_return":5.9,"5_year_return":6.17,"star_rating":5}],"Corporate Bond":[{"fund_name":"ICICI Prudential Corporate Bond Fund Growth","latest_nav":27.42,"percentage_change":0.06,"asset_size":27147.52,"1_month_return":0.66,"3_month_return":1.93,"6_month_return":3.96,"1_year_return":7.61,"3_year_return":6.03,"5_year_return":7.06,"star_rating":5},{"fund_name":"Nippon India Corporate Bond Fund Growth","latest_nav":54.86,"percentage_change":0.07,"asset_size":3178.23,"1_month_return":0.67,"3_month_return":1.78,"6_month_return":3.99,"1_year_return":7.2,"3_year_return":5.96,"5_year_return":6.79,"star_rating":4},{"fund_name":"Aditya Birla Sun Life Corporate Bond Fund Regular Plan Growth","latest_nav":103.55,"percentage_change":0.06,"asset_size":22113.11,"1_month_return":0.78,"3_month_return":1.96,"6_month_return":4.19,"1_year_return":7.6,"3_year_return":5.85,"5_year_return":7.16,"star_rating":5},{"fund_name":"HDFC Corporate Bond Growth","latest_nav":29.85,"percentage_change":0.07,"asset_size":28959.05,"1_month_return":0.7,"3_month_return":1.94,"6_month_return":4.18,"1_year_return":7.55,"3_year_return":5.62,"5_year_return":6.97,"star_rating":4},{"fund_name":"Kotak Corporate Bond- Standard Plan-Growth","latest_nav":3458.11,"percentage_change":0.05,"asset_size":12541.1,"1_month_return":0.68,"3_month_return":1.91,"6_month_return":4.02,"1_year_return":7.25,"3_year_return":5.53,"5_year_return":6.52,"star_rating":5}],"Short Duration":[{"fund_name":"Bank of India Short Term Income Fund Regular Growth","latest_nav":24.33,"percentage_change":0.04,"asset_size":78.8,"1_month_return":0.56,"3_month_return":1.71,"6_month_return":3.5,"1_year_return":6.21,"3_year_return":12.05,"5_year_return":4.55,"star_rating":2},{"fund_name":"UTI - Short Duration Fund - Regular Plan - Growth Option","latest_nav":29.21,"percentage_change":0.05,"asset_size":2673.12,"1_month_return":0.62,"3_month_return":1.74,"6_month_return":3.91,"1_year_return":7.05,"3_year_return":7.1,"5_year_return":7.67,"star_rating":3},{"fund_name":"UTI - Short Duration Fund - Discontinued Regular Option -Growth Sub Option","latest_nav":41.18,"percentage_change":0.05,"asset_size":2673.12,"1_month_return":0.59,"3_month_return":1.63,"6_month_return":3.72,"1_year_return":6.68,"3_year_return":6.75,"5_year_return":7.28,"star_rating":3},{"fund_name":"ICICI Prudential Short Term Fund Growth","latest_nav":55.35,"percentage_change":0.06,"asset_size":18248.72,"1_month_return":0.66,"3_month_return":1.85,"6_month_return":3.86,"1_year_return":7.41,"3_year_return":5.95,"5_year_return":7.02,"star_rating":4},{"fund_name":"Aditya Birla Sun Life Short Term Fund Regular Plan Growth","latest_nav":43.73,"percentage_change":0.05,"asset_size":7857.23,"1_month_return":0.68,"3_month_return":1.8,"6_month_return":3.83,"1_year_return":6.99,"3_year_return":5.62,"5_year_return":6.76,"star_rating":4}],"10 yr Government Bond":[{"fund_name":"SBI Magnum Constant Maturity Fund Regular Growth","latest_nav":58.12,"percentage_change":0.06,"asset_size":1626.25,"1_month_return":0.96,"3_month_return":1.98,"6_month_return":4.63,"1_year_return":7.03,"3_year_return":5.19,"5_year_return":6.4,"star_rating":4},{"fund_name":"ICICI Prudential Constant Maturity Gilt Growth","latest_nav":22.41,"percentage_change":0.08,"asset_size":2305.55,"1_month_return":0.94,"3_month_return":1.89,"6_month_return":4.51,"1_year_return":7.04,"3_year_return":5.13,"5_year_return":6.99,"star_rating":5},{"fund_name":"Bandhan Government Securities Fund - Constant Maturity Regular - Growth","latest_nav":41.57,"percentage_change":0.06,"asset_size":336.99,"1_month_return":1.14,"3_month_return":2.2,"6_month_return":5.0,"1_year_return":7.54,"3_year_return":4.92,"5_year_return":6.63,"star_rating":5},{"fund_name":"DSP 10Y G-Sec Fund Regular Growth","latest_nav":19.92,"percentage_change":0.07,"asset_size":49.78,"1_month_return":0.94,"3_month_return":1.95,"6_month_return":4.53,"1_year_return":7.02,"3_year_return":3.74,"5_year_return":5.82,"star_rating":3},{"fund_name":"UTI Gilt Fund with 10 year Constant Duration Regular Growth","latest_nav":11.51,"percentage_change":0.08,"asset_size":163.33,"1_month_return":0.94,"3_month_return":1.88,"6_month_return":4.51,"1_year_return":6.88,"3_year_return":null,"5_year_return":null,"star_rating":null}],"Government Bond":[{"fund_name":"SBI Magnum Gilt Fund PF Plan Fixed Period 3 year Gro...
                                                                                                                                                                                                                    
                                                                                                    

Mutual Funds - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5556/mutual+funds' --header 'Authorization: Bearer YOUR_API_KEY' 


    

BSE Most Active

Endpoint: /BSE_most_active

Method: GET

Description:

Get the latest most active stocks in the Bombay Stock Exchange (BSE) based on trading volume.

Example Request:

GET /BSE_most_active

Example Response:

[
  {
    "ticker": "TATAMOTORS.BO",
    "company": "Tata Motors",
    "price": 450.75,
    "percent_change": 0.28,
    "net_change": 1.25,
    "volume": 8000000
  },
  ...
]



                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5557/bse+most+active
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"ticker":"HDBK.BO","company":"HDFC Bank","price":1710.9,"percent_change":2.32,"net_change":38.8,"bid":null,"ask":1708.25,"high":1717.1,"low":1672.0,"open":1672.1,"low_circuit_limit":1504.9,"up_circuit_limit":1839.3,"volume":1517064,"close":1672.1,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":1363.45,"52_week_high":1757.8},{"ticker":"GRAS.BO","company":"Grasim Industries","price":2516.85,"percent_change":0.08,"net_change":1.9,"bid":null,"ask":null,"high":2529.0,"low":2495.7,"open":2517.0,"low_circuit_limit":2263.5,"up_circuit_limit":2766.4,"volume":1427876,"close":2514.95,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":1691.24,"52_week_high":2523.2},{"ticker":"PGRD.BO","company":"Power Grid Corporation Of India","price":327.6,"percent_change":-1.64,"net_change":-5.45,"bid":327.6,"ask":null,"high":335.0,"low":325.6,"open":334.15,"low_circuit_limit":299.75,"up_circuit_limit":366.35,"volume":1378217,"close":333.05,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":177.6,"52_week_high":346.9},{"ticker":"BAJE.BO","company":"Bharat Electronics","price":309.5,"percent_change":-0.06,"net_change":-0.2,"bid":309.5,"ask":null,"high":314.95,"low":309.0,"open":311.0,"low_circuit_limit":278.75,"up_circuit_limit":340.65,"volume":1353321,"close":309.7,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":117.95,"52_week_high":323.0},{"ticker":"IOC.BO","company":"Indian Oil Corporation","price":164.4,"percent_change":-1.14,"net_change":-1.9,"bid":null,"ask":null,"high":167.05,"low":164.1,"open":166.65,"low_circuit_limit":149.7,"up_circuit_limit":182.9,"volume":1196551,"close":166.3,"overall_rating":"Moderately Bearish","short_term_trend":"Bearish","long_term_trend":"Moderately Bearish","52_week_low":85.51,"52_week_high":196.8},{"ticker":"ZEE.BO","company":"Zee Entertainment Enterprises","price":148.8,"percent_change":-1.55,"net_change":-2.35,"bid":148.8,"ask":null,"high":153.8,"low":148.1,"open":153.45,"low_circuit_limit":136.05,"up_circuit_limit":166.25,"volume":979761,"close":151.15,"overall_rating":"Bearish","short_term_trend":"Bearish","long_term_trend":"Bearish","52_week_low":126.15,"52_week_high":299.5},{"ticker":"ICBK.BO","company":"ICICI Bank","price":1199.05,"percent_change":2.48,"net_change":29.05,"bid":1199.05,"ask":null,"high":1207.0,"low":1164.4,"open":1164.4,"low_circuit_limit":1053.0,"up_circuit_limit":1287.0,"volume":969509,"close":1170.0,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":898.85,"52_week_high":1175.7},{"ticker":"TISC.BO","company":"Tata Steel","price":175.7,"percent_change":-1.24,"net_change":-2.2,"bid":175.7,"ask":null,"high":179.0,"low":175.2,"open":177.85,"low_circuit_limit":160.15,"up_circuit_limit":195.65,"volume":865945,"close":177.9,"overall_rating":"Neutral","short_term_trend":"Bearish","long_term_trend":"Bullish","52_week_low":108.15,"52_week_high":184.6},{"ticker":"BOB.BO","company":"Bank Of Baroda","price":280.8,"percent_change":0.11,"net_change":0.3,"bid":null,"ask":280.8,"high":283.45,"low":278.95,"open":281.95,"low_circuit_limit":252.45,"up_circuit_limit":308.55,"volume":845387,"close":280.5,"overall_rating":"Bullish","short_term_trend":"Moderately Bearish","long_term_trend":"Bullish","52_week_low":185.65,"52_week_high":298.45},{"ticker":"TTPW.BO","company":"Tata Power","price":430.7,"percent_change":-1.15,"net_change":-5.0,"bid":430.7,"ask":null,"high":437.9,"low":429.9,"open":435.7,"low_circuit_limit":392.15,"up_circuit_limit":479.25,"volume":831480,"close":435.7,"overall_rating":"Neutral","short_term_trend":"Bearish","long_term_trend":"Bullish","52_week_low":216.35,"52_week_high":464.3}]
                                                                                                                                                                                                                    
                                                                                                    

BSE Most Active - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5557/bse+most+active' --header 'Authorization: Bearer YOUR_API_KEY' 


    

NSE Most Active

Endpoint: /NSE_most_active

Method: GET

Description:

Get the latest most active stocks in the National Stock Exchange (NSE) based on trading volume.

Example Request:

GET /NSE_most_active

Example Response:

[
  {
    "ticker": "RELIANCE.NS",
    "company": "Reliance Industries",
    "price": 2200.55,
    "percent_change": 0.70,
    "net_change": 15.45,
    "volume": 12000000
  },
  ...
]



                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5558/nse+most+active
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"ticker":"HDBK.NS","company":"HDFC Bank","price":1711.35,"percent_change":2.33,"net_change":38.95,"bid":null,"ask":1711.35,"high":1716.95,"low":1671.1,"open":1671.1,"low_circuit_limit":1505.2,"up_circuit_limit":1839.6,"volume":37260259,"close":1672.4,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":1363.55,"52_week_high":1757.5},{"ticker":"CNBK.NS","company":"CANARA BANK","price":118.05,"percent_change":-0.19,"net_change":-0.22,"bid":null,"ask":118.05,"high":119.74,"low":116.85,"open":119.24,"low_circuit_limit":106.44,"up_circuit_limit":130.09,"volume":36962185,"close":118.27,"overall_rating":"Neutral","short_term_trend":"Bearish","long_term_trend":"Bullish","52_week_low":58.33,"52_week_high":128.9},{"ticker":"SAMD.NS","company":"Samvardhana Motherson International","price":192.89,"percent_change":2.45,"net_change":4.61,"bid":null,"ask":192.89,"high":194.58,"low":188.36,"open":188.55,"low_circuit_limit":169.45,"up_circuit_limit":207.1,"volume":35547044,"close":188.28,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":82.95,"52_week_high":190.1},{"ticker":"TISC.NS","company":"Tata Steel","price":175.68,"percent_change":-1.28,"net_change":-2.28,"bid":175.68,"ask":null,"high":179.0,"low":175.25,"open":177.99,"low_circuit_limit":160.16,"up_circuit_limit":195.75,"volume":30584987,"close":177.96,"overall_rating":"Neutral","short_term_trend":"Bearish","long_term_trend":"Bullish","52_week_low":108.1,"52_week_high":184.6},{"ticker":"BAJE.NS","company":"Bharat Electronics","price":309.7,"percent_change":-0.02,"net_change":-0.05,"bid":309.7,"ask":null,"high":314.95,"low":309.2,"open":310.9,"low_circuit_limit":278.8,"up_circuit_limit":340.7,"volume":29115191,"close":309.75,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":117.9,"52_week_high":323.0},{"ticker":"ICBK.NS","company":"ICICI Bank","price":1197.95,"percent_change":2.38,"net_change":27.85,"bid":1197.95,"ask":null,"high":1206.0,"low":1167.65,"open":1170.25,"low_circuit_limit":1053.1,"up_circuit_limit":1287.1,"volume":27309588,"close":1170.1,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":899.0,"52_week_high":1175.65},{"ticker":"INID.NS","company":"Indian Railway Finance Corporation","price":175.61,"percent_change":-0.71,"net_change":-1.26,"bid":175.61,"ask":null,"high":178.6,"low":175.08,"open":177.6,"low_circuit_limit":141.49,"up_circuit_limit":212.24,"volume":23341871,"close":176.87,"overall_rating":"Bullish","short_term_trend":"Moderately Bullish","long_term_trend":"Bullish","52_week_low":31.95,"52_week_high":200.0},{"ticker":"SBI.NS","company":"State Bank Of India","price":842.25,"percent_change":1.15,"net_change":9.55,"bid":null,"ask":842.25,"high":845.85,"low":834.3,"open":837.0,"low_circuit_limit":749.45,"up_circuit_limit":915.95,"volume":20915602,"close":832.7,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":543.2,"52_week_high":912.0},{"ticker":"PNBK.NS","company":"Punjab National Bank","price":124.13,"percent_change":-0.75,"net_change":-0.94,"bid":null,"ask":124.13,"high":125.93,"low":123.75,"open":125.1,"low_circuit_limit":112.56,"up_circuit_limit":137.57,"volume":19669470,"close":125.07,"overall_rating":"Moderately Bearish","short_term_trend":"Bearish","long_term_trend":"Moderately Bearish","52_week_low":49.7,"52_week_high":142.9},{"ticker":"AXBK.NS","company":"Axis Bank","price":1271.45,"percent_change":3.53,"net_change":43.35,"bid":1271.45,"ask":null,"high":1278.75,"low":1226.0,"open":1234.45,"low_circuit_limit":1105.3,"up_circuit_limit":1350.9,"volume":17607556,"close":1228.1,"overall_rating":"Bullish","short_term_trend":"Bullish","long_term_trend":"Bullish","52_week_low":927.15,"52_week_high":1246.0}]
                                                                                                                                                                                                                    
                                                                                                    

NSE Most Active - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5558/nse+most+active' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Trending Stocks API

This API provides a snapshot of the top gaining and losing stocks at the current moment, giving you valuable insights into market trends and potential trading opportunities.

Endpoint: /trending

Method: GET

Response Format: JSON

Data Returned:

{
  "trending_stocks": {
    "top_gainers": [
      { 
        "ticker_id": "string",
        "company_name": "string",
        "price": "string", 
        "percent_change": "string",
        "net_change": "string",
        "bid": "string",
        "ask": "string",
        "high": "string",
        "low": "string",
        "open": "string",
        "low_circuit_limit": "string",
        "up_circuit_limit": "string",
        "volume": "string",
        "date": "string", 
        "time": "string", 
        "close": "string", 
        "bid_size": "string",
        "ask_size": "string",
        "average_price": "string", 
        "exchange_type": "string",
        "lot_size": "string",
        "average_volume": "string", 
        "deviation": "string", 
        "actual_deviation": "string", 
        "no_of_days_for_average": "string", 
        "overall_rating": "string",
        "short_term_trends": "string", 
        "long_term_trends": "string", 
        "year_low": "string",
        "year_high": "string",
        "ric": "string" 
      },
      // ... more top gainers 
    ],
    "top_losers": [
      { 
        // ... same fields as top gainers
      },
      // ... more top losers
    ]
  }
}

Features:

  • Top Gainers/Losers: Provides a list of the top 3 gaining stocks and the top 3 losing stocks, ranked by percentage change.
  • Real-time Data: The data is sourced from a live financial data feed, ensuring you get the latest market information.
  • Comprehensive Stock Information: Each stock object includes a wide range of data points, including:
    • Basic Data: Ticker ID, company name, current price, percentage change, net change.
    • Intraday Data: High, low, open, volume.
    • Previous Close: Closing price of the previous trading day.
    • Market Depth: Bid and ask prices, bid and ask sizes.
    • Circuit Limits: Exchange-specific circuit limits.
    • Year High/Low: The 52-week high and low prices for the stock.
    • Reuters Instrument Code (RIC): For accessing data from Reuters services.
    • Additional Analysis Fields: Average price, average volume, deviation, overall rating, short-term trends, and long-term trends.
  • Null Value Handling: The API removes any null values from the response, making it easier for you to parse and use the data.

Potential Use Cases:

  • Market Monitoring: Track the most volatile stocks in real-time to identify potential trading opportunities or risks.
  • News and Sentiment Analysis: Use the trending stocks data in conjunction with news sentiment analysis to understand the factors driving market movements.
  • Algorithm Development: Integrate the API into trading algorithms or quantitative analysis models.
  • Financial Applications: Build applications that display market trends to users.


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5559/get+trending+stocks
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"trending_stocks":{"top_gainers":[{"ticker_id":"S0003312","company_name":"Godrej Agrovet","price":"674","percent_change":"6.81","net_change":"42.95","bid":"674","ask":"0","high":"694","low":"633.75","open":"635","low_circuit_limit":"504.85","up_circuit_limit":"757.25","volume":"2532863","date":"2024-06-25","time":"10:10:51","close":"631.05","bid_size":"1097","ask_size":"0","exchange_type":"NSI","lot_size":"1","year_low":"442.95","year_high":"635.95","ric":"GODE.NS"},{"ticker_id":"S0003199","company_name":"Raymond","price":"2779.4","percent_change":"6.46","net_change":"168.6","bid":"2779.4","ask":"0","high":"2830","low":"2619.8","open":"2620","low_circuit_limit":"2088.65","up_circuit_limit":"3132.95","volume":"2092746","date":"2024-06-25","time":"10:14:21","close":"2610.8","bid_size":"12919","ask_size":"0","exchange_type":"NSI","lot_size":"1","year_low":"1487.6","year_high":"2695","ric":"RYMD.NS"},{"ticker_id":"S0003151","company_name":"Welspun Corp","price":"541.75","percent_change":"5.74","net_change":"29.4","bid":"0","ask":"541.75","high":"547","low":"511.8","open":"518","low_circuit_limit":"409.9","up_circuit_limit":"614.8","volume":"4689438","date":"2024-06-25","time":"10:14:08","close":"512.35","bid_size":"0","ask_size":"9967","exchange_type":"NSI","lot_size":"1","year_low":"258.55","year_high":"631","ric":"WGSR.NS"}],"top_losers":[{"ticker_id":"S0003230","company_name":"Happiest Minds Technologies","price":"830.55","percent_change":"-9.46","net_change":"-86.8","bid":"0","ask":"830.55","high":"852.9","low":"828","open":"846.2","low_circuit_limit":"733.9","up_circuit_limit":"1100.8","volume":"21159937","date":"2024-06-25","time":"10:14:52","close":"917.35","bid_size":"0","ask_size":"9729","exchange_type":"NSI","lot_size":"1","year_low":"741","year_high":"1020","ric":"HAPP.NS"},{"ticker_id":"S0005078","company_name":"Macrotech Developers","price":"1480.3","percent_change":"-4.43","net_change":"-68.65","bid":"0","ask":"1480.3","high":"1550.3","low":"1465.55","open":"1549.9","low_circuit_limit":"1239.2","up_circuit_limit":"1858.7","volume":"775895","date":"2024-06-25","time":"10:13:24","close":"1548.95","bid_size":"0","ask_size":"927","exchange_type":"NSI","lot_size":"1","year_low":"640.6","year_high":"1649.95","ric":"MACE.NS"},{"ticker_id":"S0003390","company_name":"Oberoi Realty","price":"1829.3","percent_change":"-4.07","net_change":"-77.6","bid":"1829.3","ask":"0","high":"1934","low":"1809.3","open":"1930.5","low_circuit_limit":"1716.25","up_circuit_limit":"2097.55","volume":"1541195","date":"2024-06-25","time":"10:14:57","close":"1906.9","bid_size":"205","ask_size":"0","exchange_type":"NSI","lot_size":"1","year_low":"975","year_high":"1953.05","ric":"OEBO.NS"}]}}
                                                                                                                                                                                                                    
                                                                                                    

Get Trending Stocks - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5559/get+trending+stocks' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Fetch 52 Week High Low Data

Endpoint: /fetch_52_week_high_low_data

Method: GET

Description:

Retrieve data for stocks with the highest and lowest prices in the last 52 weeks from both the BSE and NSE.

Response may return empty list when the market is closed!

Example Request:

GET /fetch_52_week_high_low_data

Example Response:

{
  "BSE_52WeekHighLow": {
    "high52Week": [
      {
        "ticker": "RELIANCE.BO",
        "company": "Reliance Industries",
        "price": 2200.55,
        "52_week_high": 2300.00
      },
      ...
    ],
    "low52Week": [
      {
        "ticker": "TATASTEEL.BO",
        "company": "Tata Steel",
        "price": 850.00,
        "52_week_low": 800.00
      },
      ...
    ]
  },
  "NSE_52WeekHighLow": {
    "high52Week": [
      {
        "ticker": "INFY.NS",
        "company": "Infosys",
        "price": 1500.75,
        "52_week_high": 1550.00
      },
      ...
    ],
    "low52Week": [
      {
        "ticker": "HCLTECH.NS",
        "company": "HCL Technologies",
        "price": 1000.00,
        "52_week_low": 950.00
      },
      ...
    ]
  }
}



                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5561/fetch+52+week+high+low+data
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"BSE_52WeekHighLow":{"high52Week":[{"ticker":"SHMF.BO","company":"Shriram Finance","price":2998.0,"52_week_high":2889.0},{"ticker":"AXBK.BO","company":"Axis Bank","price":1269.9,"52_week_high":1245.95},{"ticker":"ICBK.BO","company":"ICICI Bank","price":1199.05,"52_week_high":1175.7},{"ticker":"SAMD.BO","company":"Samvardhana Motherson International","price":192.75,"52_week_high":190.05},{"ticker":"INED.BO","company":"Info Edge India","price":6616.9,"52_week_high":6612.15},{"ticker":"CUMM.BO","company":"Cummins India","price":4000.65,"52_week_high":4098.65}],"low52Week":[{"ticker":"FUTE.BO","company":"Future Supply Chain Solutions","price":3.65,"52_week_low":3.66},{"ticker":"JASC.BO","company":"Jasch Industries","price":159.3,"52_week_low":162.4},{"ticker":"VSTA.BO","company":"Vistar Amar","price":190.25,"52_week_low":190.1},{"ticker":"TOYA.BO","company":"Toyam Sports","price":3.37,"52_week_low":3.26},{"ticker":"MMRU.BO","company":"MM Rubber Company","price":88.02,"52_week_low":85.65},{"ticker":"FIFA.BO","company":"FILATEX FASHIONS","price":8.62,"52_week_low":8.43}]},"NSE_52WeekHighLow":{"high52Week":[{"ticker":"AXBK.NS","company":"Axis Bank","price":1271.45,"52_week_high":1246.0},{"ticker":"SAMD.NS","company":"Samvardhana Motherson International","price":192.89,"52_week_high":190.1},{"ticker":"ICBK.NS","company":"ICICI Bank","price":1197.95,"52_week_high":1175.65},{"ticker":"GRAS.NS","company":"Grasim Industries","price":2516.95,"52_week_high":2523.7},{"ticker":"CUMM.NS","company":"Cummins India","price":4006.8,"52_week_high":4100.0},{"ticker":"TREN.NS","company":"Trent","price":5338.8,"52_week_high":5452.0}],"low52Week":[{"ticker":"SUUM.NS","company":"Suumaya Industries","price":5.76,"52_week_low":6.07},{"ticker":"ASCM.NS","company":"Ascom Leasing & Investments","price":128.95,"52_week_low":135.7},{"ticker":"FUTE.NS","company":"Future Supply Chain Solutions","price":3.65,"52_week_low":3.73},{"ticker":"ACLL.NS","company":"Allcargo Logistics","price":60.01,"52_week_low":59.9},{"ticker":"FIFA.NS","company":"FILATEX FASHIONS","price":8.7,"52_week_low":8.42}]}}
                                                                                                                                                                                                                    
                                                                                                    

Fetch 52 Week High Low Data - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5561/fetch+52+week+high+low+data' --header 'Authorization: Bearer YOUR_API_KEY' 


    

The /stock_target_price endpoint provides clients with target price information, including historical snapshots, and analyst recommendation details for a specified stock.

HTTP Request

  • GET /stock_target_price?stock_id=

URL Parameters

  • stock_id (required): The unique identifier of the stock for which target price and recommendation data is being requested.

Success Response

The success response contains two major parts: target price details (priceTarget and priceTargetSnapshots) and analyst recommendations (recommendation and recommendationSnapshots).

  • Status Code: 200 OK
  • Content-Type: application/json
  • Response Body:
{
"priceTarget": {
"CurrencyCode": "INR",
"UnverifiedMean": 4305.17073171,
"PreliminaryMean": 4305.17073171,
... // Additional price target details
},
"priceTargetSnapshots": [
{
"CurrencyCode": "INR",
"Mean": 4305.17073171,
... // Additional details for OneWeekAgo
},
... // Other snapshots (ThirtyDaysAgo, SixtyDaysAgo, etc.)
],
"recommendation": {
"UnverifiedMean": 2.46511628,
"PreliminaryMean": 2.46511628,
... // Additional recommendation details
},
"recommendationSnapshots": [
{
"Mean": 2.46511628,
... // Additional details for OneWeekAgo
},
... // Other snapshots (ThirtyDaysAgo, SixtyDaysAgo, etc.)
]
}

Error Responses

  • Status Code: 404 Not Found
    • Response Body: {"error": "Stock target price not found"}
  • Status Code: 500 Internal Server Error
    • Response Body: {"error": "An error occurred: "}

Recommendations Key

The recommendation field provides an aggregate of analyst recommendations for a specific stock, translating numerical values to qualitative assessments. These recommendations are based on various analyses and forecasts regarding the future performance of the stock relative to the current market expectations. Here's a breakdown of what each numerical value represents:

  • 1 - Buy: Indicates strong confidence from analysts that the stock will outperform the market in the near future.
  • 2 - Outperform: Analysts believe the stock will perform better than the average market return.
  • 3 - Hold: Suggests that analysts view the stock as adequately valued, recommending investors maintain their position without buying more or selling.
  • 4 - Underperform: Predicts that the stock will fare slightly worse than the market average.
  • 5 - Sell: Advises that the stock is expected to underperform significantly and may decrease in value, suggesting investors should consider selling it off.

Recommendation Snapshots

The recommendation details are not only provided for the current assessment but also include snapshots from previous periods to show how analyst perspectives have evolved over time. Here's the temporal hierarchy of the available snapshots:

  • Current wk: Reflects the most recent analyst recommendations.
  • 1 wk ago: Offers insight into how the recommendations stood one week prior.
  • 30 days ago: Indicates the cumulative recommendations from approximately a month before.
  • 60 days ago: Provides a look back at the analyst sentiment two months ago.
  • 90 days ago: Shows the analyst recommendations from three months prior, giving a quarterly perspective.

These snapshots allow investors to track changes in analyst sentiment over time, potentially indicating trends or shifts in market or company fundamentals affecting the stock.

Example Response


{
  "priceTarget": {
    "CurrencyCode": "INR",
    "UnverifiedMean": 4305.17073171,
    "PreliminaryMean": 4305.17073171,
    "Mean": 4305.17073171,
    "High": 4800,
    "Low": 3165,
    "NumberOfEstimates": 41,
    "Median": 4400,
    "StandardDeviation": 354.83960478
  },
  "priceTargetSnapshots": {
    "PriceTargetSnapshot": [
      {
        "CurrencyCode": "INR",
        "Mean": 4305.17073171,
        "High": 4800,
        "Low": 3165,
        "NumberOfEstimates": 41,
        "Median": 4400,
        "StandardDeviation": 354.83960478,
        "Age": "OneWeekAgo"
      },
      {
        "CurrencyCode": "INR",
        "Mean": 4178.83333333,
        "High": 4787,
        "Low": 3040,
        "NumberOfEstimates": 42,
        "Median": 4262.5,
        "StandardDeviation": 405.35392044,
        "Age": "ThirtyDaysAgo"
      },
      {
        "CurrencyCode": "INR",
        "Mean": 4184.66666667,
        "High": 4787,
        "Low": 3040,
        "NumberOfEstimates": 42,
        "Median": 4300,
        "StandardDeviation": 405.9466904,
        "Age": "SixtyDaysAgo"
      },
      {
        "CurrencyCode": "INR",
        "Mean": 4186.4047619,
        "High": 4787,
        "Low": 3040,
        "NumberOfEstimates": 42,
        "Median": 4300,
        "StandardDeviation": 404.71218677,
        "Age": "NinetyDaysAgo"
      }
    ]
  },
  "recommendation": {
    "UnverifiedMean": 2.46511628,
    "PreliminaryMean": 2.46511628,
    "Mean": 2.46511628,
    "High": 1,
    "Low": 5,
    "NumberOfRecommendations": 43,
    "Statistics": {
      "Statistic": [
        {
          "Recommendation": 1,
          "NumberOfAnalysts": 6
        },
        {
          "Recommendation": 2,
          "NumberOfAnalysts": 20
        },
        {
          "Recommendation": 3,
          "NumberOfAnalysts": 10
        },
        {
          "Recommendation": 4,
          "NumberOfAnalysts": 5
        },
        {
          "Recommendation": 5,
          "NumberOfAnalysts": 2
        }
      ]
    }
  },
  "recommendationSnapshots": {
    "RecommendationSnapshot": [
      {
        "Mean": 2.46511628,
        "High": 1,
        "Low": 5,
        "NumberOfRecommendations": 43,
        "Statistics": {
          "Statistic": [
            {
              "Recommendation": 1,
              "NumberOfAnalysts": 6
            },
            {
              "Recommendation": 2,
              "NumberOfAnalysts": 20
            },
            {
              "Recommendation": 3,
              "NumberOfAnalysts": 10
            },
            {
              "Recommendation": 4,
              "NumberOfAnalysts": 5
            },
            {
              "Recommendation": 5,
              "NumberOfAnalysts": 2
            }
          ]
        },
        "Age": "OneWeekAgo"
      },
      {
        "Mean": 2.58139535,
        "High": 1,
        "Low": 5,
        "NumberOfRecommendations": 43,
        "Statistics": {
          "Statistic": [
            {
              "Recommendation": 1,
              "NumberOfAnalysts": 5
            },
            {
              "Recommendation": 2,
              "NumberOfAnalysts": 19
            },
            {
              "Recommendation": 3,
              "NumberOfAnalysts": 10
            },
            {
              "Recommendation": 4,
              "NumberOfAnalysts": 7
            },
            {
              "Recommendation": 5,
              "NumberOfAnalysts": 2
            }
          ]
        },
        "Age": "ThirtyDaysAgo"
      },
      {
        "Mean": 2.58139535,
        "High": 1,
        "Low": 5,
        "NumberOfRecommendations": 43,
        "Statistics": {
          "Statistic": [
            {
              "Recommendation": 1,
              "NumberOfAnalysts": 5
            },
            {
              "Recommendation": 2,
              "NumberOfAnalysts": 19
            },
            {
              "Recommendation": 3,
              "NumberOfAnalysts": 10
            },
            {
              "Recommendation": 4,
              "NumberOfAnalysts": 7
            },
            {
              "Recommendation": 5,
              "NumberOfAnalysts": 2
            }
          ]
        },
        "Age": "SixtyDaysAgo"
      },
      {
        "Mean": 2.58139535,
        "High": 1,
        "Low": 5,
        "NumberOfRecommendations": 43,
        "Statistics": {
          "Statistic": [
            {
              "Recommendation": 1,
              "NumberOfAnalysts": 5
            },
            {
              "Recommendation": 2,
              "NumberOfAnalysts": 19
            },
            {
              "Recommendation": 3,
              "NumberOfAnalysts": 10
            },
            {
              "Recommendation": 4,
              "NumberOfAnalysts": 7
            },
            {
              "Recommendation": 5,
              "NumberOfAnalysts": 2
            }
          ]
        },
        "Age": "NinetyDaysAgo"
      }
    ]
  }
}


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5955/analyst+recommendations
                                                                            
                                                                        

Analyst Recommendations - Endpoint Features

Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"priceTarget":{"CurrencyCode":"INR","UnverifiedMean":4307.12195122,"PreliminaryMean":4307.12195122,"Mean":4307.12195122,"High":4800.0,"Low":3165.0,"NumberOfEstimates":41,"Median":4400.0,"StandardDeviation":354.65343613},"priceTargetSnapshots":{"PriceTargetSnapshot":[{"CurrencyCode":"INR","Mean":4305.17073171,"High":4800.0,"Low":3165.0,"NumberOfEstimates":41,"Median":4400.0,"StandardDeviation":354.83960478,"Age":"OneWeekAgo"},{"CurrencyCode":"INR","Mean":4207.88095238,"High":4670.0,"Low":3105.0,"NumberOfEstimates":42,"Median":4295.0,"StandardDeviation":367.18322683,"Age":"ThirtyDaysAgo"},{"CurrencyCode":"INR","Mean":4179.19047619,"High":4787.0,"Low":3040.0,"NumberOfEstimates":42,"Median":4262.5,"StandardDeviation":404.79710293,"Age":"SixtyDaysAgo"},{"CurrencyCode":"INR","Mean":4186.4047619,"High":4787.0,"Low":3040.0,"NumberOfEstimates":42,"Median":4300.0,"StandardDeviation":404.71218677,"Age":"NinetyDaysAgo"}]},"recommendation":{"UnverifiedMean":2.46511628,"PreliminaryMean":2.46511628,"Mean":2.46511628,"High":1,"Low":5,"NumberOfRecommendations":43,"Statistics":{"Statistic":[{"Recommendation":1,"NumberOfAnalysts":6},{"Recommendation":2,"NumberOfAnalysts":20},{"Recommendation":3,"NumberOfAnalysts":10},{"Recommendation":4,"NumberOfAnalysts":5},{"Recommendation":5,"NumberOfAnalysts":2}]}},"recommendationSnapshots":{"RecommendationSnapshot":[{"Mean":2.46511628,"High":1,"Low":5,"NumberOfRecommendations":43,"Statistics":{"Statistic":[{"Recommendation":1,"NumberOfAnalysts":6},{"Recommendation":2,"NumberOfAnalysts":20},{"Recommendation":3,"NumberOfAnalysts":10},{"Recommendation":4,"NumberOfAnalysts":5},{"Recommendation":5,"NumberOfAnalysts":2}]},"Age":"OneWeekAgo"},{"Mean":2.53488372,"High":1,"Low":5,"NumberOfRecommendations":43,"Statistics":{"Statistic":[{"Recommendation":1,"NumberOfAnalysts":5},{"Recommendation":2,"NumberOfAnalysts":19},{"Recommendation":3,"NumberOfAnalysts":12},{"Recommendation":4,"NumberOfAnalysts":5},{"Recommendation":5,"NumberOfAnalysts":2}]},"Age":"ThirtyDaysAgo"},{"Mean":2.58139535,"High":1,"Low":5,"NumberOfRecommendations":43,"Statistics":{"Statistic":[{"Recommendation":1,"NumberOfAnalysts":5},{"Recommendation":2,"NumberOfAnalysts":19},{"Recommendation":3,"NumberOfAnalysts":10},{"Recommendation":4,"NumberOfAnalysts":7},{"Recommendation":5,"NumberOfAnalysts":2}]},"Age":"SixtyDaysAgo"},{"Mean":2.58139535,"High":1,"Low":5,"NumberOfRecommendations":43,"Statistics":{"Statistic":[{"Recommendation":1,"NumberOfAnalysts":5},{"Recommendation":2,"NumberOfAnalysts":19},{"Recommendation":3,"NumberOfAnalysts":10},{"Recommendation":4,"NumberOfAnalysts":7},{"Recommendation":5,"NumberOfAnalysts":2}]},"Age":"NinetyDaysAgo"}]}}
                                                                                                                                                                                                                    
                                                                                                    

Analyst Recommendations - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5955/analyst+recommendations' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Endpoint

/historical_data

Method

GET

Query Parameters

  • stock_name (required): string
  • period (optional): string, default is 5yr. Other options: [1m, 6m, 1yr, 3yr, 5yr, 10yr, max]
  • filter (optional): string, default is default. other params: [ price, pe, sm, evebitda, ptb, mcs ]

Description

Fetch historical data for a specific stock.

Example Request

GET /historical_data?symbol=TATAMOTORS&period=1yr&filter=price


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5956/historical+data
                                                                            
                                                                        

Historical Data - Endpoint Features

Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"datasets":[{"metric":"Price","label":"Price on NSE","values":[["2023-07-31","3421.45"],["2023-08-01","3452.05"],["2023-08-02","3440.65"],["2023-08-03","3399.95"],["2023-08-04","3443.55"],["2023-08-07","3484.05"],["2023-08-08","3470.60"],["2023-08-09","3462.50"],["2023-08-10","3442.10"],["2023-08-11","3448.80"],["2023-08-14","3449.85"],["2023-08-16","3458.40"],["2023-08-17","3435.75"],["2023-08-18","3367.10"],["2023-08-21","3401.65"],["2023-08-22","3382.15"],["2023-08-23","3398.25"],["2023-08-24","3387.75"],["2023-08-25","3381.30"],["2023-08-28","3375.55"],["2023-08-29","3376.15"],["2023-08-30","3390.95"],["2023-08-31","3356.80"],["2023-09-01","3379.20"],["2023-09-04","3418.50"],["2023-09-05","3429.35"],["2023-09-06","3429.90"],["2023-09-07","3455.25"],["2023-09-08","3441.90"],["2023-09-11","3480.65"],["2023-09-12","3580.80"],["2023-09-13","3567.85"],["2023-09-14","3560.05"],["2023-09-15","3598.30"],["2023-09-18","3606.15"],["2023-09-20","3606.05"],["2023-09-21","3585.30"],["2023-09-22","3603.65"],["2023-09-25","3577.15"],["2023-09-26","3585.70"],["2023-09-27","3589.30"],["2023-09-28","3536.75"],["2023-09-29","3528.60"],["2023-10-03","3513.85"],["2023-10-04","3537.75"],["2023-10-05","3589.35"],["2023-10-06","3621.40"],["2023-10-09","3638.35"],["2023-10-10","3628.90"],["2023-10-11","3609.90"],["2023-10-12","3542.55"],["2023-10-13","3570.85"],["2023-10-16","3524.05"],["2023-10-17","3507.05"],["2023-10-18","3487.25"],["2023-10-19","3455.65"],["2023-10-20","3494.55"],["2023-10-23","3410.15"],["2023-10-25","3390.10"],["2023-10-26","3336.75"],["2023-10-27","3350.95"],["2023-10-30","3378.55"],["2023-10-31","3368.75"],["2023-11-01","3330.65"],["2023-11-02","3360.10"],["2023-11-03","3350.90"],["2023-11-06","3380.25"],["2023-11-07","3370.45"],["2023-11-08","3381.55"],["2023-11-09","3347.45"],["2023-11-10","3333.45"],["2023-11-12","3357.30"],["2023-11-13","3331.55"],["2023-11-15","3404.30"],["2023-11-16","3497.85"],["2023-11-17","3502.45"],["2023-11-20","3519.60"],["2023-11-21","3510.20"],["2023-11-22","3530.15"],["2023-11-23","3508.25"],["2023-11-24","3457.10"],["2023-11-28","3470.15"],["2023-11-29","3513.75"],["2023-11-30","3487.60"],["2023-12-01","3511.65"],["2023-12-04","3512.45"],["2023-12-05","3531.60"],["2023-12-06","3604.10"],["2023-12-07","3614.90"],["2023-12-08","3626.70"],["2023-12-11","3642.90"],["2023-12-12","3672.10"],["2023-12-13","3593.55"],["2023-12-14","3667.25"],["2023-12-15","3861.00"],["2023-12-18","3859.20"],["2023-12-19","3816.20"],["2023-12-20","3780.05"],["2023-12-21","3787.50"],["2023-12-22","3824.00"],["2023-12-26","3795.55"],["2023-12-27","3811.20"],["2023-12-28","3799.90"],["2023-12-29","3793.40"],["2024-01-01","3811.10"],["2024-01-02","3783.20"],["2024-01-03","3691.75"],["2024-01-04","3666.80"],["2024-01-05","3737.90"],["2024-01-08","3678.30"],["2024-01-09","3689.90"],["2024-01-10","3713.05"],["2024-01-11","3735.55"],["2024-01-12","3882.80"],["2024-01-15","3903.80"],["2024-01-16","3861.30"],["2024-01-17","3884.60"],["2024-01-18","3902.60"],["2024-01-19","3943.05"],["2024-01-20","3860.65"],["2024-01-23","3858.25"],["2024-01-24","3841.80"],["2024-01-25","3810.30"],["2024-01-29","3801.00"],["2024-01-30","3800.55"],["2024-01-31","3815.95"],["2024-02-01","3854.15"],["2024-02-02","3966.30"],["2024-02-05","3973.30"],["2024-02-06","4136.00"],["2024-02-07","4083.40"],["2024-02-08","4134.10"],["2024-02-09","4133.70"],["2024-02-12","4120.70"],["2024-02-13","4149.50"],["2024-02-14","4100.10"],["2024-02-15","4103.20"],["2024-02-16","4128.30"],["2024-02-19","4103.80"],["2024-02-20","4030.65"],["2024-02-21","3991.50"],["2024-02-22","4087.10"],["2024-02-23","4052.10"],["2024-02-26","4001.05"],["2024-02-27","4104.40"],["2024-02-28","4118.95"],["2024-02-29","4095.10"],["2024-03-01","4094.35"],["2024-03-02","4107.10"],["2024-03-04","4080.70"],["2024-03-05","4012.10"],["2024-03-06","4064.30"],["2024-03-07","4108.60"],["2024-03-11","4122.35"],["2024-03-12","4192.25"],["2024-03-13","4149.00"],["2024-03-14","4207.60"],["2024-03-15","4219.25"],["2024-03-18","4152.50"],["2024-03-19","3977.30"],["2024-03-20","3970.90"],["2024-03-21","3972.95"],["2024-03-22","3910.90"],["2024-03-26","3877.50"],["2024-03-27","3840.90"],["2024-03-28","3876.30"],["2024-04-01","3916.75"],["2024-04-02","3883.80"],["2024-04-03","3947.30"],["2024-04-04","4003.30"],["2024-04-05","3979.25"],["2024-04-08","3972.55"],["2024-04-09","3946.55"],["2024-04-10","3984.65"],["2024-04-12","4001.40"],["2024-04-15","3941.20"],["2024-04-16","3872.80"],["2024-04-18","3862.00"],["2024-04-19","3826.20"],["2024-04-22","3864.60"],["2024-04-23","3874.70"],["2024-04-24","3831.05"],["2024-04-25","3852.20"],["2024-04-26","3821.35"],["2024-04-29","3870.20"],["2024-04-30","3820.65"],["2024-05-02","3863.30"],["2024-05-03","3843.40"],["2024-05-06","3921.05"],["2024-05-07","3978.95"],["2024-05-08","3976.95"],["2024-05-09","3960.20"],["2024-05-10","3893.90"],["2024-05-13","3947.80"],["2024-05-14","3901.20"],["2024-05-15","3880.40"],["2024-05-16","3900.95"],["2024-05-17","3834.10"],["2024-05-18","3851.45"],["2024-05-21","3820.20"],["2024-05-22","3832.00"],["2024-05-23","3893.45"],["2024-05-24","3849.50"],["2024-05-27","3847.05"],["2024-05-28","3839.90"],["2024-05-29","3803.65"],["2024-05-30","3736.10"],["2024-05-31","3670.95"],["2024-06-03","3702.85"],["2024-06-04","3715.00"],["2024-06-05","3746.45"],["2024-06-06","3830.40"],["2024-06-07","3893.95"],["2024-06-10","3858.70"],["2024-06-11","3852.10"],["2024-06-12","3831.65"],["2024-06-13","3878.15"],["2024-06-14","3832.05"],["2024-06-18","3815.10"],["2024-06-19","3801.70"],["2024-06-20","3787.25"],["2024-06-21","3810.75"],["2024-06-24","3816.80"],["2024-06-25","3838.45"],["2024-06-26","3855.85"],["2024-06-27","3934.15"],["2024-06-28","3904.15"],["2024-07-01","3978.20"],["2024-07-02","4017.40"],["2024-07-03","3965.25"],["2024-07-04","4020.95"],["2024-07-05","4011.80"],["2024-07-08","3993.20"],["2024-07-09","3985.50"],["2024-07-10","3909.15"],["2024-07-11","3923.70"],["2024-07-12","4183.95"],["2024-07-15","4169.20"],["2024-07-16","4178.45"],["2024-07-18","4315.55"],["2024-07-19","4302.40"],["2024-07-22","4287.35"],["2024-07-23","4302.35"],["2024-07-24","4306.25"],["2024-07-25","4322.50"],["2024-07-26","4387.85"],["2024-07-29","4395.35"]],"meta":{"is_weekly":false}},{"metric":"DMA50","label":"50 DMA","values":[["2023-07-31","3323.83"],["2023-08-01","3328.86"],["2023-08-02","3333.24"],["2023-08-03","3335.86"],["2023-08-04","3340.08"],["2023-08-07","3345.73"],["2023-08-08","3350.62"],["2023-08-09","3355.01"],["2023-08-10","3358.43"],["2023-08-11","3361.97"],["2023-08-14","3365.42"],["2023-08-16","3369.06"],["2023-08-17","3371.68"],["2023-08-18","3371.50"],["2023-08-21","3372.68"],["2023-08-22","3373.05"],["2023-08-23","3374.04"],["2023-08-24","3374.58"],["2023-08-25","3374.84"],["2023-08-28","3374.87"],["2023-08-29","3374.92"],["2023-08-30","3375.55"],["2023-08-31","3374.81"],["2023-09-01","3374.99"],["2023-09-04","3376.69"],["2023-09-05","3378.76"],["2023-09-06","3380.76"],["2023-09-07","3383.68"],["2023-09-08","3385.97"],["2023-09-11","3389.68"],["2023-09-12","3397.17"],["2023-09-13","3403.87"],["2023-09-14","3409.99"],["2023-09-15","3417.38"],["2023-09-18","3424.78"],["2023-09-20","3431.89"],["2023-09-21","3437.90"],["2023-09-22","3444.40"],["2023-09-25","3449.61"],["2023-09-26","3454.95"],["2023-09-27","3460.22"],["2023-09-28","3463.22"],["2023-09-29","3465.78"],["2023-10-03","3467.67"],["2023-10-04","3470.41"],["2023-10-05","3475.08"],["2023-10-06","3480.82"],["2023-10-09","3486.99"],["2023-10-10","3492.56"],["2023-10-11","3497.16"],["2023-10-12","3498.94"],["2023-10-13","3501.76"],["2023-10-16","3502.64"],["2023-10-17","3502.81"],["2023-10-18","3502.20"],["2023-10-19","3500.37"],["2023-10-20","3500.14"],["2023-10-23","3496.62"],["2023-10-25","3492.44"],["2023-10-26","3486.33"],["2023-10-27","3481.02"],["2023-10-30","3477.01"],["2023-10-31","3472.76"],["2023-11-01","3467.19"],["2023-11-02","3462.99"],["2023-11-03","3458.59"],["2023-11-06","3455.52"],["2023-11-07","3452.18"],["2023-11-08","3449.41"],["2023-11-09","3445.41"],["2023-11-10","3441.02"],["2023-11-12","3437.74"],["2023-11-13","3433.58"],["2023-11-15","3432.43"],["2023-11-16","3434.99"],["2023-11-17","3437.64"],["2023-11-20","3440.85"],["2023-11-21","3443.57"],["2023-11-22","3446.97"],["2023-11-23","3449.37"],["2023-11-24","3449.67"],["2023-11-28","3450.48"],["2023-11-29","3452.96"],["2023-11-30","3454.32"],["2023-12-01","3456.57"],["2023-12-04","3458.76"],["2023-12-05","3461.61"],["2023-12-06","3467.20"],["2023-12-07","3472.99"],["2023-12-08","3479.02"],["2023-12-11","3485.45"],["2023-12-12","3492.77"],["2023-12-13","3496.72"],["2023-12-14","3503.41"],["2023-12-15","3517.43"],["2023-12-18","3530.83"],["2023-12-19","3542.02"],["2023-12-20","3551.36"],["2023-12-21","3560.62"],["2023-12-22","3570.95"],["2023-12-26","3579.76"],["2023-12-27","3588.83"],["2023-12-28","3597.11"],["2023-12-29","3604.81"],["2024-01-01","3612.90"],["2024-01-02","3619.58"],["2024-01-03","3622.41"],["2024-01-04","3624.15"],["2024-01-05","3628.61"],["2024-01-08","3630.56"],["2024-01-09","3632.88"],["2024-01-10","3636.03"],["2024-01-11","3639.93"],["2024-01-12","3649.45"],["2024-01-15","3659.43"],["2024-01-16","3667.35"],["2024-01-17","3675.86"],["2024-01-18","3684.76"],["2024-01-19","3694.89"],["2024-01-20","3701.39"],["2024-01-23","3707.54"],["2024-01-24","3712.80"],["2024-01-25","3716.63"],["2024-01-29","3719.94"],["2024-01-30","3723.10"],["2024-01-31","3726.74"],["2024-02-01","3731.73"],["2024-02-02","3740.93"],["2024-02-05","3750.05"],["2024-02-06","3765.18"],["2024-02-07","3777.66"],["2024-02-08","3791.64"],["2024-02-09","3805.05"],["2024-02-12","3817.43"],["2024-02-13","3830.45"],["2024-02-14","3841.03"],["2024-02-15","3851.31"],["2024-02-16","3862.17"],["2024-02-19","3871.65"],["2024-02-20","3877.88"],["2024-02-21","3882.34"],["2024-02-22","3890.37"],["2024-02-23","3896.71"],["2024-02-26","3900.80"],["2024-02-27","3908.79"],["2024-02-28","3917.03"],["2024-02-29","3924.01"],["2024-03-01...
                                                                                                                                                                                                                    
                                                                                                    

Historical Data - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5956/historical+data' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Historical Stats

Endpoint

/historical_stats

Method

GET

Query Parameters

  • stock_name (required): string
  • stats (required): Enum [quarter_results, yoy_results, balancesheet, cashflow, ratios, shareholding_pattern_quarterly, shareholding_pattern_yearly]

Description

Retrieve historical statistics for a specific stock.

Example Request

GET /historical_stats?stock_name=TATAMOTORS&stats=quarter_results


                                                                            
GET https://zylalabs.com/api/4521/indian+stock+exchange+api/5957/historical+stats
                                                                            
                                                                        

Historical Stats - Endpoint Features

Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Sales":{"Mar 2021":88628.0,"Jun 2021":66406.0,"Sep 2021":61379.0,"Dec 2021":72229.0,"Mar 2022":78439.0,"Jun 2022":71935.0,"Sep 2022":79611.0,"Dec 2022":88489.0,"Mar 2023":105932.0,"Jun 2023":102236.0,"Sep 2023":105128.0,"Dec 2023":110577.0,"Mar 2024":119986.0},"Expenses":{"Mar 2021":75254.0,"Jun 2021":61164.0,"Sep 2021":57262.0,"Dec 2021":65151.0,"Mar 2022":70156.0,"Jun 2022":69522.0,"Sep 2022":74039.0,"Dec 2022":77668.0,"Mar 2023":92818.0,"Jun 2023":89018.0,"Sep 2023":91361.0,"Dec 2023":95159.0,"Mar 2024":102851.0},"Operating Profit":{"Mar 2021":13374.0,"Jun 2021":5243.0,"Sep 2021":4117.0,"Dec 2021":7078.0,"Mar 2022":8283.0,"Jun 2022":2413.0,"Sep 2022":5572.0,"Dec 2022":10820.0,"Mar 2023":13114.0,"Jun 2023":13218.0,"Sep 2023":13767.0,"Dec 2023":15418.0,"Mar 2024":17135.0},"OPM %":{"Mar 2021":15.0,"Jun 2021":8.0,"Sep 2021":7.0,"Dec 2021":10.0,"Mar 2022":11.0,"Jun 2022":3.0,"Sep 2022":7.0,"Dec 2022":12.0,"Mar 2023":12.0,"Jun 2023":13.0,"Sep 2023":13.0,"Dec 2023":14.0,"Mar 2024":14.0},"Other Income":{"Mar 2021":-12655.0,"Jun 2021":584.0,"Sep 2021":862.0,"Dec 2021":789.0,"Mar 2022":189.0,"Jun 2022":2381.0,"Sep 2022":1351.0,"Dec 2022":1130.0,"Mar 2023":1453.0,"Jun 2023":684.0,"Sep 2023":1507.0,"Dec 2023":1604.0,"Mar 2024":1618.0},"Interest":{"Mar 2021":2145.0,"Jun 2021":2203.0,"Sep 2021":2327.0,"Dec 2021":2401.0,"Mar 2022":2381.0,"Jun 2022":2421.0,"Sep 2022":2487.0,"Dec 2022":2676.0,"Mar 2023":2642.0,"Jun 2023":2615.0,"Sep 2023":2652.0,"Dec 2023":2485.0,"Mar 2024":2234.0},"Depreciation":{"Mar 2021":6217.0,"Jun 2021":6202.0,"Sep 2021":6123.0,"Dec 2021":6078.0,"Mar 2022":6432.0,"Jun 2022":5841.0,"Sep 2022":5897.0,"Dec 2022":6072.0,"Mar 2023":7050.0,"Jun 2023":6633.0,"Sep 2023":6636.0,"Dec 2023":6850.0,"Mar 2024":7151.0},"Profit before tax":{"Mar 2021":-7643.0,"Jun 2021":-2579.0,"Sep 2021":-3472.0,"Dec 2021":-612.0,"Mar 2022":-341.0,"Jun 2022":-3468.0,"Sep 2022":-1461.0,"Dec 2022":3203.0,"Mar 2023":4875.0,"Jun 2023":4653.0,"Sep 2023":5986.0,"Dec 2023":7687.0,"Mar 2024":9369.0},"Tax %":{"Mar 2021":-2.0,"Jun 2021":68.0,"Sep 2021":29.0,"Dec 2021":119.0,"Mar 2022":222.0,"Jun 2022":44.0,"Sep 2022":-31.0,"Dec 2022":8.0,"Mar 2023":-13.0,"Jun 2023":34.0,"Sep 2023":37.0,"Dec 2023":7.0,"Mar 2024":-87.0},"Net Profit":{"Mar 2021":-7585.0,"Jun 2021":-4450.0,"Sep 2021":-4416.0,"Dec 2021":-1451.0,"Mar 2022":-992.0,"Jun 2022":-4951.0,"Sep 2022":-898.0,"Dec 2022":3043.0,"Mar 2023":5496.0,"Jun 2023":3301.0,"Sep 2023":3832.0,"Dec 2023":7145.0,"Mar 2024":17529.0},"EPS in Rs":{"Mar 2021":-22.91,"Jun 2021":-13.41,"Sep 2021":-13.38,"Dec 2021":-4.57,"Mar 2022":-3.11,"Jun 2022":-15.08,"Sep 2022":-2.84,"Dec 2022":8.91,"Mar 2023":16.28,"Jun 2023":9.64,"Sep 2023":11.33,"Dec 2023":21.14,"Mar 2024":52.37}}
                                                                                                                                                                                                                    
                                                                                                    

Historical Stats - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4521/indian+stock+exchange+api/5957/historical+stats' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Indian Stock Exchange API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Indian Stock Exchange API provides comprehensive financial data for companies listed on the Bombay Stock Exchange (BSE) and National Stock Exchange (NSE). It offers detailed insights into company profiles, stock prices, technical data, financials, key metrics, analyst views, shareholding patterns, corporate actions, and recent news.

You can retrieve a wide range of data including: -- Company profiles -- Real-time stock prices for BSE and NSE -- Technical analysis data -- Financial statements and data -- Key financial ratios and metrics -- Analyst views and recommendations -- Shareholding patterns -- Corporate actions -- Recent news articles related to companies and the market

The data provided by the Indian Stock Exchange API is updated in real-time for stock prices and regularly for other financial data, ensuring you have access to the most current information available.

Yes, each pricing plan has a different rate limit based on the number of API calls allowed per month. Refer to the pricing section for more details.

The Indian Stock Exchange API documentation can be found at Indian API website: http://indianapi.in/indian-stock-market.

Indian API is a API Marketplace where you can discover and connect with powerful APIs to enhance your applications. It offers a diverse collection of APIs for various industries and use cases.

Indian API is trusted and used by developers and businesses across India serving thousands of users.

Yes, in addition to the diverse API collection available on the marketplace, custom endpoints and dedicated servers can be provided to meet specific needs.

Check out our Indian API Marketplace here: https://indianapi.in/ For inquiries, contact us at: [email protected]

For inquiries, contact us at: [email protected] You can find more information about the Indian API marketplace on their website: https://indianapi.in/

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
1,847ms

Category:


Related APIs