Public companies / companies.financial-history
Full financial history: every fiscal year reported in XBRL
Income statement, balance sheet and cash flow for every fiscal year a company has reported in XBRL, usually 2009 onward, on up to 61 standard line items, plus the last 40 quarters of key income and balance sheet lines. Restated values are preferred. One call replaces reading fifteen annual reports.
API CONTRACTGET / x402
/v1/companies/:company/financial-historyParameters
| Parameter | Location | Description | Example |
|---|---|---|---|
company | path | Stock ticker such as AAPL, or the SEC CIK number such as 320193 | AAPL |
Limited response preview
Illustrative, deliberately bounded sample. The complete response requires payment.
{
"meta": {
"preview": true,
"endpoint": "companies.financial-history"
},
"data": "Omitted from public preview"
}Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"cik": {
"type": "integer"
},
"name": {
"type": "string"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"units": {
"type": "object",
"properties": {
"money": {
"type": "string"
},
"shares": {
"type": "string"
},
"per_share": {
"type": "string"
}
}
},
"annual": {
"type": "object",
"properties": {
"cash_flow": {
"type": "object",
"properties": {
"dividends_paid": {
"type": "array",
"items": {}
},
"share_repurchases": {
"type": "array",
"items": {}
},
"cash_from_financing": {
"type": "array",
"items": {
"type": "integer"
}
},
"cash_from_investing": {
"type": "array",
"items": {
"type": "integer"
}
},
"capital_expenditures": {
"type": "array",
"items": {}
},
"cash_from_operations": {
"type": "array",
"items": {
"type": "integer"
}
},
"share_based_compensation": {
"type": "array",
"items": {
"type": "integer"
}
},
"depreciation_and_amortization": {
"type": "array",
"items": {}
}
}
},
"balance_sheet": {
"type": "object",
"properties": {
"goodwill": {
"type": "array",
"items": {}
},
"inventory": {
"type": "array",
"items": {}
},
"total_assets": {
"type": "array",
"items": {}
},
"current_assets": {
"type": "array",
"items": {}
},
"long_term_debt": {
"type": "array",
"items": {}
},
"accounts_payable": {
"type": "array",
"items": {}
},
"retained_earnings": {
"type": "array",
"items": {}
},
"total_liabilities": {
"type": "array",
"items": {}
},
"shares_outstanding": {
"type": "array",
"items": {}
},
"accounts_receivable": {
"type": "array",
"items": {}
},
"current_liabilities": {
"type": "array",
"items": {}
},
"stockholders_equity": {
"type": "array",
"items": {
"type": "integer"
}
},
"cash_and_equivalents": {
"type": "array",
"items": {
"type": "integer"
}
},
"liabilities_and_equity": {
"type": "array",
"items": {}
},
"long_term_debt_current": {
"type": "array",
"items": {}
},
"deferred_revenue_current": {
"type": "array",
"items": {}
},
"cash_including_restricted": {
"type": "array",
"items": {}
},
"long_term_debt_noncurrent": {
"type": "array",
"items": {}
},
"operating_lease_liability": {
"type": "array",
"items": {}
},
"property_plant_and_equipment_net": {
"type": "array",
"items": {}
},
"intangible_assets_excluding_goodwill": {
"type": "array",
"items": {}
}
}
},
"fiscal_year_ends": {
"type": "array",
"items": {
"type": "string"
}
},
"income_statement": {
"type": "object",
"properties": {
"revenue": {
"type": "array",
"items": {
"type": "integer"
}
},
"eps_basic": {
"type": "array",
"items": {
"type": "number"
}
},
"net_income": {
"type": "array",
"items": {
"type": "integer"
}
},
"eps_diluted": {
"type": "array",
"items": {
"type": "number"
}
},
"gross_profit": {
"type": "array",
"items": {
"type": "integer"
}
},
"pretax_income": {
"type": "array",
"items": {}
},
"cost_of_revenue": {
"type": "array",
"items": {
"type": "integer"
}
},
"interest_expense": {
"type": "array",
"items": {}
},
"operating_income": {
"type": "array",
"items": {
"type": "integer"
}
},
"income_tax_expense": {
"type": "array",
"items": {
"type": "integer"
}
},
"operating_expenses": {
"type": "array",
"items": {
"type": "integer"
}
},
"research_and_development": {
"type": "array",
"items": {
"type": "integer"
}
},
"dividends_declared_per_share": {
"type": "array",
"items": {}
},
"weighted_average_shares_basic": {
"type": "array",
"items": {
"type": "integer"
}
},
"weighted_average_shares_diluted": {
"type": "array",
"items": {
"type": "integer"
}
},
"selling_general_and_administrative": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}
},
"ticker": {
"type": "string"
},
"currency": {
"type": "string"
},
"quarterly": {
"type": "object",
"properties": {
"period_ends": {
"type": "array",
"items": {
"type": "string"
}
},
"balance_sheet": {
"type": "object",
"properties": {
"total_assets": {
"type": "array",
"items": {
"type": "integer"
}
},
"long_term_debt": {
"type": "array",
"items": {}
},
"total_liabilities": {
"type": "array",
"items": {
"type": "integer"
}
},
"shares_outstanding": {
"type": "array",
"items": {
"type": "integer"
}
},
"stockholders_equity": {
"type": "array",
"items": {
"type": "integer"
}
},
"cash_and_equivalents": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"income_statement": {
"type": "object",
"properties": {
"revenue": {
"type": "array",
"items": {
"type": "integer"
}
},
"net_income": {
"type": "array",
"items": {
"type": "integer"
}
},
"eps_diluted": {
"type": "array",
"items": {
"type": "number"
}
},
"gross_profit": {
"type": "array",
"items": {
"type": "integer"
}
},
"operating_income": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}
}
}
},
"meta": {
"type": "object",
"properties": {
"endpoint": {
"type": "string"
},
"as_of": {
"type": [
"string",
"null"
],
"description": "Date the underlying data is current to."
},
"updated_at": {
"type": [
"string",
"null"
],
"description": "When the stored record was last refreshed. Null in illustrative previews, which make no freshness claim."
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"preview": {
"type": "boolean",
"description": "True only for illustrative discovery examples. Paid responses carry actual record metadata."
}
},
"required": [
"endpoint",
"updated_at",
"sources"
]
}
},
"required": [
"data",
"meta"
]
}