Latest bars
GET {{baseUrl}}/v2/stocks/bars/latest?symbols=AAPL,TSLA
The latest multi bars endpoint returns the latest minute-aggregated historical bar data for the ticker symbols provided.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
symbols | string | (Required) Comma separated list of symbols. | |
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
{"bars":{"TSLA":{"t":"2022-08-17T08:57:00Z","o":914.3,"h":914.3,"l":914.3,"c":914.3,"v":751,"n":20,"vw":914.294634},"AAPL":{"t":"2022-08-17T08:58:00Z","o":172.81,"h":172.81,"l":172.78,"c":172.79,"v":1002,"n":20,"vw":172.791417}}}