How to Scrape Federal Register Rules and Notices
Export structured US federal rules, proposed rules, notices, and presidential documents through the official API.

the official Federal Register documents API already exposes structured records, so browser scraping would add fragility without adding data. The Federal Register Scraper handles pagination, retries, normalization, deduplication, and Apify dataset output.
Pick a bounded query
The Actor accepts search terms, document types, agency slugs, publication dates, and newest or oldest ordering. Start with one narrow query and a small result cap. Inspect the returned rows before increasing volume. A broad default is convenient for a demo, but it is a poor production specification.
{
"queries": [
"artificial intelligence"
],
"documentTypes": [
"RULE",
"PRORULE"
],
"maxResultsPerQuery": 100
}Each row contains document type, title, abstract, agencies, publication and effective dates, comment deadline, citation, docket IDs, regulation identifiers, PDF, and HTML links. The natural key is document_number. Use it when merging reruns; dataset row order is not an identity.
Export and verify
Run the Actor from the Apify Console, API, or a saved Task. JSON preserves arrays and nulls best. CSV is convenient for a quick spreadsheet review, but inspect how arrays were serialized before importing it into a warehouse.
Open several source links and compare identifiers, dates, and one multi-value field with the published record. A search result is not a legal conclusion. Proposed rules, final rules, and notices have different effects. Preserve document type and official links so counsel or policy owners can review the actual publication.
A good first run answers two questions: does the query find the intended population, and can every important row be traced back to the publisher? Scale only after both answers are yes.
Frequently asked questions
Does this Actor use an official data source?
Yes. It queries the publisher's official public API and returns normalized records with traceable identifiers and source links.
Can I schedule this workflow?
Yes. Save the validated input as an Apify Task, attach a schedule, and compare each successful dataset with the previous snapshot.
Related
100 free credits, no credit card.
About 30 real searches. Add the MCP to Claude or Cursor in two minutes.