One reported line by label and period
line_itemFind one line of a company's own reporting by its name and period, when the standardized statements do not carry it: detail lines of the income statement, balance sheet and cash flow statement (for example interest expense on debt, deferred revenue, purchases of intangibles), segment and geographic figures, company-defined metrics and the company's own guidance. label is matched by words against XBRL tag names, segment members, metric names and guidance metrics; no model is used. Give period_end, or fiscal_year with fiscal_period (FY, Q1 to Q4); without a period each line answers with its newest value. dataset narrows the search to as_reported, segment, kpi or guidance. original true returns the first-reported figure instead of the latest filed. Each item carries its dataset, the label matched, a score (1 = the label is the whole name) and a value with its proof. Check the label and score before you repeat a number, and name the line as the company tagged it. Lines a filer tagged with its own extension tag are not held; an empty answer means not found here, not zero.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"label": "interest expense",
"company": "ticker:AAPL",
"fiscal_year": 2024
},
"name": "line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Knowledge date or timestamp (YYYY-MM-DD or RFC 3339). The answer is what FinancialMD knew at that instant: only facts whose known interval contains as_of. Omit for the current view. | |
| label | Yes | The line as a report would name it, for example "interest expense" or "cloud revenue". | |
| limit | No | Items to return, best match first; default 10. | |
| company | Yes | Company identifier: a FinancialMD id ("fmd_01H..."), an SEC CIK ("cik:320193"), or a ticker ("ticker:AAPL", optionally with the MIC "ticker:AAPL.XNAS"). A bare ticker like "AAPL" is accepted and sent as ticker:AAPL. An issuer on an EU or UK regulated market that does not file with the SEC has no CIK: pass its LEI ("lei:IOG4E947OATN0KJYSD45") or its fmd_ id. | |
| dataset | No | Comma-separated: as_reported, segment, kpi, guidance. Default all four. | |
| original | No | true = the first-reported figure; default the latest filed. | |
| period_end | No | Period end date; a few days of slack cover 52/53-week years (YYYY-MM-DD). | |
| fiscal_year | No | Fiscal year as the company numbers it; use with fiscal_period, not with period_end. | |
| period_type | No | Length of the period; default annual for FY and quarterly for a fiscal quarter. | |
| fiscal_period | No | Default FY when fiscal_year is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | { query { q, words, period_end, fiscal_year, fiscal_period, period_type, datasets, original }, items: [{ dataset, label, score, period_end, period_start, tag, standardized_as, value: value object with proof (as_reported and segment) | metric fields with value (kpi) | low, mid, high with source sentence (guidance) }], matched, next_cursor, note } | |
| meta | No | Request metadata: request_id, as_of, company resolution, coverage, pipeline_version, licence, terms, proof_base. | |
| error | No | Present only on isError results: the API error code and message plus remedy hints. |