How to get SEC Form 8-K events into pandas for research
Short answer
An 8-K reports a material event, and each filing lists item numbers (for example 1.01 material agreements, 2.02 results, 5.02 officer departures and appointments). The Eventwren dataset has an "events" table (one row per item) and a "filings" table; load them and filter by item number.
- pip install datasets
- Load the "events" config for one row per 8-K item.
- Filter by item number (5.02, 1.01, 2.02...).
- Join to "filings" for the filing link and date.
Copy-paste code
Data: CyberMax dataset on Hugging Face; load it with the datasets library (pip install datasets)
from datasets import load_dataset
ds = load_dataset("CyberMax-tools/eventwren-sec-8k-events", "events", split="train")
df = ds.to_pandas()
print(len(df), "rows")
print(df.head())Good to know
Public SEC data; not investment advice.
Insidewell API: Fresh insider buys and sales, one API call
from $5Want live insider trades for the same companies? The Insidewell API returns fresh Form 4 buys and sales by ticker: $5 for 2,000 calls.
Secure checkout · 14-day fix-or-refund if it doesn't work as described (terms)Free: the Free API Starter Kit
Copy-paste calls for 4 APIs with free daily tiers (CVE priority, VIN recalls, US duty rates, email checks), then 5 short emails on KEV/EPSS, MCP and free data.