Found a Python library that does all the heavy lifting for working with SEC EDGAR API - EdgarTools from Dwight Gunning

Published: February 2, 2026

EdgarTools

He has solved some really hard problems there.

I am building a tool to compare quarterly financials across companies - Microsoft vs Google vs Amazon, last 12 quarters, custom views (side-by-side, QoQ, YoY, ratios and charts exactly the way I want it in terms of formats and computations).

The problem: SEC EDGAR has a great data API. But still a bit of pain and time-consuming to parse, standardize and organize things even with AI Coders (I use Claude Code).

Asked Claude Code to find existing solutions. Don't reinvent the wheel.

EdgarTools came up. Now using it as the backbone for a FastAPI backend - wrapping the library functions as API endpoints, React frontend pulls the data.

I'm using this for my own quarterly analysis first. Once I get the format right, I'll publish the tool - open source like my other apps.

If you work with SEC filings and don't want to spend time on parsing and standardization, use this library. It does the heavy lifting.

Resources