Introducing the Wiley x Valyu HLS Startup Program
Valyu
Two senior executives in tailored coats stand in quiet conversation beside floor-to-ceiling windows in a corporate headquarters hallway at late afternoon, one holding a folded document and pen.
Tutorial

Form 4 SEC Filings: How to Track Insider Buying and Selling

Prosper
Share this article

On this page
TL;DR
  • The two-business-day insider disclosure: Under Section 16(a) of the Exchange Act, executive officers, directors, and greater-than-10% shareholders of US public companies must disclose stock purchases, sales, grants, gifts, and option exercises on Form 4 within two business days.
  • Open-market buys carry different weight than routine sales: Insiders sell stock for taxes, diversification, and pre-scheduled Rule 10b5-1 trading plans, whereas open-market cash purchases (P) put personal capital at risk, especially when multiple executives and directors buy together.
  • Structured Form 4 records through one SDK call: Raw Form 4 XML does not live inside valyu/valyu-sec-filings. Instead, Valyu serves structured insider trading records through valyu/valyu-insider-transactions-US, returning clean arrays of insider names, titles, dates, direct-versus-indirect flags, shares, dollar values, and transaction descriptions.
  • Filter out compensation-calendar noise first: Derivative conversions (M), equity grants (A), stock gifts (G), tax withholdings (F), and pre-scheduled sales routinely dominate raw share volume. Classifying each row by transaction description separates genuine open-market buying from routine compensation mechanics.
  • Pair insider trades with broader SEC filings in DeepResearch: Combine valyu/valyu-insider-transactions-US with valyu/valyu-sec-filings to tie insider purchases directly to recent 10-Q results, 8-K announcements, and Item 5 Rule 10b5-1 plan disclosures in one cited briefing.

If you're an agent: Set up Valyu and make your first search.

If you're a human: Create an account and get an API key.

MCP onboarding: Connect your agent to https://mcp.valyu.ai/mcp and follow the MCP setup guide for authentication.

What is a Form 4 SEC filing?

Form 4 is the SEC Statement of Changes in Beneficial Ownership that corporate insiders must file whenever their stake in a US public company changes. Under Section 16(a) of the Securities Exchange Act, three groups count as reporting insiders: executive officers, board directors, and beneficial owners of more than 10% of any registered class of equity securities. In most cases, the insider must submit Form 4 electronically on EDGAR within two business days after the transaction date.

Because Section 16 insiders see order books, clinical readouts, and margin trends before quarterly earnings arrive, Form 4 is the closest thing public markets have to a real-time ledger of executive conviction. Reading one properly requires understanding four parts of the filing (detailed in the SEC's official Form 4 template and instructions):

  • Table I (Non-Derivative Securities): Records changes in common stock and other direct equity shares, including the transaction date, transaction code, share count, price per share, and total shares beneficially owned after the trade.
  • Table II (Derivative Securities): Records stock options, restricted stock units (RSUs), warrants, and convertible securities, alongside exercise prices, conversion ratios, and expiration dates.
  • Direct (D) vs. Indirect (I) Ownership: Indicates whether the insider holds the shares personally (is_direct: true) or through a family trust, spouse, LLC, or investment partnership (is_direct: false), along with the resulting post-transaction holdings.
  • The Rule 10b5-1 Checkbox: Added under the SEC's 2022 Rule 10b5-1 amendments, this checkbox flags whether a trade executed under a pre-arranged trading plan adopted during an open window with mandatory cooling-off periods, rather than an ad-hoc discretionary decision.

The single most important field on any Form 4 is the transaction code. Treating every reported row as a buy or sell is the fastest way to misread insider data. Here are the codes that separate real market conviction from compensation housekeeping:

CodeMeaningSignal vs. noise
POpen-market or private purchaseHigh signal: The insider spent personal cash at market prices. Cluster purchases across multiple insiders carry the strongest weight.
SOpen-market or private saleContext-dependent: Often routine diversification or executed under a pre-scheduled Rule 10b5-1 plan; check size, cadence, and 10-Q plan disclosures.
MExercise or conversion of derivative securityCompensation noise on its own: Converting options or vesting RSUs into common shares reflects grant schedules, not an open-market cash purchase.
CConversion of derivative security (e.g., preferred stock)Structural conversion: Common at IPOs when preferred shares automatically convert into Class A common stock at $0.00.
AGrant, award, or other acquisitionCompensation noise: Equity awards granted by the company (typically at $0.00 cost) rather than bought on the open market.
FPayment of exercise price or tax liability by withholding sharesTax mechanics: Shares surrendered back to the issuer to cover payroll taxes upon RSU vesting; not a discretionary market sale.
GBona fide giftEstate or charitable planning: Zero-dollar transfers to foundations or family vehicles; not an open-market sale.

One architectural detail matters before you write a line of code: raw Form 4 XML filings are not stored in valyu/valyu-sec-filings. Querying "Pfizer Form 4 2026" against valyu/valyu-sec-filings returns zero results. Instead, Valyu serves parsed, structured Form 4 insider trading records through a dedicated dataset, valyu/valyu-insider-transactions-US, so you receive clean transaction arrays without writing an XML parser.

A real year of Form 4s: Pfizer in 2026

To see how every major Form 4 transaction type shows up in one real company's ledger, this guide walks through Pfizer (PFE) across 2026 (January 1 through November 25). Pfizer recorded exactly 13 insider transactions over that stretch, making it a textbook illustration of why transaction classification matters:

Date reportedInsider and titleTransaction typeSharesDollar valueOwnership
2026-08-12Albert Bourla (CEO)Purchase at $26.3438,000$1,000,920Direct
2026-08-05Ronald E. Blaylock (Director)Purchase at $25.4639,231$998,821Direct
2026-08-05Mortimer J. Buckley (Director)Purchase at $25.5237,632$960,369Direct
2026-08-05Jennifer B. Damico (Officer)Sale at $25.403,278$83,261Direct
2026-06-09Jennifer B. Damico (Officer)Sale at $25.702,000$51,400Direct
2026-03-03Jennifer B. Damico (Officer)Stock Award(Grant) at $0.0021,719$0Direct
2026-02-25Christoffel Boshoff (Officer)Stock Award(Grant) at $0.0013,383$0Direct
2026-02-25Albert Bourla (CEO)Derivative conversion at $33.82491,626$16,626,791Direct
2026-02-25Douglas M. Lankler (Officer)Derivative conversion at $33.82122,907$4,156,715Direct
2026-02-25Lidia Fonseca, Ph.D. (Officer)Derivative conversion at $33.8256,888$1,923,952Direct
2026-02-25Payal Sahni (Officer)Derivative conversion at $33.8256,888$1,923,952Direct
2026-02-25Michael McDermott (Officer)Derivative conversion at $33.8237,925$1,282,624Direct
2026-02-25Jennifer B. Damico (Officer)Derivative conversion at $33.8217,558$593,812Direct

Look at what jumps out once those 13 rows sit side by side. On February 25, six executives recorded derivative conversions (M) totaling 783,792 shares and $26,507,846 at $33.82 per share, alongside zero-cost equity awards (A) in late February and early March. None of those rows involved an executive buying stock on the open market. Fast-forward to August 5 through August 12, immediately after Pfizer filed its Q2 2026 Form 10-Q on August 4: two independent directors (Ronald E. Blaylock and Mortimer J. Buckley) and CEO Albert Bourla stepped into the open market and bought 114,863 shares worth $2,960,110 directly with personal cash, eclipsing Officer Jennifer B. Damico's $134,661 across two smaller sales.

Step 1: pull a company's Form 4 insider transactions

Install the Valyu SDK and export your VALYU_API_KEY environment variable.

Shell
pip install valyu
export VALYU_API_KEY="your-api-key"
Shell
npm install valyu-js
export VALYU_API_KEY="your-api-key"

Call Search restricted to valyu/valyu-insider-transactions-US, passing the stock ticker plus explicit start_date and end_date bounds:

from valyu import Valyu
 
valyu = Valyu() # reads VALYU_API_KEY
 
response = valyu.search(
"PFE insider transactions",
included_sources=["valyu/valyu-insider-transactions-US"],
start_date="2026-01-01",
end_date="2026-11-25",
max_num_results=1,
)
 
result = response.results[0]
meta = result.metadata
print(meta["ticker"], meta["name"], f"({meta['total_results']} transactions)")
 
for row in result.content:
ownership = "Direct" if row["is_direct"] else "Indirect"
value = f"${row['value']:,}" if row.get("value") is not None else "n/a"
print(
f"{row['date_reported']} | {row['full_name']} ({row['position']}) | "
f"{row['shares']:,} sh | {value} | {ownership} | {row['description']}"
)

In under three seconds for $0.012, this returns one structured result (data_type: "structured") containing metadata (symbol, ticker, name, exchange, start_date, end_date, total_results) and a clean array of all 13 Pfizer transactions inside result.content. Every record exposes the exact same seven keys: full_name, position, date_reported, is_direct, shares, value, and description.

Two quick habits save headaches right from Step 1: always pass the exact stock ticker ("PFE" or "JPM") rather than a loose company name, and always bound the window with start_date and end_date instead of putting the year only inside the query string.

Step 2: separate open-market buying from compensation noise

Once you have the structured array, never sum value across every row. At Pfizer, summing all 13 rows would report $29.6 million of activity, nearly 90% of which came from February's six derivative conversions (M). At other companies, blank-description rows (commonly tax withholdings F or equity vestings with value: null) account for the majority of entries. Classify each row by its description string first so open-market purchases (P) stand cleanly apart from sales (S), option exercises (M), awards (A), gifts (G), and tax or vesting rows:

from valyu import Valyu
 
valyu = Valyu()
 
result = valyu.search(
"PFE insider transactions",
included_sources=["valyu/valyu-insider-transactions-US"],
start_date="2026-01-01",
end_date="2026-11-25",
max_num_results=1,
).results[0]
 
def classify(desc: str) -> str:
d = (desc or "").lower()
if d.startswith("purchase"):
return "purchase"
if d.startswith("sale"):
return "sale"
if "derivative" in d or "exercise" in d:
return "exercise"
if "award" in d or "grant" in d:
return "grant"
if "gift" in d:
return "gift"
return "other" # includes blank-description rows (e.g., tax withholdings / vestings)
 
buckets = {}
for row in result.content:
cat = classify(row.get("description", ""))
b = buckets.setdefault(cat, {"count": 0, "shares": 0, "value": 0})
b["count"] += 1
b["shares"] += row.get("shares") or 0
b["value"] += row.get("value") or 0
 
for cat, stats in buckets.items():
print(f"{cat:10s} | {stats['count']:2d} rows | {stats['shares']:>9,} sh | ${stats['value']:>12,}")

Running this on Pfizer immediately isolates the four clean buckets across 2026:

  • purchase (P): 3 rows, 114,863 shares, $2,960,110 (the August cluster buy across Albert Bourla, Ronald E. Blaylock, and Mortimer J. Buckley).
  • sale (S): 2 rows, 5,278 shares, $134,661 (both by Officer Jennifer B. Damico in June and August).
  • exercise (M): 6 rows, 783,792 shares, $26,507,846 (all on February 25 at $33.82 per share).
  • grant (A): 2 rows, 35,102 shares, $0 (Christoffel Boshoff and Jennifer B. Damico).

Guarding row.get("value") or 0 is essential once you scale beyond Pfizer. When we ran the same script on JPMorgan Chase (JPM), 22 of its 83 rows in 2026 arrived with description: "" and value: None (routine director equity vestings and executive tax-withholding events). Without null-safe aggregation and explicit Purchase filtering, those rows either crash numeric sums or drown out genuine cash buys.

Step 3: scan a watchlist and track fresh post-IPO Form 4s (Anthropic)

Because each query to valyu/valyu-insider-transactions-US resolves one US issuer and returns that company's full transaction list for the date range, you can loop across a ticker watchlist to spot cluster buying and filter for specific executives in your own code. Here we scan Pfizer (PFE), NVIDIA (NVDA), and newly public Anthropic (ANT) in one pass for $0.036 total:

from valyu import Valyu
 
valyu = Valyu()
watchlist = ["PFE", "NVDA", "ANT"]
 
for ticker in watchlist:
result = valyu.search(
f"{ticker} insider transactions",
included_sources=["valyu/valyu-insider-transactions-US"],
start_date="2026-01-01",
end_date="2026-11-25",
max_num_results=1,
).results[0]
 
rows = result.content
buys = [r for r in rows if (r.get("description") or "").startswith("Purchase")]
sales = [r for r in rows if (r.get("description") or "").startswith("Sale")]
unique_buyers = sorted({r["full_name"] for r in buys})
 
buy_total = sum(r.get("value") or 0 for r in buys)
sale_total = sum(r.get("value") or 0 for r in sales)
print(
f"{ticker}: {len(rows)} rows | {len(buys)} buys (${buy_total:,}) by {len(unique_buyers)} insiders "
f"{unique_buyers} | {len(sales)} sales (${sale_total:,})"
)
 
# Filter for a specific executive's trades inside the same company response
ceo_buys = [r for r in buys if "CHIEF EXECUTIVE OFFICER" in (r.get("position") or "").upper()]
for trade in ceo_buys:
kind = "Direct" if trade["is_direct"] else "Indirect"
print(f" CEO buy: {trade['date_reported']} {trade['full_name']} | {trade['shares']:,} sh | ${trade['value']:,} ({kind})")

Putting those three companies side by side shows three very different real-world Form 4 scenarios:

  • Pfizer (PFE) as multi-insider cluster buying: 3 open-market purchases totaling $2,960,110 across 3 distinct insiders (CEO Albert Bourla plus Directors Ronald E. Blaylock and Mortimer J. Buckley) within eight days, versus just 2 sales totaling $134,661.
  • NVIDIA (NVDA) as the routine selling and gifting contrast: 51 transactions across 2026, 0 open-market purchases, and 22 sales totaling $1,644,760,296 alongside zero-dollar Stock Gift rows (G), including charitable or estate gifts by CEO Jen-Hsun Huang and Director Tench C. Coxe. Cross-checking Part II, Item 5 of NVIDIA's November 19, 2025 Form 10-Q inside valyu/valyu-sec-filings confirms that sales like EVP Ajay K. Puri's March 18 sale (300,000 shares, $54,676,140) and VP/Chief Accounting Officer Donald F. Robertson Jr.'s March 20 sale (5,396 shares, $942,944) executed under pre-scheduled Rule 10b5-1 trading plans adopted months earlier in September 2025 (covering up to 1,000,000 shares and 138,042 shares, respectively).
  • Anthropic (ANT) right after its November 2026 IPO: valyu/valyu-insider-transactions-US already resolves ANT cleanly to Anthropic, PBC on NASDAQ, yet returned total_results: 0 on November 25 while the company's brand-new November 23 post-IPO Form 4 filings were still fresh. When you need same-week Form 4 coverage on a brand-new IPO before structured feeds backfill, call DeepResearch without locking included_sources to the structured table alone.

Running a single Valyu DeepResearch query across Anthropic's November 2026 IPO Form 4s immediately catches all four filings submitted on November 23, 2026 (two days after its $83.00-per-share IPO), giving a textbook look at how founder sales, tax withholdings, director purchases, and preferred-stock conversions appear side by side:

from valyu import Valyu
 
valyu = Valyu() # reads VALYU_API_KEY
 
task = valyu.deepresearch.create(
query=(
"Using Anthropic PBC (NASDAQ: ANT) November 2026 Form 4 filings and IPO filings: "
"which founders, executives, or directors sold shares, had shares withheld for taxes, "
"bought shares, or converted preferred stock at the IPO? List exact names, titles, "
"dates, transaction codes, share counts, prices, post-transaction holdings, and cite each filing."
),
mode="instant", # or "fast", "standard", "heavy", "max"
)
 
result = valyu.deepresearch.wait(task.deepresearch_id)
print(result.output)
for source in result.sources or []:
print("-", source.title, source.url)

Here is every November 23, 2026 Anthropic Form 4 transaction verified against EDGAR (CIK 0002130357), showing four distinct transaction codes (S, F, P, and C) in a single IPO week:

Insider and titleDateCodeSharesPrice and valueWhat the Form 4 actually shows
Dario Amodei (CEO, Director)2026-11-19F345,011 (Direct)$83.00 ($28.64M)Shares withheld by Anthropic to cover RSU vesting income taxes, not an open-market sale
Dario Amodei (CEO, Director)2026-11-20S3,378,378 (Direct)$83.00 ($280.41M)Sold to IPO underwriters; retains 202,785,471 Class A shares direct plus 35,932,660 indirect via trusts
Daniela Amodei (President, Director)2026-11-19F345,011 Direct + 72,267 Indirect$83.00 ($34.63M total)Tax withholdings on RSU vesting (including 72,267 shares held by her spouse)
Daniela Amodei (President, Director)2026-11-20S3,378,378 (Direct)$83.00 ($280.41M)Sold to IPO underwriters; retains 220,454,591 Class A shares direct plus 19,459,433 indirect (trusts and spouse)
Christopher P. Liddell (Director)2026-11-20P60,240 (18,072 Direct + 42,168 Indirect)$83.00 ($5.00M)Bought at the $83.00 IPO price directly, via his spouse (18,072), and via a spouse trust (24,096)
Vasant Narasimhan (Director)2026-11-20C169,770 (Indirect)$0.00 conversionAutomatic 10:1 IPO conversion of 16,977 Series H-1 Preferred shares held by Bodhi LLC into Class A stock

Notice why reading post-transaction holdings and transaction codes together prevents headline distortion. News headlines focused on co-founders Dario Amodei and Daniela Amodei each selling 3,378,378 shares ($280.41 million) in the IPO. Reading the actual Form 4 filings shows two critical qualifiers: first, the November 19 dispositions were F-code RSU tax withholdings, not sales; second, even after selling $280.41 million each to the IPO underwriters, both co-founders kept more than 98% of their reported Class A holdings (over 238 million total shares for Dario Amodei and over 239 million for Daniela Amodei). Meanwhile, Director Christopher P. Liddell put $5.00 million of fresh capital in at the $83.00 IPO price across direct and indirect accounts.

The NVIDIA and Anthropic examples also highlight a practical cross-filing rule: because valyu/valyu-insider-transactions-US omits the Form 4 10b5-1 checkbox and can lag same-week IPO filings, pairing structured insider lookups with valyu/valyu-sec-filings (for 10-Q Part II Item 5 Rule 10b5-1 tables) and DeepResearch gives you complete coverage.

Step 4: synthesize Form 4 trades with 10-Q and 8-K filings in DeepResearch

Raw Form 4 numbers tell you who bought and how much, but never why right now. To connect an insider buying cluster to the exact quarterly report, earnings release, or restructuring update that preceded it, pass both valyu/valyu-insider-transactions-US and valyu/valyu-sec-filings to DeepResearch in instant mode:

from valyu import Valyu
 
valyu = Valyu() # reads VALYU_API_KEY
 
task = valyu.deepresearch.create(
query=(
"Analyze Pfizer's (PFE) 2026 Form 4 insider transactions alongside its Q2 2026 SEC "
"filings (10-Q and 8-K). List the August 2026 open-market insider purchases (names, "
"titles, dates, share counts, prices, and dollar values), contrast them with the "
"February 2026 derivative conversions and Officer Jennifer Damico's 2026 sales, and "
"summarize what Pfizer reported in its Q2 2026 earnings or 10-Q right before those "
"August purchases. Cite every source."
),
mode="instant", # or "fast", "standard", "heavy", "max"
search={
"included_sources": [
"valyu/valyu-insider-transactions-US",
"valyu/valyu-sec-filings",
]
},
)
 
result = valyu.deepresearch.wait(task.deepresearch_id)
print(result.output)
for source in result.sources or []:
print("-", source.title, source.url)

In our test, DeepResearch finished in 29 seconds, pulling Pfizer's structured insider ledger and its August 4, 2026 Form 10-Q in one run. Every single figure matched the primary records: the three August open-market purchases totaling $2.96 million, the six February 25 derivative conversions at $33.82, Jennifer Damico's two sales totaling $134,661, and the exact Q2 10-Q figures filed one day before Directors Blaylock and Buckley started buying: Q2 2026 revenue up $381 million (3%) to $15.0 billion (including 5% operational growth excluding Comirnaty and Paxlovid) and first-six-months revenue up 4% to $29.5 billion. That same August 4 Form 10-Q adds two more critical facts: Part I, Item 2 (MD&A) highlights $1.0 billion of additional anticipated net cost savings driven by technology and simplification efforts, while Part II, Item 5 confirms that none of Pfizer's directors or officers adopted or terminated a Rule 10b5-1 trading arrangement during the quarter ended June 28, 2026. Always verify critical figures against the cited filings before publishing.

That first call uses instant mode (1 step) for a rapid cited brief in under 30 seconds, but DeepResearch offers five modes matched to how thoroughly you want it to investigate: instant (1 step), fast (up to 12 steps), standard (up to 25 steps), heavy (up to 45 steps), and max (up to 75 steps). Always pass mode explicitly because the Python SDK defaults to "standard" while the TypeScript SDK defaults to "fast". Every mode except instant also supports custom research_strategy guidance and downloadable deliverables (CSV, Excel, Word, PowerPoint, or PDF).

Here is a second example using mode="standard" (or switch to "fast", "heavy", or "max") to run a deeper multi-company Form 4, Rule 10b5-1, and 10-Q investigation and export a downloadable Excel workbook:

from valyu import Valyu
 
valyu = Valyu() # reads VALYU_API_KEY
 
task = valyu.deepresearch.create(
query=(
"Compare 2026 Form 4 insider activity across Pfizer (PFE), NVIDIA (NVDA), and "
"Anthropic (ANT): separate open-market purchases (P), open-market and IPO sales (S), "
"tax withholdings (F), and derivative conversions (M/C), cross-check Part II Item 5 "
"of recent 10-Qs for Rule 10b5-1 plans, and rank which signals reflect genuine "
"discretionary conviction. Cite every filing."
),
mode="standard", # or "fast", "heavy", "max"
research_strategy=(
"Check structured insider transaction ledgers first, verify recent IPO Form 4s and "
"post-transaction holdings, then inspect 10-Q Part II Item 5 Rule 10b5-1 disclosures."
),
search={
"included_sources": [
"valyu/valyu-insider-transactions-US",
"valyu/valyu-sec-filings",
]
},
tools={"code_execution": True}, # required for Excel (.xlsx) deliverables
deliverables=[
"Excel (.xlsx) workbook with one tab per company comparing 2026 Form 4 buys, sales, "
"tax withholdings, derivative conversions, and Rule 10b5-1 plan status"
],
)
 
result = valyu.deepresearch.wait(
task.deepresearch_id,
poll_interval=10,
max_wait_time=1800, # raise to 3600 for heavy or 7200 for max
)
print(result.output)
for d in result.deliverables or []:
if d.status == "completed":
print(d.title, d.url)

We did not run the standard-mode workbook example above for this guide; unlike instant (under 30 seconds), multi-step standard, heavy, and max investigations run longer in the background (or trigger a webhook_url when done) and return both a cited Markdown report and signed download links for each deliverable. Note that if you want same-week brand-new IPO filings like Anthropic's November 23 Form 4s included alongside structured feeds, omit included_sources so DeepResearch can search all available sources.

Worked example: vetting a post-earnings cluster buy

The problem. You cover large-cap pharmaceuticals on an equity research desk. Your morning Form 4 screen flags nearly $3 million in Pfizer insider purchases in early August, right after Q2 earnings, alongside an officer sale on the exact same day. Before opening a deeper valuation review, your portfolio manager wants two answers: is this genuine open-market conviction or compensation noise, and what changed in Pfizer's Q2 filing right before executives bought?

The decision. Steps 1 and 2 clear away the noise in seconds. Stripping out February's $26.51 million in derivative conversions and zero-cost stock awards confirms three direct open-market cash purchases totaling $2,960,110 by CEO Albert Bourla and Directors Ronald E. Blaylock and Mortimer J. Buckley, dwarfing Officer Jennifer B. Damico's $83,261 August 5 sale. Step 4 anchors those buys to the August 4 Form 10-Q showing 5% operational revenue growth outside Comirnaty and Paxlovid plus an extra $1 billion cost-savings target.

The next action. Run Step 3 across your pharma peer watchlist to verify whether insider buying is company-specific or sector-wide, monitor Part II Item 5 of upcoming 10-Qs for any new Rule 10b5-1 plan adoptions, and schedule a daily Step 2 scan on PFE to flag follow-on Form 4 buys within two business days.

The outcome. The portfolio manager gets a dated, noise-filtered insider brief separating real personal-cash conviction from equity compensation mechanics, backed by structured transaction records and primary SEC filing links. This illustrates a disclosure-analysis workflow, not investment advice.

Troubleshooting common Form 4 search issues

  • Querying valyu/valyu-sec-filings returns zero Form 4 results: Raw Form 4 XML is not stored inside valyu/valyu-sec-filings. Always target included_sources=["valyu/valyu-insider-transactions-US"] for Form 4 data.
  • Using a company name resolves to the wrong ticker: In testing, "JPMorgan insider transactions 2026" resolved to AMJB (a JPMorgan-issued ETN with zero rows) instead of JPM (83 rows). Pass the exact stock ticker symbol (such as "JPM insider transactions") and check result.metadata["ticker"].
  • Searching "Form 4" without a company name returns FormFactor Inc.: Querying "Form 4 insider buying 2026" matched the word "Form" to Nasdaq ticker FORM. Always include a specific target company ticker.
  • Putting the year only in the query text returns historical years: Querying "COIN insider transactions 2026" returned 858 transactions stretching back to 2021 (start_date: null), whereas passing explicit start_date="2026-01-01" and end_date="2026-11-25" cleanly returned just the 54 transactions from 2026.
  • Market-wide queries return zero results: Broad prompts like "CEO open market purchases 2026" return empty results because each query resolves a single US issuer. Loop across a ticker watchlist (Step 3) and aggregate in code.
  • Executive-name queries still return the full company ledger: Querying "Albert Bourla Pfizer insider transactions 2026" returns all 13 of Pfizer's 2026 rows, not just Bourla's. Filter on row["full_name"] in your application code.
  • Blank descriptions and null values break dollar sums: Non-market events such as tax withholdings or RSU vestings (22 of JPMorgan Chase's 83 rows in 2026) can arrive with description: "" and value: null. Use null-safe sums (row.get("value") or 0) and filter explicitly on description.startswith("Purchase") for open-market buying.
  • Brand-new IPO tickers return total_results: 0 in the structured feed: Newly listed issuers such as Anthropic (ANT) resolve cleanly by ticker, but same-week post-IPO Form 4 filings can take a short window to backfill into valyu/valyu-insider-transactions-US. Use DeepResearch without restricting included_sources (Step 3) when you need immediate post-IPO Form 4 details.
  • Checking whether a sale was under a Rule 10b5-1 plan: The structured insider feed does not include the Form 4 10b5-1 checkbox boolean. Query Part II, Item 5 of the issuer's recent Form 10-Q in valyu/valyu-sec-filings (or combine both sources in DeepResearch) to inspect adopted and terminated Rule 10b5-1 trading arrangements.

FAQ

What is a Form 4 SEC filing?

A Form 4 is the mandatory SEC Statement of Changes in Beneficial Ownership that corporate insiders (executive officers, directors, and greater-than-10% shareholders) must file whenever they buy, sell, receive, convert, or gift shares of their company. Each filing lists the transaction date, transaction code, share count, execution price, and total shares still owned afterward.

What is the Form 4 filing deadline?

Section 16 insiders must submit Form 4 electronically to SEC EDGAR before 10:00 p.m. Eastern Time on the second business day following the transaction date. That strict two-business-day turnaround makes Form 4 one of the fastest-updating public disclosure feeds in US equity markets.

How do I read a Form 4 filing?

Read four fields in order: the insider's role (Box 5, prioritizing CEOs, CFOs, and directors), the transaction code (Column 3 of Table I, focusing on P open-market buys and S sales), the Rule 10b5-1 checkbox at the top of the form, and post-transaction holdings (Column 5) to see what percentage of their stake actually changed. Checking footnotes explains tax withholdings, IPO sales, and trust or spouse ownership.

What do Form 4 transaction codes mean?

Form 4 transaction codes identify why an insider's share count changed: P is an open-market or private purchase, S is a sale, M is an option or derivative exercise, C is a derivative conversion (such as preferred stock converting at an IPO), F is shares withheld for taxes, A is a stock grant or award, G is a bona fide gift, and J marks other unusual acquisitions or dispositions explained in the footnotes. Only P indicates an insider putting fresh personal cash into the stock.

What do Form 4 transaction codes F and M mean?

Code F means the company withheld shares automatically to cover income taxes when RSUs vested or options were exercised, and code M means the insider exercised stock options or converted derivatives into common stock. Neither is a discretionary open-market buy or sell: for example, Pfizer's $26.51 million in February 25, 2026 activity was all M derivative conversions, and Anthropic CEO Dario Amodei's November 19, 2026 F filing was RSU tax withholding.

What is a Rule 10b5-1 trading plan?

A Rule 10b5-1 trading plan is a written schedule an insider adopts while holding no material nonpublic information, setting future dates, share amounts, or price triggers for automated trades. Under SEC rules, plans require mandatory cooling-off periods, plan trades are checked on Form 4, and issuers report newly adopted or terminated plans quarterly in Part II, Item 5 of Form 10-Q.

Why do insiders sell stock, and is insider selling always a bad sign?

Insiders sell shares for many routine reasons unrelated to business outlook, including tax bills, liquidity after an IPO, portfolio diversification, and pre-scheduled Rule 10b5-1 plans. For instance, NVIDIA insiders recorded $1.64 billion in 2026 sales under pre-arranged 10b5-1 plans, and Anthropic co-founders Dario Amodei and Daniela Amodei each sold $280.41 million at the November 2026 IPO while keeping more than 98% of their reported Class A shares.

What is insider cluster buying?

Insider cluster buying happens when multiple independent officers or directors at the same company make open-market cash purchases (P) within days or weeks of each other. Pfizer's August 2026 filings are a textbook example: CEO Albert Bourla and Directors Ronald E. Blaylock and Mortimer J. Buckley bought 114,863 shares worth $2,960,110 directly between August 5 and August 12 right after Q2 earnings.

What is a Form 4/A?

A Form 4/A is an amended Form 4 filed to correct an error or add omitted details (such as a corrected share count, price, footnote, or indirect ownership line) from an earlier filing. Always check whether a later Form 4/A updated a large trade before quoting the original figures.

What is the difference between Form 4, Form 3, and Form 5?

Form 3 is an insider's initial ownership snapshot filed within 10 calendar days of becoming a Section 16 insider (or at an IPO). Form 4 reports ongoing ownership changes within two business days. Form 5 is an annual catch-up filing due within 45 days after fiscal year end for exempt transactions or late-reported trades.

What is the difference between Form 4 and Form 144?

Form 144 is a notice of proposed sale filed when an affiliate plans to sell more than 5,000 restricted or control shares (or $50,000 worth) within three months under Rule 144, so the shares may not end up sold. Form 4 reports completed transactions after execution.

What is the difference between Form 4 and Schedule 13D or 13G?

Form 4 tracks individual share transactions by corporate officers, directors, and greater-than-10% insiders within two business days. Schedules 13D and 13G track major outside shareholders (active or passive) who cross the 5% voting ownership threshold, focusing on total stake size and strategic intent rather than executive equity trades.

Who counts as a Section 16 insider?

Under Section 16 of the Securities Exchange Act, reporting insiders include a US public company's executive officers (such as the CEO, CFO, general counsel, and principal accounting officer), all board directors, and any person or entity beneficially owning more than 10% of a registered class of the company's equity securities.

What is the difference between direct and indirect ownership on Form 4?

Direct ownership (is_direct: true) means the insider holds the shares in their own name. Indirect ownership (is_direct: false) means the insider holds beneficial interest through another vehicle such as a family trust, spouse, LLC, or partnership. At Anthropic's November 2026 IPO, Director Christopher P. Liddell bought 18,072 shares directly and 42,168 shares indirectly via his spouse and a spouse trust, while CEO Dario Amodei held 202,785,471 Class A shares directly alongside 35,932,660 indirectly through trusts.

How do I search and track Form 4 filings?

You can browse raw Form 4 XML filings on SEC EDGAR by company CIK, or query structured insider transaction arrays through the Valyu SDK using included_sources=["valyu/valyu-insider-transactions-US"] with a stock ticker and explicit start_date and end_date bounds (Steps 1 to 3). For same-week IPO filings or cross-filing context, pair Search with DeepResearch.

Is there a free Form 4 and insider trading API?

EDGAR publishes raw Form 4 XML files for free, but leaves you to download files, parse XML schemas, map tickers, and filter compensation codes yourself. Valyu returns structured Form 4 insider records through one SDK call at $0.012 per company query. New accounts get free credits every month, up to 2,000 with a work email.

How do I search Form 4 insider trades in ChatGPT or Claude?

Connect Valyu as a custom MCP server at https://mcp.valyu.ai/mcp, sign in, and ask prompts such as "Use Valyu to pull Pfizer's 2026 Form 4 insider purchases and summarize its August 2026 Form 10-Q." Full setup steps are in the chat apps guide. Note that we tested the SDK calls in this guide rather than the chat interfaces.

Build your own Form 4 insider tracker

Pull structured Form 4 records by ticker and date range, filter open-market buys away from option exercises and grants, scan watchlists for cluster buying, and pair insider trades with 10-Q and 8-K filings in DeepResearch. New accounts get free credits every month, up to 2,000 with a work email. Get an API key, explore finance use cases, or read how to track activist and 5% stakes in Schedule 13D and 13G filings and how to track company events in 8-K filings.

Valyu Add

Join 12,000+ professionals and knowledge workers.

Valyu Add is a free weekly research briefing for builders, investors and operators. Every issue is sourced, cited and verified with Valyu DeepResearch.