SEC Form 4 Insider Trading Scraper & XML Parser API
Pricing
from $3.50 / 1,000 extracted insider transaction
SEC Form 4 Insider Trading Scraper & XML Parser API
Extract real-time SEC EDGAR Form 4 insider trading filings and parse raw XML into clean JSON, CSV, or Excel. Track CEO, CFO, Director & 10% Owner open-market stock purchases (P) and sales (S), exact share counts, prices, and total dollar values. Built for n8n, Make & MCP AI agents.
Pricing
from $3.50 / 1,000 extracted insider transaction
Rating
0.0
(0)
Developer
Mehdad Sharifi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Features
Share
SEC Form 4 Insider Trading Scraper & XML Parser API lets you extract real-time SEC EDGAR Form 4 insider trading filings and parse raw XML into clean JSON, CSV, or Excel. Track CEO, CFO, Director & 10% Owner open-market stock purchases (P) and sales (S), exact share counts, prices, and total dollar values. Built for n8n, Make & MCP AI agents. Powered by lightweight async httpx on 256 MB RAM, it delivers clean records (ticker, companyName, cik, filingDate, transactionDate, insiderName) in seconds with zero headless browsers, zero proxy fees, and zero external API keys.
At a Glance
- Predictable Pay-Per-Event Pricing:
$0.01Actor start +$0.005per record (~998 records/month free on Apify's $5 monthly credit, plus up to 30% Store tier discounts).- Ultra-Low Compute Footprint: Runs on
256 MBmemory (~$0.003platform compute per run) with zero residential or datacenter proxy overhead.- AI Agent, MCP & Automation Ready: Native compatibility with Apify MCP Server (Claude, Cursor, Windsurf), n8n, Make, Clay, Google Sheets, and
apify-clientSDKs.- Pre-Built Automation Template: Ready-to-Import n8n Workflow (
1_sec_form4_insider_telegram.json— SEC Form 4 Insider Buying Alerts to Telegram)
What Does SEC Form 4 Insider Trading Scraper & XML Parser API Do?
Collecting, normalizing, and monitoring SEC Form 4 Insider Trading data manually across pagination, raw registries, or unstructured endpoints slows down engineering, research, and GTM pipelines. SEC Form 4 Insider Trading Scraper & XML Parser API converts public SEC Form 4 Insider Trading data into a deterministic, schema-validated dataset and REST API built for quantitative hedge funds, equity research analysts, fintech alert pipelines, M&A/VC deal-sourcing teams, and financial AI agents (Claude MCP and Cursor).
- Schema-Validated Output: Every item conforms to a strict Apify Dataset Schema so downstream SQL warehouses, spreadsheets, and LLM tools never break on unexpected types.
- Fast Incremental Filtering: Configure
tickers,transactionCodes,minDollarValueto run targeted lookups in ~3–5 seconds or pull larger catalog snapshots on demand. - Full Apify Platform Capabilities: Schedule recurring runs (hourly, daily, or weekly), trigger webhooks on run completion, stream records via the Apify Dataset REST API, or export one-click CSV, Excel (
.xlsx), JSON, or XML files.
SEC Form 4 Insider Trading Data Fields Extracted
Each row in your output dataset includes the following structured fields:
| Field | Type | Description | Real Sample Value |
|---|---|---|---|
ticker | string | ticker | "NVDA" |
companyName | string | companyName | "NVIDIA CORP" |
cik | string | cik | "0001045810" |
filingDate | string | filingDate | "2026-09-23" |
transactionDate | string | transactionDate | "2026-09-21" |
insiderName | string | insiderName | "Teter Timothy S." |
insiderRole | string | insiderRole | "EVP, General Counsel and Sec" |
insiderCik | string | insiderCik | "0001696841" |
isOfficer | boolean | isOfficer | true |
isDirector | boolean | isDirector | false |
isTenPercentOwner | boolean | Is Ten Percent Owner field | false |
securityType | string | Security Type field | "Common Stock" |
How to Extract SEC Form 4 Insider Trading Data
Run this Actor in under 30 seconds from Apify Console with zero code:
- Click Try for free on this Actor's Apify Store page to open it in Apify Console.
- Review or customize
tickers,transactionCodes,minDollarValue(every input is prefilled so you can test immediately with one click). - Click Start — execution typically completes in a few seconds on
256 MBRAM. - Inspect the clean tabular preview in the Output tab or download your dataset in JSON, CSV, Excel (
.xlsx), or XML. - (Optional) Open Schedules or Integrations in Apify Console to automate recurring runs into n8n, Make, Slack, Webhooks, or Google Sheets.
Input Parameters
| Parameter | Type | Default / Prefill | Description |
|---|---|---|---|
tickers | array | ["NVDA", "AAPL", "TSLA"] | Enter stock ticker symbols to extract parsed insider transactions. |
transactionCodes | array | ["P", "S"] | Filter specific SEC trade codes: 'P' = Open Market Purchase, 'S' = Open Market Sale, 'A' = Grant/Award, 'M' = Option Exercise. Leave empty to extract all. |
minDollarValue | integer | 0 | Only return insider transactions where Total Dollar Value (Shares x Price) is greater than or equal to this amount. |
maxFilingsPerTicker | integer | 10 | Maximum number of recent Form 4 filings to scan per ticker. |
Input and Sample JSON Output
Example Input
{"tickers": ["NVDA","AAPL","TSLA"],"transactionCodes": ["P","S"],"minDollarValue": 0,"maxFilingsPerTicker": 10}
Real Sample Output
[{"ticker": "NVDA","companyName": "NVIDIA CORP","cik": "0001045810","filingDate": "2026-09-23","transactionDate": "2026-09-21","insiderName": "Teter Timothy S.","insiderRole": "EVP, General Counsel and Sec","insiderCik": "0001696841","isOfficer": true,"isDirector": false,"isTenPercentOwner": false,"securityType": "Common Stock"},{"ticker": "NVDA","companyName": "NVIDIA CORP","cik": "0001045810","filingDate": "2026-09-23","transactionDate": "2026-09-21","insiderName": "Teter Timothy S.","insiderRole": "EVP, General Counsel and Sec","insiderCik": "0001696841","isOfficer": true,"isDirector": false,"isTenPercentOwner": false,"securityType": "Common Stock"}]
High-Intent Use Cases for SEC Form 4 Insider Trading Data
| Team / Workflow | How Teams Use This Actor |
|---|---|
| Quant & Equity Research Teams | Stream structured regulatory disclosures, filings, and institutional changes directly into Python/Pandas models and alpha dashboards. |
| Fintech Alert Bots & Newsletters | Trigger automated Telegram, Slack, Discord, or email alerts via n8n and webhooks the moment new filings land. |
| VC, PE & M&A Deal Sourcing | Monitor capital raises, executive transactions, activist stakes, and banking benchmarks before mainstream terminals surface them. |
| Financial AI Agents (MCP & RAG) | Ground Claude, Cursor, and financial copilots with deterministic, structured filing records instead of unverified web summaries. |
How Much Does SEC Form 4 Insider Trading Scraper & XML Parser API Cost?
This Actor uses transparent Pay-Per-Event (PPE) billing with automatic Bronze (10%), Silver (20%), and Gold (30%) Store tier discounts and zero proxy surcharges:
| Event / Volume Scenario | Standard Rate | Gold Tier Rate | Estimated Total |
|---|---|---|---|
Actor Startup (apify-actor-start) | $0.01 / run | $0.007 / run | $0.01 |
Per Record (transaction-extracted) | $0.005 / item | $0.0035 / item | $0.005 |
| Quick Targeted Run (50 records) | PPE | PPE | $0.26 |
| 1,000 Extracted Records | PPE | PPE | $5.01 ($3.51 on Gold) |
| Apify Free Plan ($5.00/mo Credit) | Covered Free | — | ~998 records / month for $0 |
Automate with Python, Node.js, n8n & MCP
Python (apify-client)
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_API_TOKEN")run_input = {"tickers": ["NVDA","AAPL","TSLA"],"transactionCodes": ["P","S"],"minDollarValue": 0,"maxFilingsPerTicker": 10}run = client.actor("mehdad-datalabs/sec-form-4-insider-trading-scraper-xml-parser-api").call(run_input=run_input)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript / TypeScript (apify-client)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('mehdad-datalabs/sec-form-4-insider-trading-scraper-xml-parser-api').call({"tickers": ["NVDA", "AAPL", "TSLA"], "transactionCodes": ["P", "S"], "minDollarValue": 0, "maxFilingsPerTicker": 10});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Claude Desktop, Cursor & AI Agents (Apify MCP Server)
Expose mehdad-datalabs/sec-form-4-insider-trading-scraper-xml-parser-api directly as a callable tool inside Claude Desktop, Claude Code, Cursor, or Windsurf using @apify/actors-mcp-server:
{"mcpServers": {"mehdad-datalabs": {"command": "npx","args": ["-y","@apify/actors-mcp-server","--actors","mehdad-datalabs/sec-form-4-insider-trading-scraper-xml-parser-api"],"env": {"APIFY_TOKEN": "YOUR_APIFY_API_TOKEN"}}}}
n8n, Make.com & Clay Workflows
Connect this Actor via the native Apify node in n8n or Make, or call https://api.apify.com/v2/acts/mehdad-datalabs~sec-form-4-insider-trading-scraper-xml-parser-api/run-sync-get-dataset-items from Clay HTTP API columns. Browse ready-to-import automation blueprints in our Open-Source API Suite & n8n Templates Repository.
Frequently Asked Questions
Do I need residential proxies or external API keys to run SEC Form 4 Insider Trading Scraper & XML Parser API?
No. This Actor runs over lightweight async httpx requests on 256 MB RAM with zero proxy costs and zero third-party API keys required.
Can I export extracted SEC Form 4 Insider Trading data to CSV, Excel, or Google Sheets?
Yes. Every run generates a structured Apify Dataset that you can download in CSV, Excel (.xlsx), JSON, or XML from the Output tab, or sync automatically to Google Sheets, Airtable, Snowflake, or Supabase.
Is extracting SEC Form 4 Insider Trading metadata compliant and public?
Yes. This Actor strictly accesses publicly mandated regulatory disclosures, public filings, and open government/financial registries. No private accounts, gated credentials, or personal login sessions are accessed.
Can AI agents call this Actor on demand via Model Context Protocol (MCP)?
Yes. Both Apify's hosted MCP server (mcp.apify.com) and @apify/actors-mcp-server read this Actor's prefilled input schema directly so LLMs can query fresh SEC Form 4 Insider Trading records autonomously.
How can I enrich domains or repositories returned by this Actor?
Chain the output URLs or company names into our B2B Website Email, Phone & Tech Stack Scraper inside n8n, Clay, Make, or Python.
Related Financial, SEC EDGAR & Institutional Filing APIs by Mehdad DataLabs
Explore all 99+ lightweight JSON APIs from Mehdad DataLabs:
| Actor | Best For | Apify Store Link |
|---|---|---|
| SEC Form 13F Hedge Fund Institutional Holdings API | Track quarterly whale portfolios & institutional 13F-HR positions | View on Apify Store |
| B2B Website Email, Phone & Tech Stack Scraper | Enrich company domains with verified contact routes & tech stacks | View on Apify Store |
| Y Combinator (YC) Startup Directory & B2B Lead API | Extract YC-backed startups, batches, founders & company metadata | View on Apify Store |
Need a custom filter, extra output column, or dedicated enterprise webhook pipeline? Open a ticket in the Issues tab on Apify Store — we actively maintain this Actor and ship updates fast.