Market Data

Get Company Stock Prices

Changed on

Retrieve paginated daily OHLCV (Open, High, Low, Close, Volume) stock price data for a specific company.

get/api/v3/companies/{company_id}/stock-prices

Request

  • Base URL
    https://app.daloopa.com
  • Auth
    HTTP basic

Path parameters

company_idinteger required

The unique identifier of the company.

Query parameters

adjustedboolean

Return adjusted prices when true; raw prices when false. Defaults to false. Adjusted prices restate history onto today's per-share scale (the forward-adjustment convention): OHLC are multiplied by the cumulative factor of every stock split, cash dividend (including specials), and the price effect of spinoffs and distributions with an ex-date after the row's date. Volume is adjusted only for share-count-changing splits and rounded to whole shares. Not provided: valuation of spun-off entities and reconstructed total-return series.

datesstring[]

Specific dates to retrieve data for, passed as repeated keys (?dates=2024-01-02&dates=2024-01-03), up to 100 per request. Mutually exclusive with start_date/end_date; one of dates or start_date is required.

end_datestring date

End date of the desired market data window (YYYY-MM-DD).

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return results.

start_datestring date

Start date of the desired market data window (YYYY-MM-DD). Required unless dates is provided.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes