SEC EDGAR is the canonical upstream source for both Crunchbase's early-stage US funding rounds (Form D) and OpenInsider's corporate insider buying feeds (Form 4) — and its official XML/JSON feeds are completely free. Instead of scraping HTML tables or paying enterprise data-broker fees, developers and quant teams can parse SEC Form D, Form 4, and Form 8-K filings directly in Go or Python.
However, raw EDGAR APIs have subtle quirks that silently drop filings, corrupt position-change math, and flood startup feeds with SPVs. After building FilingSignal (sec-edgar-funding-insider-mcp) and benchmarking live SEC runs on November 24, 2026, here are the five real-world engineering traps we uncovered and how to handle them in production.
Live Open SEC Dataset (Nov 2026): We parsed 33 SPV-filtered US startup Form D rounds, 47 VWAP-consolidated Form 4 insider trades, 3 multi-insider cluster buys, and 30 Form 8-K catalysts directly from official SEC EDGAR XML/JSON. Explore & download MIT CSV: Live SEC Form D & Form 4 Cluster Buys Explorer · Run locally via 6-tool MCP:
npx -y github:yun87457-web/sec-edgar-funding-insider-mcp
Live Benchmark Snapshot (November 24, 2026)
| SEC Filing Feed | Raw Filings / Rows | Clean Signal Output | Key Normalization Applied |
|---|---|---|---|
| Form D (Startup Raises) | ~130 raw Reg D filings | 33 US operating startups | Dual-layer SPV / 3(c)(7) fund classifier stripped ~75% fund noise |
| Form 4 (Insider Trades) | Multi-fill XML transactions | 47 VWAP-consolidated trades | Partial fills merged (e.g., TYL 9 fills -> 1 row, $8.27M) |
| Form 4 Cluster Buys | Multi-insider open-market buys | 3 cluster buy signals | Grouped by issuer + window + OTC kill-switch filter |
| Form 8-K (Catalysts) | Latest corporate event filings | 30 Form 8-K catalysts | -index.htm exhibit table lookup for opaque EX-99.1 filenames |
5 Real SEC EDGAR Engineering Traps (and How to Fix Them)
1. The EFTS forms=D,D/A & forms=4,4/A Query Bug Drops 99% of Filings
When querying https://efts.sec.gov/LATEST/search-index, passing comma-separated amendment syntax like forms=D,D/A or forms=4,4/A causes the search endpoint to silently miss almost all valid filings—dropping roughly 99% of expected results compared to querying base forms (forms=D, forms=4, forms=8-K) cleanly. Always verify hit counts against the daily SEC index and query base form codes rather than mixing /A amendments in a single EFTS parameter string.
2. 72.6% Archive CIK Mismatch from Third-Party Filing Agents
When you fetch an accession number (adsh) from EFTS, the intuitive archive URL is https://www.sec.gov/Archives/edgar/data/{ciks[0]}/{adsh_nodash}/.... In practice, 72.6% of filings submitted via third-party filing agents or multi-entity trusts fail with HTTP 404 on ciks[0] because the archive directory is keyed under a secondary CIK in the ciks array. Your fetcher must iterate through ciks[0..n] before constructing the {adsh} XML path, falling back cleanly if the primary filer CIK isn't the archive owner.
3. Dual-Layer Form D SPV & Fund Classifier (~75% Noise Removal)
Roughly three-quarters of raw Form D filings are not operating startups—they are AngelList syndicates, Sydecar SPVs, StartEngine crowdfunding vehicles, Delaware series LLCs, and Investment Company Act 3(c)(7) / 3(c)(1) pooled investment funds. Without filtering both structured XML fields (investmentFundInfo.isInvestmentFundType, federalExemptionsExclusions) and entity-name / industry-group heuristics, any "newly funded startups" feed becomes unusable for VC sourcing or B2B sales.
4. Form 4 Partial-Fill VWAP Consolidation, NaN/Inf Guards & OTC Kill-Switch
One executive buy order frequently executes across 5–15 partial broker fills inside a single Form 4 XML (nonDerivativeTransaction), splitting a single trade into noisy rows. Consolidating fills by (insider, transactionCode, transactionDate) with volume-weighted average price (VWAP) collapses fragments cleanly—for example, merging 9 partial fills on TYL into 1 unified $8.27M row.
Two additional safeguards are mandatory for quant pipelines:
-
preShares == 0NaN/Infsafety: New-director or initial open-market buys start from0prior shares. Computingdelta / preShareswithout a zero guard throwsInf/NaNinto downstream JSON or Python DataFrames. -
company_tickers_exchange.jsonOTC kill-switch: Cross-referencing SEC's officialcompany_tickers_exchange.jsonmaps every issuer CIK toNasdaq,NYSE, orCBOEand drops OTC penny stocks before cluster-buy scoring.
5. Form 8-K EX-99.1 Opaque Filename Discovery via -index.htm
Press releases and material event exhibits (Item 2.02, Item 7.01, Item 8.01) are rarely named ex99-1.htm. Filers upload arbitrary slugs like d849201dex991.htm or q3earningsrelease.htm. Reliable Form 8-K extraction requires fetching the filing's -index.htm table first, locating the row labeled EX-99.1, and resolving its exact href.
Python Example: Querying Clean Form D & Form 4 Signals via Apify
You can run the full Go/Python pipeline with built-in SPV filtering, multi-CIK fallback, VWAP consolidation, and SEC User-Agent rate limiting directly via apify-client:
from apify_client import ApifyClient client = ApifyClient("YOUR_APIFY_TOKEN") # 1. Fetch SPV-filtered US startup Form D raises form_d_run = client.actor("spiky_closet/sec-funding-insider-mcp").call(run_input={ "mode": "form_d_startups", "lookbackDays": 7, "minRaisedUsd": 500000, "excludeFundsAndSpvs": True, "maxResults": 35, }) for deal in client.dataset(form_d_run["defaultDatasetId"]).iterate_items(): print( f"{deal['issuerName']} ({deal.get('state')}) | " f"raised=${deal.get('totalAmountSold', 0):,.0f} | " f"filed={deal['filingDate']}" ) # 2. Fetch VWAP-consolidated Form 4 multi-insider cluster buys cluster_run = client.actor("spiky_closet/sec-funding-insider-mcp").call(run_input={ "mode": "form_4_cluster_buys", "lookbackDays": 14, "excludeOtc": True, "minTotalBuyUsd": 100000, }) for cluster in client.dataset(cluster_run["defaultDatasetId"]).iterate_items(): print( f"{cluster['ticker']} | insiders={cluster['insiderCount']} | " f"total=${cluster['totalValueUsd']:,.0f} | vwap=${cluster['vwapPrice']:.2f}" ) Zero-Dependency 6-Tool MCP Config (Claude Desktop, Cursor & Agents)
Connect all 6 SEC EDGAR tools (Form D startups, Form 4 VWAP insider buys, cluster-buy detector, Form 8-K EX-99.1 catalysts, CIK/ticker resolver, and filing inspector) locally with zero Python environment setup:
{ "mcpServers": { "sec-edgar-funding-insider": { "command": "npx", "args": ["-y", "github:yun87457-web/sec-edgar-funding-insider-mcp"] } } } Honest Scope & Data Limitations
- Form D does not include websites or contact emails: SEC Regulation D XML disclosures list legal entity names, state/country, executive/director names, offering totals, and exemption codes—not marketing domains or founder email addresses. Pair Form D outputs with your own domain enrichment step if doing outbound.
- Form 4 statutory filing lag: Corporate insiders have up to 2 business days under SEC Section 16(a) to file Form 4 after execution (
transactionDatevs.filingDate). - Research & engineering use only: All datasets and outputs are structured public SEC filings for engineering, quant research, and market intelligence workflows—not investment advice.
Open Source, Live Explorer & Hosted Runner
- Interactive Top-SEC Dataset Explorer & MIT CSV Download: https://yun87457-web.github.io/sec-edgar-funding-insider-mcp/
- GitHub Repository & 6-Tool MCP Server (
npx): https://github.com/yun87457-web/sec-edgar-funding-insider-mcp - Hosted Apify Actor (
spiky_closet/sec-funding-insider-mcp): https://apify.com/spiky_closet/sec-funding-insider-mcp

