XBRL Financial Data
EdgarTools provides powerful, elegant tools for working with XBRL financial data from SEC filings. Extract financial statements, analyze multi-period trends, and work with complex dimensional data - all with a simple, intuitive API.
Quick Start
New to XBRL in EdgarTools? Start here:
- Extract Financial Statements - Get balance sheets, income statements, and cash flows in 5 minutes (Beginner)
- Choosing the Right API - Understand when to use
filing.xbrl()vscompany.get_facts()(Beginner)
Common Tasks
Jump to what you need to do:
- Extract Financial Statements - Get standardized financial statements from any filing
- Multi-Period Analysis - Compare financials across quarters and years
- Analyze Segments - Work with geographic and business segment breakdowns (Intermediate)
- Query XBRL Facts - Search and filter raw XBRL facts programmatically (Advanced)
Understanding XBRL
Conceptual guides explaining how EdgarTools handles XBRL data:
- Dimension Handling - How EdgarTools processes segments, scenarios, and other dimensions (Intermediate)
- Standardization - How financial statements are normalized across companies (Intermediate)
API Reference
Detailed API documentation:
- XBRL API - Complete reference for the
XBRLclass and methods - EntityFacts API - Reference for company-level facts API
- StatementType Quick Reference - All available statement types and their uses
Getting Help
Troubleshooting Tips:
- Statement not found? Check if the filing contains XBRL data using
filing.xbrl() - Unexpected dimensions? See Dimension Handling for filtering strategies
- Missing values? Some companies use non-standard tags - use
statement.factsto explore raw data
Need More Help?
- Open an issue on GitHub - Report bugs or request features
- View Examples - Browse our collection of practical guides and examples
Need help building an XBRL pipeline?
The code above extracts XBRL data for one company. Scaling to thousands — with taxonomy normalization, custom extension mapping, and multi-year consistency — is where it gets hard.
From the creator of edgartools. Book a call →
Note: EdgarTools handles the complexity of XBRL so you don't have to. If you're new to XBRL, don't worry - our guides assume no prior knowledge of XBRL or SEC filings.