Skip to main content

company_facts

Compare reported company facts and fundamental data points.

Examples

from openbb import obb
obb.equity.compare.company_facts(provider='sec')
obb.equity.compare.company_facts(provider='sec', fact='PaymentsForRepurchaseOfCommonStock', year=2023)
obb.equity.compare.company_facts(provider='sec', symbol='NVDA,AAPL,AMZN,MSFT,GOOG,SMCI', fact='RevenueFromContractWithCustomerExcludingAssessedTax', year=2024)

Parameters

symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): sec.

fact: str
The fact to lookup, typically a GAAP-reporting measure. Choices vary by provider.


Returns

results: list[CompareCompanyFacts]

Serializable results.

provider: Optional[Literal['sec']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

symbol: str
Symbol representing the entity requested in the data.

name: str
Name of the entity.

value: float
The reported value of the fact or concept.

reported_date: date
The date when the report was filed.

period_beginning: date
The start date of the reporting period.

period_ending: date
The end date of the reporting period.

fiscal_year: int
The fiscal year.

fiscal_period: str
The fiscal period of the fiscal year.