latestOpenAPI 3.0.32026-08-101461131.1 MB

ad6f143e43aa

stocks:open-close

Daily Open/Close

Get the open, close and afterhours prices of a stock symbol on a certain date.

get/v1/open-close/{stocksTicker}/{date}

Path parameters

stocksTickerstring required

Specify a case-sensitive ticker symbol. For example, AAPL represents Apple Inc.

datestring date required

The date of the requested open/close in the format YYYY-MM-DD.

Query parameters

adjustedboolean

Whether or not the results are adjusted for splits. By default, results are adjusted. Set this to false to get results that are NOT adjusted for splits.

Response

The open/close of this stock symbol.

afterHoursnumber double

The close price of the ticker symbol in after hours trading.

closenumber double required

The close price for the symbol in the given time period.

fromstring date required

The requested date.

highnumber double required

The highest price for the symbol in the given time period.

lownumber double required

The lowest price for the symbol in the given time period.

opennumber double required

The open price for the symbol in the given time period.

otcboolean

Whether or not this aggregate is for an OTC ticker. This field will be left off if false.

preMarketinteger

The open price of the ticker symbol in pre-market trading.

statusstring required

The status of this request's response.

symbolstring required

The exchange symbol that this item is traded under.

volumenumber double required

The trading volume of the symbol in the given time period.