Insider trades (Form 4)
get_insider_tradesInsider transactions from SEC Form 4 filings (coverage starts July 2021; updated daily). One row per filing and transaction type: same-day lots are combined, avg_price_usd is value-weighted, value_usd is the USD total, shares_owned_after is the holding after the last lot, ownership_change_pct is the change in the insider's holding in percent (null = new position or not computable). Filter by ticker, insider_cik, filing-date range, codes, the primary insider's role and minimum value. Without ticker or insider_cik the query is market-wide and limited to 30 days of filings (default: last 7 days). Codes: P = open-market or private purchase, S = sale, A = grant or award, D = disposition to the issuer, F = shares withheld for taxes, G = gift, M = option exercise under a company plan, X = in-the-money exercise, C = conversion, W = inheritance, J = other. Default codes P and S. Dates are YYYY-MM-DD; filed_at is ISO 8601 UTC and filed_date its US Eastern date; backfilled filings may only have the date (filed_at at midnight Eastern). price_outlier is true when the reported price or value is not reliable (a typo, a wrong unit or a foreign company's home-market shares priced in local currency instead of US dollars); avg_price_usd and value_usd are then as filed, and the site leaves these rows out of rankings and totals. carried_from is set on rows that a Form 4/A carried over from the original filing: an amendment that restates only some lines leaves the original's other transactions standing, so they are listed under the amendment's accession (amendment true), with the original's accession in carried_from and the original's filed_at and sec_url; it is null otherwise. rule_10b5_1 is null for filings before 2023. Each row links to livermore.club (url) and the SEC filing that reports the transaction (sec_url). At most 200 rows per call; use page for more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest SEC filing date, YYYY-MM-DD, inclusive. | |
| from | No | Earliest SEC filing date, YYYY-MM-DD (US Eastern). | |
| page | No | Page number starting at 1; each page has `limit` rows. Check has_more. | |
| sort | No | filed = newest filing first (default); trade_date = most recent trade date first; value = largest USD value first (rows flagged as price outliers or duplicate filings are left out). | filed |
| codes | No | Form 4 transaction codes to include, e.g. ["P"] for purchases only, or "all". Default ["P","S"] (open-market purchases and sales). | |
| limit | No | Maximum rows to return (1-200, default 25). | |
| roles | No | Keep rows whose primary reporting owner has any of these roles: ceo, cfo, director, officer, owner10 (10% owner). Empty = any role. | |
| ticker | No | Only this company's filings (all share classes of the issuer), e.g. AAPL or BRK.B. | |
| insider_cik | No | Only filings on which this insider (reporting owner) appears, across all companies. Get the CIK from search. | |
| min_value_usd | No | Minimum transaction value in USD (rows without a price are then excluded). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| note | Yes | ||
| page | Yes | ||
| rows | Yes | ||
| limit | Yes | ||
| scope | Yes | ||
| stock | Yes | ||
| filters | Yes | ||
| insider | Yes | ||
| has_more | Yes |