edgartools-sec-data

Solid

How to pull SEC EDGAR data with the edgartools Python package — company lookup, filings, XBRL financial statements, and filing sections like Item 1A risk factors. Use whenever a task involves SEC filings, 10-K/10-Q data, or company financials.

Data & Documents 41 stars 8 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# edgartools: SEC EDGAR data access `edgartools` is the desk's standard way to read SEC data. It is preinstalled in your environment. Work in Python (a script or `python -c`), not by fetching sec.gov pages by hand. ## Always set your identity first The SEC requires a contact identity on automated requests. Do this before any other call, every session: ```python from edgar import set_identity set_identity("Research Desk workshop attendee@example.com") # use the EDGAR_IDENTITY value you were given ``` (Equivalently, the `EDGAR_IDENTITY` environment variable, exported before running Python.) ## Companies and filings ```python from edgar import Company company = Company("NVDA") # by ticker (or CIK) company.name, company.cik, company.industry filings = company.get_filings(form="10-K") # also "10-Q", "8-K", "DEF 14A", ... latest_10k = filings.latest() # most recent of that form latest_10q = company.get_filings(form="10-Q").latest() latest_10k.form, latest_10k.filing_date, latest_10k.accession_no ``` Pick whichever of the latest 10-K / 10-Q is more recent when asked for "the most recent filing". Foreign private issuers file 20-F instead of 10-K. ## Reading the filing ```python filing = latest_10k tenk = filing.obj() # rich object for 10-K/10-Q: sections, financials # Sections (10-K item numbers; 10-Q uses Part/Item naming) risk_factors = tenk["Item 1A"] # Risk Factors text mda = tenk["Item 7"] # Management's Dis...

Details

Author
thevibeworks
Repository
thevibeworks/claude-code-docs
Created
1 years ago
Last Updated
today
Language
Jupyter Notebook
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

lib-edgartools

edgartools is the default free SEC EDGAR client - typed objects for 20+ form types, XBRL statements, no API key - and it 403s on every request until you call set_identity(). TRIGGER - edgartools, "from edgar import Company, set_identity", set_identity, Company("AAPL"), get_filings, filing.xbrl(), get_facts, get_financials, accession number, CIK, ticker-to-CIK, 10-K, 10-Q, 8-K, 13F, Forms 3/4/5, EDGAR full-text search, "HTTP 403" from sec.gov, SEC User-Agent required, SEC 10 requests per second, edgartools MCP server, edgartools[ai]. 442 releases have moved the API repeatedly and the classifier is still Beta, so any snippet recalled from memory is probably wrong for the installed version. SKIP for lib-fredapi, which is the skill for macro series and revisions. SKIP when the question is WHICH library to choose, or names no library at all - both belong to the domain skill.

1 Updated today
howard-lynn-ye
AI & Automation Listed

sec_edgar

SEC EDGAR provides comprehensive US public company filings and financial data, including company info, filings, XBRL facts, financial statements, insider trades, institutional holdings, and material company events.

6 Updated 1 months ago
serejaris
AI & Automation Listed

sec-edgar-us

Look up U.S. public companies for free via the official SEC EDGAR APIs - company submissions and filing history (10-K, 10-Q, 8-K, Form 4), XBRL financial facts (assets, revenue, net income), ticker-to-CIK resolution, and full-text search across filings 2001-present. Use for KYB / know-your-business checks on SEC-registered issuers, financial due diligence, filing monitoring, and reading audited financials straight from the source. Trigger on: 'SEC EDGAR', 'SEC filings', 'find a 10-K', '10-Q', '8-K', 'CIK lookup', 'ticker to CIK', 'company financials from SEC', 'XBRL facts', 'is this a public company', 'US public company lookup'. EDGAR is free and covers SEC filers only; for private US and non-US companies it hands off to the paid regdata registry actors.

6 Updated 1 months ago
Nolpak14