Skip to content
Search/
CyberMax › Answers

How to track insider buying and selling from SEC Form 4 filings

Updated 2026-11-06 · Data and API builders · by CyberMax

Short answer

Officers, directors and 10% owners must file a Form 4 with the SEC within two business days of a trade. Open-market purchases carry transaction code P and sales code S; grants, option exercises and gifts use other codes, so filter to P and S. Several different insiders buying the same company within a few days (a cluster buy) is the pattern most people watch.

  1. List your tickers, or scan every filing for the whole market.
  2. Keep only codes P (purchase) and S (sale) and drop small trades (for example under $10,000).
  3. Group buys of the same company within 7 days to spot cluster buys.
  4. Open the filing link to read the footnotes (planned 10b5-1 sales are disclosed there).
  5. Schedule it daily with new trades only.

Copy-paste code

Insidewell on Apify: open-market trades for two tickers over 14 days (your own Apify token)

curl -s -X POST "https://api.apify.com/v2/acts/cybermax~sec-insider-tracker/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"tickers": ["AAPL", "NVDA"], "lookbackDays": 14, "onlyOpenMarket": true, "flagClusterBuys": true}'

Good to know

This is public filing data, not investment advice.

Insidewell icon

Insidewell: See which insiders just bought their own stock

$0.004 per trade + $0.015 per flagged cluster buy

Insidewell returns parsed open-market trades with the filing link at $0.004 each and flags cluster buys; compute included.

Runs on your own Apify account, pay per result; failed results are not charged.

Questions

What does a cluster buy mean?

Two or more insiders buying the same company's stock in the open market within a short window; Insidewell flags it.

Are option exercises insider buying?

Not open-market buying; they are excluded when you keep only code P.

Free: the Free API Starter Kit

Copy-paste calls for 4 APIs with free daily tiers (CVE priority, VIN recalls, US duty rates, email checks), then 5 short emails on KEV/EPSS, MCP and free data.

You get one email to confirm first. Then the kit, and 5 short emails over two weeks. One-click unsubscribe in every email; we never share your address.

Compare the options

SEC Form 4 insider trading trackers compared: price, filters and cluster buysInsidewell vs two Form 4 scrapers on Apify: live price per trade or filing row, open-market buys and sells, cl