Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edgarkit examples

Working code examples built on top of the edgarkit API for SEC EDGAR filings. Every example is deployable as-is, no boilerplate.

What's here

  • Insider alert Discord bot — Discord bot that pings a channel every time an insider files a Form 4 open-market purchase above a threshold. ~40 lines of Node.
  • Cluster-buy screener — Script that scans all recent Form 4 filings and surfaces companies where 3+ insiders are buying in a rolling 30-day window. Prints results sorted by dollar value.

Coming soon (open a PR if you want to build one)

  • 10-K change monitor — Diff the latest 10-K filing against last year's and surface material changes in risk factors, MD&A, and legal proceedings.
  • Congressional trading tracker — Match PTR filings from Congress against unusual insider activity at the same tickers.
  • 13F clone strategy — Follow a specific fund's quarterly filings and rebalance a paper portfolio automatically.
  • 8-K real-time news feed — Slack/Discord alerts on material 8-K filings (item 5.02 executive departures, item 8.01 other events, guidance updates).

Setup

Every example expects one environment variable:

export EDGARKIT_API_KEY=ek_live_your_key_here

Get a free key at edgarkit.com/#signup. Free tier is 10,000 requests per month, no credit card required.

Then in any example directory:

npm install
node index.js

Why edgarkit

The SEC publishes ~2,000 filings per day across 100+ form types. Parsing EDGAR's XML directly is painful, the docs are inconsistent, and the paid alternatives (Finnhub, Polygon, FMP) all have 12 to 24 hour delays on Form 4. edgarkit polls EDGAR every 30 to 60 seconds, parses everything, and exposes it via clean REST endpoints.

Built by Mat Arena. MIT licensed.

About

Working code examples on top of the edgarkit SEC EDGAR API. Insider trade Discord bot, cluster-buy screener, more coming.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages