v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📢 Public APIs

Get stocks

The API endpoint allows you to retrieve a list of stocks listed on NSE [National Stock Exchange of India]. The data you get is a snapshot taken on 28th Dec 2023 & not live from stock exchange. Upon accessing this endpoint, you will receive a response containing a collection of randomly selected stocks.

get/public/stocks

Query parameters

pagestring
Example:1
limitstring
Example:2
incstring
Example:Symbol,Name,MarketCap,CurrentPrice
querystring
Example:tata

Response

Get stocks

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "currentPageItems": 10,
    "data": [
      {
        "Name": "Tata Chemicals Limited",
        "Symbol": "TATACHEM",
        "ListingDate": "01-Apr-99",
        "ISIN": "INE092A01019",
        "MarketCap": "₹ 28,355 Cr.",
        "CurrentPrice": "₹ 1,113",
        "HighLow": "₹ 1,123 / 912",
        "StockPE": 14.4,
        "BookValue": "₹ 840",
        "DividendYield": "1.54 %",
        "ROCE": "11.6 %",
        "ROE": "12.0 %",
        "FaceValue": "₹ 10.0"
      },
      {
        "Name": "Tata Coffee Limited",
        "Symbol": "TATACOFFEE",
        "ListingDate": "16-Feb-00",
        "ISIN": "INE493A01027",
        "MarketCap": "₹ 5,993 Cr.",
        "CurrentPrice": "₹ 321",
        "HighLow": "₹ 322 / 199",
        "StockPE": 33.4,
        "BookValue": "₹ 99.3",
        "DividendYield": "0.93 %",
        "ROCE": "9.78 %",
        "ROE": "10.1 %",
        "FaceValue": "₹ 1.0"
      }
    ],
    "limit": 10,
    "page": 1,
    "totalItems": 20,
    "totalPages": 2
  },
  "message": "Books fetched successfully",
  "statusCode": 200,
  "success": true
}