Get SEC XBRL financial facts
sec_xbrl_financialsQuery official audited US-GAAP XBRL financial facts from data.sec.gov for a company by ticker or CIK. Supports preset metrics ("summary", "revenue", "net_income", "operating_income", "assets", "liabilities", "cash", "stockholders_equity", "eps_diluted") or any custom US-GAAP concept tag across annual 10-K or quarterly 10-Q filings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sec_xbrl_financials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cik | No | SEC CIK number (e.g. "0000320193"). Provide cik or ticker. | |
| form | No | Filing form filter: "10-K" (annual), "10-Q" (quarterly), or "all". Default "10-K". | |
| metric | No | Preset financial metric or "summary" for a full income statement and balance sheet snapshot. Default "summary". | |
| ticker | No | Stock ticker symbol (e.g. "AAPL", "MSFT"). Provide ticker or cik. | |
| concept | No | Optional custom US-GAAP XBRL tag (e.g. "LongTermDebt", "ResearchAndDevelopmentExpense"). Overrides metric if provided. | |
| periods | No | Number of recent periods to return (1 to 20). Default 5. |