company_facts
Key XBRL financials for a company: revenue, net income, operating income, operating cash flow, EPS, assets, liabilities, equity, cash, shares outstanding. Each metric includes the XBRL tag, unit, latest annual and quarterly values, and history. Uses the freshest us-gaap or ifrs-full tags. Optional metrics subset. Data: SEC EDGAR public APIs, no API key. Missing XBRL and upstream errors are not charged. Costs $0.003 USDC per call via x402. Free sample: GET /v1/sample.
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>"
},
"name": "company_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | Yes | Ticker (AAPL, BRK.B), CIK (320193 or 0000320193) or company name | |
| metrics | No | Subset of metrics (default all): revenue, net_income, operating_income, operating_cash_flow, eps_basic, eps_diluted, total_assets, total_liabilities, stockholders_equity, cash, shares_outstanding | |
| annual_periods | No | Annual history length per metric (0-10, default 3) | |
| quarterly_periods | No | Quarterly history length per metric (0-12, default 4) |