SEC EDGAR Form 4 Insider Trades Scraper avatar

SEC EDGAR Form 4 Insider Trades Scraper

Pricing

Pay per usage

Go to Apify Store
SEC EDGAR Form 4 Insider Trades Scraper

SEC EDGAR Form 4 Insider Trades Scraper

Scrapes SEC EDGAR Form 4 filings to extract insider trading data (purchases, sales, awards) for any US-listed company. Returns structured JSON with insider name, title, transaction type, shares, price, and total value.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Jakub Smal

Jakub Smal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Scrapes SEC EDGAR Form 4 filings to extract structured insider trading data for any US-listed company. No API key required — uses only public SEC EDGAR endpoints.

What You Get

Each row in the output dataset represents one transaction from a Form 4 filing:

FieldDescription
filing_dateDate the Form 4 was filed with the SEC
transaction_dateActual date of the transaction
issuer_tickerStock ticker symbol
issuer_nameCompany name
insider_nameFull name of the insider
insider_titleRole (CEO, CFO, Director, 10% Owner, etc.)
transaction_typeHuman-readable type (Purchase, Sale, Award/Grant, Option Exercise, etc.)
directionbuy, sell, or other
transaction_codeSEC transaction code (P=Purchase, S=Sale, A=Award, M=Option Exercise...)
security_typeSecurity name (e.g. "Common Stock", "Restricted Stock Unit")
transaction_categorynon-derivative (direct shares) or derivative (options, warrants)
shares_transactedNumber of shares in the transaction
price_per_sharePrice per share in USD
total_valueTotal transaction value (shares × price)
shares_owned_afterTotal shares held after the transaction
ownership_typeDirect or Indirect
exercise_priceOption exercise price (derivatives only)
expiration_dateOption expiration date (derivatives only)
underlying_sharesUnderlying shares for derivative (derivatives only)
accession_numberSEC EDGAR accession number
filing_urlDirect link to the filing on SEC.gov

Input Parameters

ParameterTypeDefaultDescription
tickerstringStock ticker (e.g. AAPL). Provide this or cik.
cikstringSEC CIK number. Alternative to ticker.
daysBackinteger90How far back to search (days). Max 3650.
maxFilingsinteger40Max Form 4 filings to process. Max 200.
includeDerivativesbooleantrueInclude options/warrants transactions.
userAgentstringCustom User-Agent for SEC requests (include your email).

Example Input

{
"ticker": "AAPL",
"daysBack": 180,
"maxFilings": 50,
"includeDerivatives": false
}

Example Output

{
"filing_date": "2024-11-05",
"transaction_date": "2024-11-04",
"issuer_ticker": "AAPL",
"issuer_name": "Apple Inc.",
"insider_name": "COOK TIMOTHY D",
"insider_title": "Chief Executive Officer",
"transaction_type": "Sale",
"direction": "sell",
"transaction_code": "S",
"security_type": "Common Stock",
"transaction_category": "non-derivative",
"shares_transacted": 230000,
"price_per_share": 222.91,
"total_value": 51269300.0,
"shares_owned_after": 3280345,
"ownership_type": "Direct",
"exercise_price": null,
"expiration_date": null,
"underlying_shares": null,
"accession_number": "0000320193-24-000123",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/0000320193-24-000123-index.htm"
}

How It Works

  1. Resolves the ticker to a SEC CIK number using the EDGAR company tickers registry
  2. Fetches Form 4 filing metadata from data.sec.gov/submissions/CIK{cik}.json
  3. Downloads each Form 4 XML document from the EDGAR archives
  4. Parses the XML to extract all transaction records
  5. Pushes structured records to the Apify dataset

SEC EDGAR Rate Limits

SEC allows a maximum of 10 requests per second. This actor throttles to ~8 req/s. If you run many actors in parallel against the same IP, consider adding delay. SEC may block IPs that exceed their limits.

The userAgent parameter should include your contact email so SEC can reach you if needed — this is their stated policy.

Data Source

All data comes directly from the SEC EDGAR public database:

  • https://data.sec.gov/submissions/ — filing metadata
  • https://www.sec.gov/Archives/edgar/data/ — filing documents

No third-party data providers. Data is as accurate as what insiders report to the SEC.

Use Cases

  • Monitor insider buying/selling for investment research
  • Build insider trading alerts and signals
  • Aggregate insider activity for screening
  • Track specific executives across companies
  • Academic research on insider trading patterns