v1

latestOpenAPI 3.0.02026-07-26166415635.8 KB
Stock

Snapshot (single symbol)

The snapshot endpoint provides the latest trade, latest quote, minute bar, daily bar, and previous daily bar data for a given ticker symbol.

get/v2/stocks/{symbol}/snapshot

Path parameters

symbolstring required

The symbol to query.

Query parameters

feed'delayed_sip' | 'iex' | 'otc' | 'sip' | 'boats' | 'overnight'

The source feed of the data.

  • sip: all US exchanges
  • iex: Investors EXchange
  • delayed_sip: SIP with a 15 minute delay
  • boats: Blue Ocean, overnight US trading data
  • overnight: derived overnight US trading data
  • otc: over-the-counter exchanges

Default: sip if the user has the unlimited subscription, otherwise iex.

currencystring

The currency of all prices in ISO 4217 format. Default: USD.

Response

OK

currencystring
symbolstring

Example response

{
  "dailyBar": {
    "c": 178.08,
    "h": 178.34,
    "l": 177.76,
    "n": 1727,
    "o": 178.26,
    "t": "2022-01-03T09:00:00Z",
    "v": 60937,
    "vw": 177.954244
  },
  "latestQuote": {
    "ap": 387.7,
    "as": 1,
    "ax": "C",
    "bp": 387.67,
    "bs": 1,
    "bx": "N",
    "c": [
      "R"
    ],
    "t": "2021-02-06T13:35:08.946977536Z",
    "z": "C"
  },
  "latestTrade": {
    "c": [
      "@",
      "T"
    ],
    "i": 1,
    "p": 178.26,
    "s": 246,
    "t": "2022-01-03T09:00:00.086175744Z",
    "x": "P",
    "z": "C"
  },
  "minuteBar": {
    "c": 178.08,
    "h": 178.34,
    "l": 177.76,
    "n": 1727,
    "o": 178.26,
    "t": "2022-01-03T09:00:00Z",
    "v": 60937,
    "vw": 177.954244
  },
  "prevDailyBar": {
    "c": 178.08,
    "h": 178.34,
    "l": 177.76,
    "n": 1727,
    "o": 178.26,
    "t": "2022-01-03T09:00:00Z",
    "v": 60937,
    "vw": 177.954244
  }
}