Snapshots

GET {{baseUrl}}/v2/stocks/snapshots?symbols=AAPL,TSLA

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

Request Params

KeyDatatypeRequiredDescription
symbolsstring(Required) Comma separated list of symbols.
feedstringThe source feed of the data. sip contains all US exchanges, iex contains only the Investors Exchange. otc contains over the counter exchanges. Default: sip for the non-latest endpoints or if the user has the unlimited subscription, iex otherwise.
currencystringThe currency of all prices in ISO 4217 format. Default is USD.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"snapshots":{"AAPL":{"latestTrade":{"t":"2022-08-17T10:18:24.114694956Z","x":"Q","p":172.61,"s":160,"c":["@","T"],"i":1011,"z":"C"},"latestQuote":{"t":"2022-08-17T10:18:27.052763263Z","ax":"Q","ap":172.7,"as":5,"bx":"Q","bp":172.6,"bs":2,"c":["R"],"z":"C"},"minuteBar":{"t":"2022-08-17T10:16:00Z","o":172.69,"h":172.69,"l":172.69,"c":172.69,"v":106,"n":3,"vw":172.688113},"dailyBar":{"t":"2022-08-16T04:00:00Z","o":172.62,"h":173.71,"l":171.6618,"c":173.03,"v":56457696,"n":515139,"vw":172.743391},"prevDailyBar":{"t":"2022-08-15T04:00:00Z","o":171.5,"h":173.39,"l":171.345,"c":173.19,"v":54091719,"n":501626,"vw":172.625371}},"TSLA":{"latestTrade":{"t":"2022-08-17T10:13:12.952851456Z","x":"P","p":911.99,"s":100,"c":["@","T"],"i":2047,"z":"C"},"latestQuote":{"t":"2022-08-17T10:18:23.84717767Z","ax":"P","ap":911.75,"as":4,"bx":"Q","bp":911.31,"bs":1,"c":["R"],"z":"C"},"minuteBar":{"t":"2022-08-17T10:13:00Z","o":911.99,"h":911.99,"l":911.99,"c":911.99,"v":740,"n":64,"vw":911.780405},"dailyBar":{"t":"2022-08-16T04:00:00Z","o":935,"h":944,"l":908.65,"c":919.69,"v":29378774,"n":805572,"vw":925.215087},"prevDailyBar":{"t":"2022-08-15T04:00:00Z","o":905.32,"h":939.4,"l":903.69,"c":927.96,"v":29786389,"n":825109,"vw":923.982755}}}}