Previous Day Bar (OHLC)

GET
/v2/aggs/ticker/{indicesTicker}/prev

Retrieve the previous trading day's open, high, low, and close (OHLC) data for a specified index ticker. This endpoint provides key pricing metrics, including volume, to help users assess recent performance and inform trading strategies.

Use Cases: Baseline comparison, technical analysis, market research, and daily reporting.

Path Parameters
indicesTicker
string
required
The ticker symbol of Index.
Response Attributes
ticker
string
The exchange symbol that this item is traded under.
queryCount
integer
The number of aggregates (minute or day) used to generate the response.
request_id
string
A request id assigned by the server.
resultsCount
integer
The total number of results for this request.
status
string
The status of this request's response.
results
array (object)
optional
An array of results containing the requested data.
c
number
The close value for the symbol in the given time period.
h
number
The highest value for the symbol in the given time period.
l
number
The lowest value for the symbol in the given time period.
o
number
The open value for the symbol in the given time period.
t
integer
The Unix millisecond timestamp for the start of the aggregate window.
Code Examples
Query URL
GET
Log in or Sign up to Polygon to run a query. It's free.
Scroll to see updated query response
Response Object
Did you find this page helpful?
Do you still need help with something?