SEC Insider Trades (Form 4) - Buys & Sells by Ticker avatar

SEC Insider Trades (Form 4) - Buys & Sells by Ticker

Pricing

Pay per usage

Go to Apify Store
SEC Insider Trades (Form 4) - Buys & Sells by Ticker

SEC Insider Trades (Form 4) - Buys & Sells by Ticker

Parse SEC Form 4 filings into one row per insider transaction: who (CEO, director, 10% owner), buy or sell, shares, price, dollar value, holdings after and 10b5-1 flag. Filter by ticker, code and size. Net buy/sell summary per company.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Plainfetch

Plainfetch

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

SEC Insider Trades (Form 4): Buys & Sells by Ticker

Turn SEC Form 4 filings into one clean row per insider transaction:

  • who traded (name, CEO/CFO title, director, 10% owner),
  • what they did (open-market buy, sale, award, option exercise, tax withholding, gift),
  • shares, price, dollar value and holdings after,
  • whether the trade was under a Rule 10b5-1 plan,
  • a link to the original EDGAR filing.

Each run also returns a per-company summary with buy count, sell count and net dollar value.

Built for investors, newsletter writers, quant and fintech apps, IR teams, journalists and AI agents that track insider buying and selling across a watchlist.

What one row looks like

{"ticker":"NVDA","insiderName":"Teter Timothy S.","officerTitle":"EVP, General Counsel and Sec","transactionDate":"2026-09-21","transactionType":"Open-market sale","shares":12483,"pricePerShare":222.19,"valueUsd":2773637.72,"sharesOwnedAfter":2705637,"filingUrl":"https://www.sec.gov/Archives/edgar/data/1045810/…-index.htm"}

Examples

  • Open-market buys only (the classic signal) on a watchlist: {"tickers":["AAPL","MSFT","NVDA","AMZN"],"transactionCodes":["P"],"daysBack":90}
  • Large sales: {"tickers":["TSLA","META"],"transactionCodes":["S"],"minValueUsd":1000000}
  • Everything, including option rows: {"tickers":["PLTR"],"transactionCodes":[],"includeDerivative":true}

Codes

P purchase · S sale · A award · M option exercise · F tax withholding · G gift · plus every other SEC code, described in words in transactionType.

Notes

  • The filing window uses the filing date. Each company's most recent ~1,000 EDGAR filings are scanned.
  • The Actor respects SEC fair-access rules: a declared User-Agent and at most ~8 requests per second.
  • This isn't investment advice.

How to use it

Add one or more tickers (or SEC CIKs), pick a filing-date window and the transaction codes you care about, and click Start. Results appear in the dataset as a table you can download as CSV, Excel or JSON, and the SUMMARY record in the key-value store has the net buy/sell per company.

Input

FieldNameTypeWhat it does
tickersTickersarrayUS-listed tickers, e.g. AAPL, NVDA, TSLA. Resolved to SEC CIKs automatically.
ciksCIKs (optional)arraySEC CIK numbers for companies without a ticker.
daysBackFiled in the last N daysintegerForm 4 filing-date window.
transactionCodesTransaction codesarraySEC codes to keep: P = open-market buy, S = open-market sale, A = award, M = option exercise, F = tax withholding, G = gift. Empty = all.
minValueUsdMinimum value (USD)integerOnly transactions worth at least this much (shares x price).
includeDerivativeInclude derivative transactionsbooleanAlso return option/RSU rows from Table II.
maxFilingsPerCompanyMax filings per companyintegerCap on Form 4 filings read per company.
userAgentSEC User-Agent (optional)stringSEC asks for a name and contact email in the User-Agent. Leave empty to use the Actor's default.

Output fields

FieldMeaning
tickerIssuer ticker
issuerNameIssuer
issuerCikIssuer CIK
insiderNameReporting insider
insiderCikInsider CIK
insiderRolesDirector / Officer / 10% owner / Other
officerTitleOfficer title
additionalReportingOwnersOther joint filers
form4 or 4/A
filingDateFiled with SEC
transactionDateTrade date
transactionCodeSEC transaction code
transactionTypeCode in words
acquiredOrDisposedAcquired or Disposed
securityTitleSecurity
isDerivativeDerivative (Table II) row
sharesShares
pricePerSharePrice per share (USD)
valueUsdShares x price
sharesOwnedAfterHoldings after the trade
directOrIndirectDirect or Indirect ownership
rule10b5_1PlanFiler ticked the Rule 10b5-1 plan box
accessionNumberEDGAR accession number
filingUrlEDGAR filing index page
sourceData source

Use it from the API

Run it from your own code with the Apify API (replace $APIFY_TOKEN with your own token):

curl -X POST "https://api.apify.com/v2/acts/plainfetch-data~sec-insider-trades/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"tickers":["AAPL","NVDA"],"transactionCodes":["P"],"daysBack":90}'

It also works with the Apify Python and JavaScript clients, Make, Zapier, n8n and MCP-based AI agents.

FAQ

Is this the same data as the SEC website? Yes. Every row is parsed from the Form 4 XML filed on SEC EDGAR, and each row links to the original filing so you can check it.

How do I see only insider buying? Set transactionCodes to ["P"]. P is an open-market purchase, the code most investors watch.

Can I track a whole watchlist every day? Yes. Add your tickers, set daysBack to 1 or 2, and schedule the Actor daily in Apify Schedules. Export to CSV, Excel, JSON or Google Sheets, or call it from the API.

What is the 10b5-1 flag? rule10b5_1Plan is true when the filing marks the trade as made under a pre-arranged Rule 10b5-1 trading plan. Planned sales usually carry less signal than discretionary ones.

Does it cover Form 3 and Form 5? Not yet. It reads Form 4 and 4/A only.

Pricing

Free while in beta: you pay only your Apify platform usage. Pay-per-event pricing may be added later, with the advance notice Apify requires.

Data source

U.S. Securities and Exchange Commission, EDGAR (https://www.sec.gov/edgar). This is public U.S. government data. Plainfetch is an independent tool. It isn't affiliated with or endorsed by the SEC.

Local development

pip install -r requirements.txt pytest
python -m pytest tests
python -m src # reads storage/key_value_stores/default/INPUT.json