Closing Prices

API TraderAPI QuantAPI Developer

Daily open, high, low and close prices with traded volume for a listed equity — the foundation for backtests, technical indicators and your own return calculations. One row is returned per trading day in your requested window.

The ticker in the path names the listing that held it on from_date (or to_date when from_date is omitted), so a reused or renamed ticker returns the instrument that traded under it in your window. The envelope's instrument block says which listing that is.

Prices and volume are restated into today's terms by default, so a price from before a split is directly comparable with a current one. Pass split_adjusted=false to receive them as they actually traded on the day.

Volume is the requested listing's own by default. Pass volume_from_all_exchanges=true for the total traded across every listing of the same security; prices always come from the requested listing.

Available Data Points:

  • Date: The trading date. (YYYY-MM-DD format).
  • Open: The first traded price of the day.
  • High: The highest price reached during the day.
  • Low: The lowest price reached during the day.
  • Close: The closing price.
  • Volume: The number of shares traded.
  • Currency: ISO code of the trading currency the prices are quoted in.

Try it out! You can test the API with the trial key TEST. Simply include it in your request headers; either here, or add the header "Ortex-Api-Key": "TEST" to your http request.

Trial key restrictions: Trial keys may be limited to a specific date range and set of regions. Requests outside the allowed regions or entirely outside the allowed date range are rejected; a date window that partially overlaps the allowed range is trimmed to it, reported in meta.restriction.

Get full access! Get a key at app.ortex.com/apis

Path Params
string
required

Where to find the instrument: a venue (exchange symbol, MIC or ISO-2 country) or an identifier scheme (tid, sid, cid, isin, figi). See Identifying an instrument.

string
required

The ticker on that venue, or the value in that scheme. An ISIN, sid, cid or share-class FIGI answers for the main listing only; reference/listings lists the others. See Identifying an instrument.

Query Params
date
required

Inclusive start of the returned date window. Format: YYYY-MM-DD.

Also selects the instrument: the ticker resolves to the listing that held it on the exchange in the URL path on this date. To retrieve a delisted or renamed company, use its former exchange and ticker with a from_date from when it was listed. An identifier path (/stock/isin|figi|sid|cid/<value>/…) resolves at this date too. The instrument block in the response names the company the data belongs to.

date

Inclusive end of the returned date window (defaults to today). Format: YYYY-MM-DD.

boolean
Defaults to true

Whether share counts — and, on the closing-prices endpoints, prices and volumes — are adjusted to today's terms (default) or returned as-was on the data date. Pass false for unadjusted (as-was) values.

boolean
Defaults to false

Whether volume is the total traded across every listing of the security (true) or on the requested listing only (false, the default). Prices always come from the requested listing.

integer

Page number within the paginated result set. Must be >= 1. Defaults to 1.

integer

Number of rows per page. The default and the maximum allowed depend on the API tier; a value above the tier maximum is rejected with 400 invalidPageSize.

string
enum
Defaults to json

Response format. "json" (default) or "csv".

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/csv