SEC EDGAR 8-K Filings Cleaner avatar

SEC EDGAR 8-K Filings Cleaner

Under maintenance

Pricing

Pay per usage

Go to Apify Store
SEC EDGAR 8-K Filings Cleaner

SEC EDGAR 8-K Filings Cleaner

Under maintenance

Fetches recent SEC EDGAR Form 8-K filings (current reports / material events) for the companies you choose and returns each filing cleaned to structured JSON — plain-text bodies, document links and one record per filing.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Sharf Abutaleb

Sharf Abutaleb

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

12 days ago

Last modified

Categories

Features

Limited permissions

Share

SEC EDGAR 8-K Filings Cleaner — Apify Actor

Status: PUBLISHED 2026-11-10 — live on the Apify Store at https://apify.com/diamondlike_buttonhole/sec-edgar-8k-cleaner (account: sharfremote@outlook.com, username diamondlike_buttonhole, free plan). One Console test run succeeded 2026-11-10 (AAPL + MSFT, 10 cleaned 8-K records). NOT YET MONETIZED — $0.05/event pricing is declared in actor.json but not enforced until the user completes Apify billing details + payment method + KYC; Apify credit is not cash in hand (withdrawal minimums $20 PayPal / $100 bank, monthly).

A pay-per-event Apify Actor that fetches recent SEC EDGAR Form 8-K filings (current reports / material events) for the companies you list and returns each filing cleaned to structured JSON.

Niche chosen — and why

SEC EDGAR Form 8-K filings, cleaned to JSON.

  • Free source, no login, no API key, no paywall: the EDGAR APIs (data.sec.gov/submissions, sec.gov/files/company_tickers.json, sec.gov/Archives) are free public endpoints. The only requirement is identifying yourself in the User-Agent header (the Actor takes a contactEmail input for exactly this) and staying under 10 requests/sec (the Actor sleeps 250 ms between requests).
  • Licence-clean: US federal filings are public-domain records. The Actor prices the cleaning and structuring (HTML/XBRL stripping, item detection, normalised fields, stable URLs) — it does not resell raw data.
  • Real, recurring demand: 8-Ks are the filings investors, analysts, journalists and researchers check first after a material event (earnings, leadership changes, M&A, bankruptcies). Raw EDGAR HTML is painful to consume; a clean JSON record per filing is the useful product.
  • Why not the alternatives: data.gov's catalogue is mostly metadata about datasets (thin per-record value); SAM.gov federal awards overlap the user's separate Ohio/government track and were deliberately avoided. 8-Ks are the cleanest fit: one filing = one obvious billable event.

What a caller gets

One JSON record per filing, pushed to the Apify dataset. Fields (see OUTPUT_SCHEMA.json):

FieldMeaning
ticker, cik, companyNameWho filed
form8-K or 8-K/A
filingDate, reportDateWhen filed / report date
accessionNumberEDGAR accession number
primaryDocument, primaryDocumentUrlFiling document + direct SEC URL
fileSizeBytesDocument size, if reported
items8-K item numbers detected, e.g. ["2.02", "9.01"]
bodyText, bodyChars, bodyTruncated, bodyErrorCleaned plain-text body (HTML/XBRL stripped, truncated to maxBodyChars), or the error if the download failed
source, fetchedAtProvenance + timestamp

Set includeBodyText: false for metadata + URLs only (faster, lighter).

Sample input

example_input.json:

{
"contactEmail": "you@example.com",
"tickers": ["AAPL", "MSFT"],
"formTypes": ["8-K"],
"maxFilingsPerCompany": 2,
"includeBodyText": true,
"maxBodyChars": 20000
}

You can use tickers OR ciks (e.g. "ciks": [320193]) or both. Max 20 companies per run, max 20 filings per company. Optional startDate / endDate (YYYY-MM-DD) filter by filing date.

Sample output

example_output.json — two records (Apple + Microsoft), one per 8-K. Abbreviated first record:

{
"ticker": "AAPL",
"cik": "0000320193",
"companyName": "Apple Inc.",
"form": "8-K",
"filingDate": "2024-11-01",
"reportDate": "2024-10-31",
"accessionNumber": "0000320193-24-000123",
"primaryDocument": "aapl-20240928.htm",
"primaryDocumentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm",
"items": ["2.02", "9.01"],
"bodyText": "UNITED STATES SECURITIES AND EXCHANGE COMMISSION ... Item 2.02 Results of Operations and Financial Condition. ...",
"bodyChars": 612,
"bodyTruncated": false,
"bodyError": null,
"source": "SEC EDGAR (data.sec.gov / sec.gov Archives) — US public-domain filings",
"fetchedAt": "2026-11-05T06:00:00.000Z"
}

Honesty note on the example: the structure, field names, CIKs, company names and item numbers match real EDGAR records; the accession numbers, document filenames and body excerpts in example_output.json are illustrative sample values, not a claim about a specific live filing. Real runs fetch live data from EDGAR, so real output is always genuine.

Pricing — pay per event

  • $0.05 per cleaned 8-K filing record (one filing = one event). Priced at the top of the $0.01–$0.05 range because each event includes a document download + HTML/XBRL cleaning, not just a metadata lookup.
  • Runs returning zero filings cost $0.
  • Developer receives 80% of event revenue minus Apify compute costs (per Apify Store pay-per-event terms); payout minimums are $20 via PayPal / $100 via bank transfer (per the brief — confirm live in the Store terms at publish time).

Honest $1,000 math — do NOT expect $1,000 from this overnight

TargetEvents needed at $0.05 grossDeveloper share (80%, before compute)
$1 credited25 events$0.80
$20 PayPal payout minimum500 events$16.00
$100 bank payout minimum2,500 events$80.00
$1,000 gross20,000 paid events$800.00
$1,000 to the developer (80%)25,000 paid events$1,000.00

$1,000 would need 25,000 paid events at $0.05 — i.e. thousands of paying users/runs, Store discovery, reviews and time. This Actor is a conditional test of the Apify route (does a real, working, Store-ready Actor exist and can it earn its first paid events?), not a plausible overnight $1,000. No revenue is expected tonight; the first realistic milestone is a first paid event / first $20 PayPal payout, after publication, Store review and discovery — all of which are still ahead.

Run locally

node --check main.js # syntax check
npm test # exercises cleanBodyText, detectItems, padCik, validateInput (no network)
node main.js # runs with example_input.json, writes output.json (needs network to EDGAR)

No dependencies, no credentials, no API keys. Node ≥ 18 (native fetch). On Apify, @apify/sdk is used if installed (Actor.getInput() / Actor.pushData()); without it the Actor falls back to INPUT.json / APIFY_INPUT env / example_input.json and writes output.json.

Files

FilePurpose
actor.jsonActor metadata, input schema, pay-per-event pricing ($0.05/event)
main.jsActor code — fetch, validate, clean, push
INPUT_SCHEMA.jsonInput schema (same as in actor.json)
OUTPUT_SCHEMA.jsonOutput record schema (one record per filing)
example_input.jsonSample input (AAPL + MSFT, 2 filings each)
example_output.jsonSample output (2 records, real-shaped)
package.jsonMetadata + npm test / npm start
DockerfileApify build (apify/actor-node:20)
STORE_LISTING.mdStore listing draft (text only)

Live verification — DONE 2026-11-09 (after explicit user go-ahead for the test)

End-to-end run against live EDGAR completed 2026-11-09 ~09:46 CST (node main.js with INPUT.json: AAPL + MSFT, 2 filings each, contactEmail sharfremote@outlook.com). Result: 4 real 8-K records in output.json — Apple 8-K filed 2026-11-02 (items 2.02, 9.01, accession 0000320193-26-000024), Apple 8-K filed 2026-07-30 (2.02, 9.01), Microsoft 8-K filed 2026-11-05 (item 5.02), Microsoft 8-K filed 2026-11-04 (items 8.01, 9.01). All bodies are cleaned plain text (2,652–8,401 chars), no HTML left, no body errors, no truncation. One accession was independently re-confirmed against a fresh data.sec.gov submissions fetch (0000320193-26-000024 = Apple 8-K, filed 2026-11-02). node --check and npm test pass. All JSON files parse.

Not verified locally: the Docker image build (docker is not installed in this VM — Apify builds Dockerfile in its cloud at publish time; the Actor has zero npm dependencies, so build risk is low). Not done: publication — needs the user's Apify account in their real name + KYC + payout (see PUBLICATION_CHECKLIST.md).