{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/finance-dev/json-schema/finance-dev-stock-snapshots-response-schema.json",
  "title": "StockSnapshotsResponse",
  "description": "Market snapshots for a set of stock tickers, including the current day aggregate, last quote, last trade, latest minute aggregate and previous day aggregate.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/finance-dev-openapi.json#/components/schemas/StockSnapshotsResponse",
  "properties": {
    "count": {
      "description": "Number of tickers returned",
      "type": "integer"
    },
    "status": {
      "description": "Status string from the upstream data provider — typically `OK` for a successful response. Treat any other value as an error indicator alongside the HTTP status code.",
      "type": "string"
    },
    "tickers": {
      "description": "Array of ticker snapshots",
      "items": {
        "properties": {
          "day": {
            "description": "Current day aggregate",
            "properties": {
              "close": {
                "description": "Close price",
                "type": "number"
              },
              "high": {
                "description": "High price",
                "type": "number"
              },
              "low": {
                "description": "Low price",
                "type": "number"
              },
              "open": {
                "description": "Open price",
                "type": "number"
              },
              "volume": {
                "description": "Volume",
                "type": "number"
              },
              "vwap": {
                "description": "VWAP",
                "type": "number"
              }
            },
            "type": "object"
          },
          "lastQuote": {
            "description": "Last quote information",
            "properties": {
              "askPrice": {
                "description": "Ask price of the last quote.",
                "type": "number"
              },
              "askSize": {
                "description": "Ask size of the last quote.",
                "type": "integer"
              },
              "bidPrice": {
                "description": "Bid price of the last quote.",
                "type": "number"
              },
              "bidSize": {
                "description": "Bid size of the last quote.",
                "type": "integer"
              },
              "timestamp": {
                "description": "Timestamp of the last quote as an integer from the upstream provider.",
                "format": "int64",
                "type": "integer"
              }
            },
            "type": "object"
          },
          "lastTrade": {
            "description": "Last trade information",
            "properties": {
              "conditions": {
                "description": "Provider-defined numeric condition codes attached to the last trade.",
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              "exchangeId": {
                "description": "Numeric identifier of the exchange where the last trade occurred.",
                "type": "integer"
              },
              "price": {
                "description": "Price of the last trade.",
                "type": "number"
              },
              "size": {
                "description": "Size of the last trade.",
                "type": "integer"
              },
              "timestamp": {
                "description": "Timestamp of the last trade as an integer from the upstream provider.",
                "format": "int64",
                "type": "integer"
              },
              "tradeId": {
                "description": "Identifier of the last trade.",
                "type": "string"
              }
            },
            "type": "object"
          },
          "min": {
            "description": "Latest minute aggregate",
            "properties": {
              "accumulatedVolume": {
                "description": "Accumulated volume for the trading day up to this minute bar.",
                "type": "integer"
              },
              "close": {
                "description": "Close price of the latest minute bar.",
                "type": "number"
              },
              "high": {
                "description": "High price of the latest minute bar.",
                "type": "number"
              },
              "low": {
                "description": "Low price of the latest minute bar.",
                "type": "number"
              },
              "numberOfTrades": {
                "description": "Number of trades in the latest minute bar.",
                "type": "integer"
              },
              "open": {
                "description": "Open price of the latest minute bar.",
                "type": "number"
              },
              "timestamp": {
                "description": "Timestamp of the latest minute bar as an integer from the upstream provider.",
                "type": "integer"
              },
              "volume": {
                "description": "Trading volume in the latest minute bar.",
                "type": "integer"
              },
              "vwap": {
                "description": "Volume-weighted average price of the latest minute bar.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "prevDay": {
            "description": "Previous day aggregate",
            "properties": {
              "close": {
                "description": "Close price of the previous trading day.",
                "type": "number"
              },
              "high": {
                "description": "High price of the previous trading day.",
                "type": "number"
              },
              "low": {
                "description": "Low price of the previous trading day.",
                "type": "number"
              },
              "open": {
                "description": "Open price of the previous trading day.",
                "type": "number"
              },
              "volume": {
                "description": "Trading volume of the previous trading day.",
                "type": "integer"
              },
              "vwap": {
                "description": "Volume-weighted average price of the previous trading day.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "ticker": {
            "description": "Ticker symbol",
            "type": "string"
          },
          "todaysChange": {
            "description": "Today's change",
            "type": "number"
          },
          "todaysChangePerc": {
            "description": "Today's change percent",
            "type": "number"
          },
          "updated": {
            "description": "Last updated timestamp",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}