v1

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

Get a random stock

The API endpoint returns a single random stock from a list of stocks.

Upon accessing this endpoint, you will receive a response containing the details of a randomly selected stock.

get/public/stocks/stock/random

Response

Get a random stock

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "Name": "Tata Chemicals Limited",
    "Symbol": "TATACHEM",
    "ListingDate": "01-Apr-99",
    "ISIN": "INE092A01019",
    "MarketCap": "₹ 28,355 Cr.",
    "CurrentPrice": "₹ 1,113",
    "HighLow": "₹ 1,123 / 912",
    "BookValue": "₹ 840",
    "DividendYield": "1.54 %",
    "ROCE": "11.6 %",
    "ROE": "12.0 %",
    "FaceValue": "₹ 10.0"
  },
  "message": "Book fetched successfully",
  "statusCode": 200,
  "success": true
}