Latest bar (single symbol)
GET {{baseUrl}}/v2/stocks/:symbol/bars/latest
The latest stock bars endpoint returns the latest minute-aggregated historical bar for the requested security.
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
{"bar":{"t":"2022-08-17T09:07:00Z","o":172.98,"h":173.04,"l":172.98,"c":173,"v":2748,"n":49,"vw":173.007817},"symbol":"AAPL"}