Federal Register API Script Lists Proposed Rules Closing for Comment Within 14 Days
A DEV Community tutorial explains how to use the open, keyless FederalRegister.gov API in Python to find proposed federal rules whose public comment period closes soon. The guide uses a single endpoint filtered by document type and comment deadline, with no account or API key required. A short script checks robots.txt, pages through the results, and sorts them so the nearest deadlines appear first. The output is saved as a CSV with details such as the agencies, docket IDs and comment links. The author says the method was tested against the live API in November 2026.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in