Extract data from government portals like SEC filings
This guide demonstrates accessing public information without authentication. For authenticated access take a look at our Guide: Scrape behind login walls.
This guide shows how to use Smooth to extract information from government portals. You’ll learn to automate the search and extraction of financial data from complex government websites, perfect for financial analysis, compliance research, and due diligence.
1
Search SEC Filings
Navigate to the SEC’s EDGAR database and search for a specific company’s filings.
Python
Copy
Ask AI
sec_search_task = """Go to https://www.sec.gov/search-filings and search for "Apple Inc".Find their most recent 10-K filing.Extract:- Filing date- Document title- Total net sales figure for the most recent fiscal yearReturn the extracted info."""
2
Execute SEC Search
Run the search task to find Apple’s latest 10-K filing.