Daily, weekly or monthly closing prices for one company next to the S&P 500 (SPY)

Daily, weekly or monthly closing prices for one company next to the S&P 500 (SPY). The rows are the points; meta holds the period's change, high, low and drawdown. About two years of history are stored. Not paginated.

get/api/v1/prices/{ticker}

Request

  • Base URL: https://oqro.io
  • URL: https://oqro.io/api/v1/prices/{ticker}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

tickerstring required

A covered US ticker, for example AAPL.

Query parameters

daysinteger

Look back this many calendar days. 5 to 750, default 365.

intervalstring

daily, weekly or monthly. Default: daily up to 120 days, weekly up to 400, monthly beyond.

include_sp500boolean

Add the S&P 500 close to each point and its change over the period. Default true.

Response

JSON: { data, pagination?, meta? }. Every row links its official source.

dataunknown required
paginationobject
metaobject

Changes

No recorded changes to this operation across all 1 revision of this API.