GET Company Fundamentals

Description

API to retrieve paginated fundamental datapoints for selected series and periods for a specific company.

Request Format

GET https://app.daloopa.com/api/v2/companies/fundamentals

Query Parameters

ItemData TypeRequiredDescription
company_idInteger✅ YesID of the company.
periodsList of Strings✅ YesList of periods to retrieve data for (e.g., ["2023Q4", "2022Q4"]). Limit of 5 per request.
series_idsList of Integers❌ NoList of series IDs to retrieve data for. Limit of 25 per request if set.
restatedBoolean❌ NoFilter by restated datapoints: true to include only restated, false to exclude them, or leave blank to include all.
limitInteger✅ YesNumber of records to be returned
offsetInteger✅YesNumber of rows to skip before the result set is returned

Example Request

Pulling AAPL (company_id=2) fundamentals data for 2024Q1 and 2024Q2 periods

curl --request GET \
  --url 'https://app.daloopa.com/api/v2/companies/fundamentals?company_id=2&periods=2024Q1&periods=2024Q2&limit=100&offset=100' \
  --header 'Accept: application/json' \
  --header 'Authorization: Basic APIKEY'

Response

Status : 200

Output: JSON

This is a paginated API that returns a list of objects in the results field. Each object represents metadata for a fundamental datapoint that matches the given query parameters.

Response Schema

Field NameData TypeDescription
countIntegerTotal number of matching fundamental results available
nextString (URL)URL to the next page of results, or null if on the last page
previousString (URL)URL to the previous page of results, or null if on the first page
resultsList of objectsList of fundamentals data

Schema for each fundamental record item on results:

ItemData TypeDescription
idintegerUnique identifier for a specific datapoint in the Daloopa database.
labelstringA short description of the datapoint, providing context about its content.
categorystringThe section or grouping under which the datapoint is categorized in the model (e.g., "Income Statement," "Guidance").
spanstringThe periodicity of the datapoint, indicating whether it is measured quarterly, annually (e.g., "Quarterly," "Annual").
calendar_periodstringThe calendar period for the datapoint, formatted as YYYYQ# for quarters (e.g., "2021Q2") or YYYYFY for fiscal years (e.g., "2020FY").
fiscal_periodstringThe fiscal period for the datapoint, formatted as YYYYQ# for quarters (e.g., "2021Q2") or YYYYFY for fiscal years (e.g., "2020FY").
fiscal_datedateThe date marking the end of the fiscal period for the datapoint.
unitstringThe unit of measurement for the datapoint (e.g., "billion," "million," "dollar," "percent").
filing_typestringThe type of regulatory filing from which the datapoint is sourced (e.g., "8-K," "10-Q").
value_rawfloatThe raw, unprocessed value of the datapoint as sourced.
value_normalizedfloatThe normalized value of the datapoint, adjusted to ensure consistency (e.g., converting annual values to quarterly).
series_idintegerThe unique identifier for the associated series in the Daloopa database.
filing_datedateThe date of the regulatory filing from which the datapoint is sourced.
restatedbooleanIndicates whether the datapoint has been restated (True or False).
titlestringThe full hierarchical context of the datapoint within the Daloopa datasheet (e.g., "KPIs | Customer Development | Internet Users | Technology Companies").
created_atdatetimeTimestamp indicating when the datapoint was originally created in the system.
updated_atdatetimeTimestamp showing the last time the datapoint was modified.
document_released_atdatetimeThe datetime when datapoint's document was ingested in our Database.