Snapshot (single symbol)
GET {{baseUrl}}/v2/stocks/:symbol/snapshot
The snapshot endpoint provides the latest trade, latest quote, minute bar daily bar, and previous daily bar data for a given ticker symbol.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
feed | string | The 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. | |
currency | string | The currency of all prices in ISO 4217 format. Default is USD. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"snapshot":{"symbol":"AAPL","latestTrade":{"t":"2022-08-17T10:19:30.735811394Z","x":"Q","p":172.55,"s":229,"c":["@","T"],"i":1040,"z":"C"},"latestQuote":{"t":"2022-08-17T10:19:30.805564086Z","ax":"Q","ap":172.65,"as":1,"bx":"P","bp":172.51,"bs":1,"c":["R"],"z":"C"},"minuteBar":{"t":"2022-08-17T10:18:00Z","o":172.65,"h":172.65,"l":172.6,"c":172.6,"v":3746,"n":57,"vw":172.618377},"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}}}