Home / Backtesting & trading frameworks
edgartools
Python library for structured SEC EDGAR filings
What it is
An open-source Python library that turns SEC EDGAR filings into structured data, covering income statements, balance sheets, cash flow, insider trades, 13F holdings, 8-K events, and more than twenty other form types as typed objects and pandas DataFrames. XBRL-standardized financials support cross-company comparison, and built-in rate-limit handling, caching, an MCP server, and LLM-ready text make it usable in data pipelines and AI workflows. Quant developers and analysts who want programmatic access to US filings without manual parsing will find it a good fit. The library covers only SEC EDGAR filings, so it does not provide market price data or non-US sources, and users must supply an email address for SEC identification with each request.
At a glance
Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Data source, Data analysis |
| Markets | US equities |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Commits today |
Popularity snapshots
Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +61 , latest 2,896. Gaps mean no snapshot was taken that day.
AI-native SEC EDGAR library with XBRL financials, clean text extraction, 17+ typed forms, and pandas DataFrames.
Similar tools
Python library for FinViz financial data and screening
Pythonic downloader for Yahoo! Finance market data
Typed Python access to SEC company filing facts
Python library for real-time stock and option quotes
Social and news sentiment for stocks and prediction markets
Python package for working with SEC filings data