Sec Insider

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

SEC Forms 3/4/5 — insider transactions, indexed so the question can be inverted.

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

insider_top_buyers

Stock purchases by a company's insiders and major holders, from SEC Form 4 — one buyer at one company, every buyer at one company, or the biggest buyers market-wide: "how much Occidental stock did Berkshire Hathaway buy in March", "insider buying at Pfizer this quarter", "which insiders bought the most stock recently", "largest insider purchase last month". Pass issuer (ticker or company name) and owner (a person or a firm, e.g. "Berkshire") to narrow it, since/until for the period, and group_by "owner" for one buyer's total across several filings. Officers, directors and 10% owners — incl…

ParameterTypeDescription
exclude_fundsbooleanDrop issuers that are funds reporting unitholders, not operating companies with real insiders (e.g. a BDC or interval fund). Best-effort name/security-type heuristic. Default false.
group_bystringHow to roll transactions up before ranking. "filing" (default): sum every row on the same Form 4 into one total — a filing often reports one decision as several price-band lines, and a price-band ro…
include_suspectbooleanInclude transactions whose price looks like a filer data-entry error (see the caveat). Default false — suspect rows are excluded from rankings.
issuerstringLimit to one issuer — ticker (e.g. "LEN") or SEC CIK. Substring match on issuer name also works.
limitnumberHow many to return (default 20, max 100).
min_value_usdnumberIgnore transactions below this dollar value.
ownerstringLimit to one insider — name substring (e.g. "Berkshire") or SEC CIK.
sincestringEarliest transaction date, ISO (YYYY-MM-DD). Defaults to the last 90 days of the loaded window.
untilstringLatest transaction date, ISO (YYYY-MM-DD).

insider_top_sellers

Stock sales by a company's insiders and major holders, from SEC Form 4 — one seller at one company, every seller at one company, or the biggest sellers market-wide: "how many Amazon shares did Jeff Bezos sell in July", "insider selling at Apple this year", "which insiders sold the most stock recently", "largest insider sale last month". Pass issuer (ticker or company name) and owner (a person or a firm) to narrow it, since/until for the period, and group_by "owner" for one seller's total across several filings. Officers, directors and 10% owners file a Form 4 within two business days of ever…

ParameterTypeDescription
exclude_fundsbooleanDrop issuers that are funds reporting unitholders, not operating companies with real insiders (e.g. a BDC or interval fund). Best-effort name/security-type heuristic. Default false.
group_bystringHow to roll transactions up before ranking. "filing" (default): sum every row on the same Form 4 into one total — a filing often reports one decision as several price-band lines, and a price-band ro…
include_suspectbooleanInclude transactions whose price looks like a filer data-entry error (see the caveat). Default false — suspect rows are excluded from rankings.
issuerstringLimit to one issuer — ticker (e.g. "LEN") or SEC CIK. Substring match on issuer name also works.
limitnumberHow many to return (default 20, max 100).
min_value_usdnumberIgnore transactions below this dollar value.
ownerstringLimit to one insider — name substring (e.g. "Berkshire") or SEC CIK.
sincestringEarliest transaction date, ISO (YYYY-MM-DD).
untilstringLatest transaction date, ISO (YYYY-MM-DD).

insider_coverage

Which SEC insider data is currently available: which quarterly releases are covered, how many filings, owners and transactions, and the date range of the transactions themselves. Call this to check how current the insider data is before relying on a ranking.