get_fact
Retrieve normalized financial values like revenue or total assets for an entity and fiscal year using standardized Hub-Equity concept codes; errors if no data served.
Instructions
Get a normalized financial value for an entity at a given period.
hub_concept_code is a Hub-Equity standardized code (e.g. 'REVENUE',
'NET_INCOME', 'TOTAL_ASSETS', 'OTHER_CURRENT_LIABILITIES'). Use
search_concept first if you don't know the code.
fiscal_period_type defaults to FY; the served values are annual, and
another period type is refused with an error.
When nothing is served for that combination, the call returns an error result that says so: never fill the gap with an estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| fiscal_year | Yes | ||
| hub_concept_code | Yes | ||
| fiscal_period_type | No | FY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |