SEC Form 4 Scraper — Insider Trades from EDGAR XML
Pricing
from $50.00 / 1,000 form 4 filings
SEC Form 4 Scraper — Insider Trades from EDGAR XML
Track raw Form 4 insider filings from SEC EDGAR — parsed, source-linked JSON for analysts, funds and AI agents.
Pricing
from $50.00 / 1,000 form 4 filings
Rating
0.0
(0)
Developer
NexGenData
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
5 days ago
Last modified
Categories
Share
SEC Form 4 Scraper
Which Form 4 actor? This is the raw-data one — the deepest field set parsed from EDGAR XML, one row per filing. For scheduled alerts use the Form 4 Monitor; for role/size filtering use the Form 4 Tracker. Track raw Form 4 insider filings from SEC EDGAR, parsed into clean JSON. Built for analysts, funds, fintech builders and AI agents. Factual public SEC/EDGAR data — not financial or investment advice. Not affiliated with the U.S. SEC.
📊 Sample Output

accession_number | filing_date | source | issuer_cik | issuer_name | reporting_owner_cik |
|---|---|---|---|---|---|
| 0001992593-25-000005 | 2025-01-15 | sec.gov | 0000855886 | JOHN HANCOCK PREMIUM DIVIDEND FUND | 0002032340 |
| 0001992593-25-000004 | 2025-01-15 | sec.gov | 0000759828 | JOHN HANCOCK INVESTORS TRUST | 0002032340 |
| 0001992593-25-000003 | 2025-01-15 | sec.gov | 0000759866 | JOHN HANCOCK INCOME SECURITIES TRUST | 0002032340 |
| 0001992593-25-000002 | 2025-01-15 | sec.gov | 0001496749 | John Hancock Hedged Equity & Income Fund | 0002032340 |
| 0001992593-25-000001 | 2025-01-15 | sec.gov | 0000925683 | JOHN HANCOCK FINANCIAL OPPORTUNITIES FUND | 0002032340 |
| 0001964333-25-000002 | 2025-01-15 | sec.gov | 0001964333 | Burke & Herbert Financial Services Corp. | 0001964476 |
Real rows from run 4JJ8zFyEUluBs5iw6 on build 0.0.32 (2026-09-25), unedited apart from masked emails/phones and shortened long text; fields the source does not publish are empty.
🔧 Input reference
| Field | Type | Default | What it does |
|---|---|---|---|
dateFrom (required) | string | "2025-01-01" | Inclusive start date for the filing-date range. SEC's full-text search supports custom ranges going back many years. |
dateTo (required) | string | "2025-01-15" | Inclusive end date for the filing-date range. Use a small window (1–14 days) for ad-hoc research; longer windows for bulk pulls. |
tickers | array of string | [] | Filter to only filings whose issuer ticker matches one of these (e.g. ['AAPL','MSFT']). Leave empty for the full universe. |
transactionTypes | array of string | ["P", "S"] | SEC Form 4 transaction codes. Common codes: P=Open-market purchase, S=Open-market sale, A=Award/grant, M=Option exercise, F=Tax payment in stock, G=Gift. Default ['P','S'] returns… |
maxFilings | integer | 25 | Maximum number of Form 4 filings to return after filtering (1–2000). Each filing is one dataset row. |
🧾 JSON sample record
One real record from run 4JJ8zFyEUluBs5iw6 (emails/phones masked, long text shortened):
{"accession_number": "0001992593-25-000005","form": "4","filing_date": "2025-01-15","filing_index_url": "https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000855886&type=4","ownership_doc_url": "https://www.sec.gov/Archives/edgar/data/855886/000199259325000005/primary_doc.xml","source": "sec.gov","issuer_cik": "0000855886","issuer_name": "JOHN HANCOCK PREMIUM DIVIDEND FUND","ticker": "PDT","reporting_owner_cik": "0002032340","reporting_owner_name": "Bacic William K","is_director": false,"is_officer": false,"is_ten_percent_owner": false,"is_other_relationship": true,"officer_title": null,"period_of_report": "2025-01-14","document_type": "4","non_derivative_transactions": [{"security_title": "common shares of beneficial interest","transaction_date": "2025-01-14","form_type": "4","transaction_code": "P","shares": 800,"price_per_share": 12.55,"acquired_or_disposed": "A","shares_owned_after": 800,"ownership_form": "D","value_usd": 10040}],"derivative_transactions": []}
💰 Pricing
| Event | Price (USD) | When it is charged |
|---|---|---|
Actor Start (apify-actor-start) | $5e-05 | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
Form 4 filing (apify-default-dataset-item) | $0.05 | Single SEC Form 4 insider-trading filing parsed and pushed to the dataset. |
Pay-per-event: you pay only for what the run delivers. A run that delivers nothing bills no result events (only the actor-start event, when the actor defines one). Example: a run that delivers 100 results costs 100 × $0.05 = $5.00 plus the start fee.
🔗 Related Actors
More from the NexGenData SEC & US filings family:
- SEC Form 144 Tracker — Restricted Stock Sale Filings
- SEC Form 3 Tracker — New Insider Registrations
- SEC Form 4 Insider Monitor — Real-Time EDGAR Alerts
- SEC Form 8-K Material Events Scraper — Item-Level API
- SEC Form ADV Tracker — Investment Adviser (RIA) Data
- SEC Form D Scraper — Startup Funding Filings API
48 more in this family on the NexGenData Store page.
📊 What you get
Clean JSON, one record per filing. Key fields (full output has 33 fields):
accession— SEC accession numbercik— Filer CIKticker— Ticker symbolissuer_name— Company / filer namefiling_date— Filing datedocument_type— Filing form typeprimary_doc— Direct sec.gov filing linkis_director— Insider role / relationshipacquired_or_disposed— Acquired (A) or disposed (D)shares— Shares / amount
Pricing: $0.05 per filing (Pay-Per-Event) — about 20 per $1. Actor start fee $5e-05 per run. Live prices are in the Pricing table below.
🤖 Use with AI agents
Structured, source-linked SEC data built for LLM and agent pipelines — point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it and pull raw Form 4 insider filings on demand.
Sample agent prompt:
Pull the last 20 Form 4 filings for NVDA with full transaction detail as JSON.
Agentic payments (x402): Supports agentic payment via x402 — agents can call this actor with USDC, no API key required.
⏰ Run on a schedule
The recurring frame is the point — schedule a daily or weekly pull:
{"tickers": ["AAPL","MSFT","NVDA"],"maxFilings": 50}
🔗 Related SEC actors
More insider trackers: Form 4 Monitor, Form 4 Tracker, Form 3 Tracker, Form 144 Tracker
Agent front doors: SEC Corporate Events MCP, Regulatory Filings MCP
Data parsed from public SEC EDGAR filings. Factual public SEC/EDGAR data — not financial or investment advice. Not affiliated with the U.S. SEC.