Stock

Description: Displays real-time stock market information and trading data for specific companies.

API Response Structure:

{
  "stock": {
    "symbol": "AAPL",
    "company": "Apple Inc.",
    "price": {
      "current": "150.25",
      "change": "+2.50",
      "percentChange": "+1.69%",
      "currency": "USD",
      "lastUpdated": "2023-08-15T16:00:00Z"
    },
    "trading": {
      "volume": "52.3M",
      "avgVolume": "65.1M",
      "dayRange": {
        "low": "148.75",
        "high": "151.20"
      },
      "yearRange": {
        "low": "124.17",
        "high": "178.49"
      }
    }
  },
  "marketData": {
    "marketCap": "2.45T",
    "peRatio": "25.6",
    "dividend": {
      "yield": "0.65%",
      "amount": "0.96"
    }
  },
  "type": "stock"
}

Fields:

  • stock (object): Stock information

    • symbol (string): Stock ticker

    • company (string): Company name

    • price (object): Price information

    • trading (object): Trading metrics

  • marketData (object): Financial metrics

  • type (string): Always "stock"