xbrl_get_facts
Retrieve reported XBRL values for a company concept from 10-K and 10-Q filings, with exact periods, fiscal-year labels, restatement flags, and filters for period type and fiscal year.
Instructions
Reported values of one XBRL concept from the company's 10-K and 10-Q filings (SEC API). Each value has its exact period (start, end), period type (annual, quarter, ytd, instant), the company's own fiscal-year label, the filing it came from, and a restated flag. Values are in whole units ('display' shows the scale: 1577000000 USD is 1,577 million USD). Filter by fiscal_year and period. Returns values as first reported unless policy is 'latest'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company": "<company>",
"concept": "<concept>"
},
"name": "xbrl_get_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | annual, quarter, ytd (year to date), instant (balance sheet) or any. | |
| policy | No | Value as first reported (default) or the latest restatement. | |
| company | Yes | Company name, ticker or CIK. | |
| concept | Yes | Concept from xbrl_find_concepts, e.g. us-gaap:Revenues. | |
| fiscal_year | No | The company's own fiscal-year label. |