Sec Financial Statements

v0.2.1
io.github.pipeworx-io/sec-financial-statements Checked 1 day ago Published 27 days ago

SEC Financial Statement & Notes data sets — dimensional facts + note text.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

company_financial_facts

Dimensioned XBRL facts for one filer — segment, geography or other axis breakdowns that data.sec.gov companyfacts/frames cannot return (those APIs expose undimensioned consolidated totals only). Give a company name (ILIKE match) or a CIK; optionally narrow to one tag (e.g. "Revenues", "LongTermDebtNoncurrent"). Returns each fact's period, value, unit, and — for a dimensioned fact — the segment/member axis it belongs to. Sourced from SEC DERA Financial Statement & Notes data sets, covering only the periods actually loaded (see fsn_coverage).

ParameterTypeDescription
cikstringSEC CIK, with or without leading zeros. Takes priority over company if both are given.
companystringCompany name, matched with ILIKE (e.g. "Flutter Entertainment"). Omit if passing cik.
limitnumberMax facts to return, 1-500 (default 100).
tagstringExact XBRL tag name to filter to, e.g. "DerivativeNotionalAmount" (case-sensitive).

tag_cross_company_screen

Rank every filer in a loaded period by their reported value for ONE XBRL tag — the inverse of a per-company lookup, e.g. "who reported the highest AccountsPayableCurrent this quarter". Give the exact tag name and (usually) a period-end date (ddate, YYYYMMDD). Set dimensioned_only=true to see only segment/geography-level breakdowns rather than consolidated totals.

ParameterTypeDescription
tag *stringExact XBRL tag name, e.g. "Revenues" (case-sensitive).
ddatestringPeriod-end date, YYYYMMDD (e.g. "20260630"). Omit to rank across all loaded periods for this tag.
dimensioned_onlybooleantrue to return only segment/geography-dimensioned rows, skipping consolidated totals.
limitnumberMax filers to return, 1-500 (default 50).
versionstringOptional taxonomy version, e.g. "us-gaap/2026". Omit to match any version.

fsn_coverage

Which SEC Financial Statement & Notes periods are currently covered, and how many submissions/facts/note blocks each holds. Call this first if a lookup returns nothing, to confirm whether the period you need is actually covered.