Sec Beneficial Ownership

v0.2.1
io.github.pipeworx-io/sec-beneficial-ownership Checked 2 days ago Published 29 days ago

SEC Schedule 13D / 13G — structured beneficial-ownership filings.

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

sec_13d_filings

List Schedule 13D / 13G beneficial-ownership filings (and their amendments, 13D/A and 13G/A) for one issuer — AUTHORITATIVE source for "who owns 5%+ of $TICKER" and "has an activist filed a 13D on this company". Takes a ticker or company name (auto-resolved to CIK) or a CIK directly. Each row flags `structured: true/false` — filings from SEC's 2024 XML rule onward are structured and feed straight into sec_13d_filing; older ones are plain text/HTML only. Use sec_13d_filing on any accession_number returned here to get the actual reporting-owner data (percent of class, voting power, purpose).

ParameterTypeDescription
cikstringAlias for ticker_or_cik.
form_typestringFilter to one form family. "13D" / "13G" exclude amendments; "13D/A" / "13G/A" are amendments only. Default "all".
limitnumberMax rows to return (1-40, default 20).
tickerstringAlias for ticker_or_cik.
ticker_or_cikstringStock ticker ("GME"), company name ("GameStop"), or SEC CIK, of the ISSUER whose beneficial-ownership filings to list.

sec_13d_filing

Parse ONE Schedule 13D or 13G filing by issuer + accession_number (get the accession_number from sec_13d_filings). Returns every reporting owner (the "group members") with percent of class, sole/shared voting power, sole/shared dispositive power, and aggregate shares owned; for Schedule 13D, also Item 4 — the free-text "Purpose of Transaction", which is where an activist states its intent (board seats, a merger, liquidation, or "no plans"). Filings from before SEC's 2024 structured-XML rule have no machine-readable fields — this returns `structured: false` plus the bounded plain text of th…

ParameterTypeDescription
accession_number *stringThe filing's SEC accession number, e.g. "0001104659-25-086308" (dashes optional). From sec_13d_filings.
cikstringAlias for ticker_or_cik.
tickerstringAlias for ticker_or_cik.
ticker_or_cikstringTicker, company name, or CIK of the ISSUER the filing is about (same value you passed to sec_13d_filings).

sec_13d_amendment_diff

Given one 13D/A or 13G/A amendment (issuer + accession_number), find the SAME reporting group's prior filing in the chain and diff what changed: percent of class, aggregate shares owned, sole/shared voting & dispositive power (per reporting owner, matched by CIK or name), and — for 13D — whether the Item 4 purpose text changed. Walks back through the issuer's filing history (bounded, never a bulk crawl) matching on reporting-owner identity, since EDGAR does not carry an explicit "previous accession" link for this form family. Reports `prior_filing_found: false` honestly if no matching prio…

ParameterTypeDescription
accession_number *stringAccession number of the AMENDMENT (13D/A or 13G/A) to diff against its predecessor. Also accepts an original 13D/13G, in which case there is by definition no prior filing.
cikstringAlias for ticker_or_cik.
tickerstringAlias for ticker_or_cik.
ticker_or_cikstringTicker, company name, or CIK of the ISSUER.