# Federal Register Scraper - US Rules, Proposed Rules & Notices (`hichemdev/federal-register-scraper`) Actor

Monitor US federal regulations: final rules, proposed rules, notices and executive orders from the Federal Register. Filter by keyword, agency, date, comment deadline, docket, RIN or CFR part. Get effective dates, comment deadlines, dockets, PDFs. No API key.

- **URL**: https://apify.com/hichemdev/federal-register-scraper.md
- **Developed by:** [Hichem Ben Moussa](https://apify.com/hichemdev) (community)
- **Categories:** Business, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 documents

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Federal Register Scraper — US Rules, Proposed Rules & Notices

Monitor **US federal regulations** straight from the official [Federal Register](https://www.federalregister.gov) — the daily journal of the US government. Get every **final rule**, **proposed rule**, **notice** and **presidential document** (executive orders, proclamations, memoranda) as clean, structured data, with **effective dates**, **public comment deadlines**, **dockets**, **RINs** and **CFR references**.

Run it on a schedule and you have a regulatory change feed for any agency, topic or keyword. No API key, no login, no proxy needed.

### Who uses it

- **Compliance teams** at banks, insurers, healthcare providers, energy and chemical companies — catch every new rule from your regulators (SEC, OCC, CFPB, CMS, FDA, EPA, FERC, DOE…) the day it is published, with the date it takes effect.
- **Lobbyists and trade associations** — track every proposed rule that is still **open for comment**, with the deadline and the regulations.gov comment link.
- **Lawyers and policy analysts** — follow a rulemaking from proposal to final rule by **RIN** or **docket**, or pull everything that touches a **CFR part**.
- **Journalists and researchers** — monitor executive orders and proclamations, or run keyword searches such as *artificial intelligence*, *PFAS* or *stablecoin* across 30 years of federal documents.
- **RegTech and legal-tech builders** — feed an LLM, a Slack alert or a database with structured regulatory data.

### What you get

| Field | Description |
|---|---|
| `documentNumber` | Federal Register document number, e.g. `2026-22741` |
| `title` | Document title |
| `type` | `Rule`, `Proposed Rule`, `Notice` or `Presidential Document` |
| `subtype` | Presidential documents only: `Executive Order`, `Proclamation`, `Memorandum`… |
| `action` | What the document does, e.g. *Final rule.*, *Proposed rule; request for comments.* |
| `abstract` | The official summary |
| `dates` | The official DATES paragraph (effective date, comment deadline, meeting dates) as text |
| `agencies`, `agencySlugs` | Issuing agencies and sub-agencies |
| `publicationDate` | Date published in the Federal Register (ISO) |
| `effectiveDate` | Date the rule takes effect (ISO) |
| `commentsCloseDate` | **Public comment deadline** (ISO) |
| `daysUntilCommentsClose` | Days left to comment, counted from the day of the run (negative = closed) |
| `signingDate` | Presidential documents: date signed |
| `significant` | `true` if flagged significant under Executive Order 12866 (OIRA-reviewed); `false` if determined not significant; `null` when the Federal Register record carries no determination (most notices and many routine rules) |
| `docketIds` | Agency docket numbers |
| `regulationIdNumbers` | RINs — the ID that links a rulemaking across the Unified Agenda, proposal and final rule |
| `rinPriorityCategory` | Unified Agenda priority of the RIN, e.g. *Economically Significant*, *Routine and Frequent* |
| `cfrReferences` | Affected Code of Federal Regulations parts, e.g. `40 CFR 60` |
| `topics` | Official CFR indexing topics |
| `citation`, `volume`, `startPage`, `endPage`, `pageLength` | Official citation, e.g. `91 FR 69955` |
| `executiveOrderNumber`, `proclamationNumber`, `president` | Presidential documents |
| `correctionOf` | Document this one corrects, if any |
| `regulationsGovDocketId`, `regulationsGovCommentsCount` | regulations.gov docket and number of public comments received so far |
| `commentUrl`, `regulationsGovUrl` | Where to submit a comment / the regulations.gov page |
| `pageViews` | Federal Register page views — a rough popularity signal |
| `htmlUrl`, `pdfUrl`, `publicInspectionPdfUrl`, `rawTextUrl`, `fullTextXmlUrl` | Links to the document and its full text |
| `url` | Canonical Federal Register page |

Fields that do not apply to a document (for example `commentsCloseDate` on a final rule, or `executiveOrderNumber` on a notice) are `null`.

### Example inputs

**Every final rule published in the last 30 days** (the default prefill):

```json
{
  "documentTypes": ["RULE"],
  "lastDays": 30,
  "maxItems": 20
}
```

**Daily compliance feed for financial regulators** — schedule it every morning:

```json
{
  "agencies": ["SEC", "Comptroller of the Currency", "Consumer Financial Protection Bureau", "FDIC"],
  "documentTypes": ["RULE", "PRORULE"],
  "lastDays": 1,
  "maxItems": 500
}
```

**Every EPA proposed rule still open for comment:**

```json
{
  "agencies": ["EPA"],
  "documentTypes": ["PRORULE"],
  "openForComment": true,
  "maxItems": 1000
}
```

**Keyword search, significant rules only:**

```json
{
  "searchTerm": "artificial intelligence",
  "significantOnly": true,
  "sortBy": "relevance",
  "maxItems": 200
}
```

**Executive orders this year:**

```json
{
  "presidentialDocumentTypes": ["executive_order"],
  "publishedAfter": "2026-01-01",
  "maxItems": 500
}
```

**Follow one rulemaking** by RIN (or use `docketId`), or everything touching 40 CFR parts 60–63:

```json
{ "regulationIdNumber": "0938-AV83" }
```

```json
{ "cfrTitle": 40, "cfrPart": "60-63", "lastDays": 90 }
```

### Input reference

| Input | What it does |
|---|---|
| `searchTerm` | Full-text keyword search. Quotes work for exact phrases. |
| `documentTypes` | `RULE`, `PRORULE`, `NOTICE`, `PRESDOCU`. Empty = all. |
| `agencies` | Acronyms (`EPA`), names (`Food and Drug Administration`) or slugs (`food-and-drug-administration`). Several are OR-ed. Unknown names are skipped with a warning in the log. |
| `lastDays` | Published in the last N days — the easiest setting for scheduled runs. |
| `publishedAfter`, `publishedBefore` | Exact publication date range (YYYY-MM-DD). |
| `openForComment` | Only documents whose comment period has not closed yet. |
| `commentsCloseAfter`, `commentsCloseBefore` | Comment-deadline range, e.g. deadlines in the next 14 days. |
| `effectiveAfter`, `effectiveBefore` | Effective-date range, e.g. rules taking effect next month. |
| `significantOnly` | Only EO 12866 significant documents. |
| `presidentialDocumentTypes` | Executive orders, proclamations, memoranda, determinations, notices, presidential orders. |
| `docketId`, `regulationIdNumber` | Follow a single docket or RIN. |
| `cfrTitle`, `cfrPart` | Documents affecting a CFR title / part (part ranges like `60-63` work). |
| `sortBy` | `newest` (default), `oldest`, `relevance`. |
| `maxItems` | Stop after this many documents (default 200). |

With an empty input the actor returns the newest 200 documents of all types.

### Example output

```json
{
  "documentNumber": "2026-22677",
  "title": "Drawbridge Operation Regulation; Wishkah River, Aberdeen, WA",
  "type": "Rule",
  "subtype": null,
  "action": "Final rule.",
  "abstract": "The Coast Guard is changing the operating schedule that governs the Puget Sound and Pacific railroad bridge (PS&P) across the Wishkah River, mile 0.1 in Aberdeen, WA. This rule will change the PS&P railroad bridge draw position to the fully closed-to-navigation position. Furthermore, this rule requires 24-hour notice for all drawbridge openings and a bridge operator will no longer be required to be on site.",
  "dates": "This rule is effective December 7, 2026.",
  "agencies": [
    "Homeland Security Department",
    "Coast Guard"
  ],
  "agencySlugs": [
    "homeland-security-department",
    "coast-guard"
  ],
  "publicationDate": "2026-11-06",
  "effectiveDate": "2026-12-07",
  "commentsCloseDate": null,
  "daysUntilCommentsClose": null,
  "signingDate": null,
  "significant": false,
  "docketIds": [
    "Docket No. USCG-2026-0562"
  ],
  "regulationIdNumbers": [
    "1625-AA09"
  ],
  "rinPriorityCategory": "Routine and Frequent",
  "cfrReferences": [
    "33 CFR 117"
  ],
  "topics": [],
  "citation": "91 FR 70011",
  "volume": 91,
  "startPage": 70011,
  "endPage": 70013,
  "pageLength": 3,
  "executiveOrderNumber": null,
  "proclamationNumber": null,
  "president": "Donald Trump",
  "correctionOf": null,
  "regulationsGovDocketId": "USCG-2026-0562",
  "regulationsGovCommentsCount": 0,
  "commentUrl": null,
  "regulationsGovUrl": null,
  "pageViews": 5,
  "htmlUrl": "https://www.federalregister.gov/documents/2026/11/06/2026-22677/drawbridge-operation-regulation-wishkah-river-aberdeen-wa",
  "pdfUrl": "https://www.govinfo.gov/content/pkg/FR-2026-11-06/pdf/2026-22677.pdf",
  "publicInspectionPdfUrl": "https://public-inspection.federalregister.gov/2026-22677.pdf?1793886311",
  "rawTextUrl": "https://www.federalregister.gov/documents/full_text/text/2026/11/06/2026-22677.txt",
  "fullTextXmlUrl": "https://www.federalregister.gov/documents/full_text/xml/2026/11/06/2026-22677.xml",
  "url": "https://www.federalregister.gov/documents/2026/11/06/2026-22677/drawbridge-operation-regulation-wishkah-river-aberdeen-wa"
}
```

### Limits and caveats

- **Source**: the official Federal Register API (federalregister.gov), run by the Office of the Federal Register and GPO. Data is as published; the actor does not edit it.
- **10,000-result cap**: the Federal Register API serves at most 10,000 results for one query. When sorted by **newest** or **oldest**, the actor automatically slides the publication-date window and keeps going, so you can pull more than 10,000 documents in one run. **Relevance** sort is limited to the top 10,000 — narrow your filters if you need more.
- `regulationsGovCommentsCount` comes from the Federal Register's periodic sync with regulations.gov and can lag the live count by a day or so.
- `daysUntilCommentsClose` is computed against the run date in US Eastern time.
- Coverage: the API covers documents published from 1994 onward.
- The actor returns metadata and links, not the full text of each document. Use `rawTextUrl` or `fullTextXmlUrl` to fetch the full text.

### FAQ

**Do I need an API key?** No. The Federal Register API is public.

**How do I get alerts for new rules?** Create a schedule (e.g. daily at 9:00 ET) with `lastDays: 1` (or `2` to be safe over weekends) and connect an integration — email, Slack, Google Sheets, webhooks or Zapier/Make. The Federal Register is published every business day.

**How do I find the right agency name?** Acronyms usually work (EPA, SEC, FDA, CMS, FAA, OCC, FTC). Otherwise use the name as shown on federalregister.gov/agencies. The log shows which agency each input was matched to.

**Can I get documents that are on public inspection but not yet published?** Not currently — this actor covers published documents. `publicInspectionPdfUrl` links to the public-inspection copy of each published document.

**How fast is it?** Up to 1,000 documents per API request; a few hundred documents take a few seconds.

# Actor input Schema

## `searchTerm` (type: `string`):

Full-text search across the Federal Register, e.g. artificial intelligence, PFAS, stablecoin, prior authorization. Supports quotes for exact phrases. Leave empty to get every document matching the other filters.

## `documentTypes` (type: `array`):

Which kinds of documents to include. Leave empty for all types.

## `agencies` (type: `array`):

Only documents from these agencies. Accepts acronyms (EPA, SEC, FDA, CMS, FAA), full names (Environmental Protection Agency) or Federal Register slugs (environmental-protection-agency). Several agencies are combined with OR.

## `lastDays` (type: `integer`):

Only documents published in the last N days (counted back from the day of the run). Ideal for scheduled monitoring. Ignored when 'Published on or after' is set.

## `publishedAfter` (type: `string`):

YYYY-MM-DD. Only documents published on or after this date.

## `publishedBefore` (type: `string`):

YYYY-MM-DD. Only documents published on or before this date.

## `openForComment` (type: `boolean`):

Only documents whose public comment period closes today or later. Combine with 'Proposed rules' to track every rule you can still comment on.

## `commentsCloseAfter` (type: `string`):

YYYY-MM-DD. Only documents whose comment deadline is on or after this date.

## `commentsCloseBefore` (type: `string`):

YYYY-MM-DD. Only documents whose comment deadline is on or before this date, e.g. to find deadlines in the next two weeks.

## `effectiveAfter` (type: `string`):

YYYY-MM-DD. Only rules taking effect on or after this date.

## `effectiveBefore` (type: `string`):

YYYY-MM-DD. Only rules taking effect on or before this date.

## `significantOnly` (type: `boolean`):

Only documents flagged as significant under Executive Order 12866 (reviewed by OIRA, typically major economic impact).

## `presidentialDocumentTypes` (type: `array`):

Only these kinds of presidential documents. Setting this restricts results to presidential documents.

## `docketId` (type: `string`):

Only documents in this agency docket, e.g. EPA-HQ-OAR-2021-0317 or CMS-1850-FC.

## `regulationIdNumber` (type: `string`):

Only documents for this RIN, e.g. 2060-AV16. Follows one rulemaking from proposal to final rule.

## `cfrTitle` (type: `integer`):

Only documents affecting this Code of Federal Regulations title, e.g. 40 (environment), 21 (food and drugs), 12 (banks).

## `cfrPart` (type: `string`):

Only documents affecting this CFR part (requires CFR title), e.g. 60. A range like 60-63 also works.

## `sortBy` (type: `string`):

Order of results. Relevance only makes sense with a keyword search.

## `maxItems` (type: `integer`):

Stop after this many documents.

## `proxyConfiguration` (type: `object`):

Optional. The Federal Register API is public, so a proxy is not required.

## Actor input object example

```json
{
  "documentTypes": [
    "RULE"
  ],
  "lastDays": 30,
  "openForComment": false,
  "significantOnly": false,
  "sortBy": "newest",
  "maxItems": 20
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped items as JSON.

## `overview` (type: `string`):

Browse results in the Apify Console.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "documentTypes": [
        "RULE"
    ],
    "lastDays": 30,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("hichemdev/federal-register-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "documentTypes": ["RULE"],
    "lastDays": 30,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("hichemdev/federal-register-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "documentTypes": [
    "RULE"
  ],
  "lastDays": 30,
  "maxItems": 20
}' |
apify call hichemdev/federal-register-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hichemdev/federal-register-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/FbWC22UslG92fDd5W/builds/wU5ikHt1h7VSdh2jj/openapi.json
