# US Federal Register Scraper | Rules, Notices & Executive Orders (`quivery_phase/federal-register-scraper`) Actor

US Federal Register scraper using the official public API. Extract rules, proposed rules, notices, and presidential documents: titles, agencies, publication dates, abstracts, topics, and PDF/HTML links. No login, no API key, no browser.

- **URL**: https://apify.com/quivery_phase/federal-register-scraper.md
- **Developed by:** [Quivery Data](https://apify.com/quivery_phase) (community)
- **Categories:** News, Automation, Lead generation
- **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 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## US Federal Register Scraper | Rules, Notices & Executive Orders

Extract public documents from the [US Federal Register](https://www.federalregister.gov/) using the [official public API](https://www.federalregister.gov/developers/documentation/api/v1). No login, no API key, no browser, and no proxy.

The Federal Register is the daily journal of the US government: final rules, proposed rules, agency notices, and presidential documents. Compliance teams, law firms, journalists, lobbyists, and researchers use it to track regulation across agencies such as the EPA, SEC, FDA, and DHS.

### What you get

Each dataset row is one Federal Register document:

| Field | Description |
| --- | --- |
| `documentNumber`, `title`, `documentType` | Official number, title, and type (Rule, Proposed Rule, Notice, Presidential Document) |
| `agencies` | Publishing agencies |
| `publicationDate`, `effectiveOn`, `dates` | Publication and effective dates |
| `abstract`, `citation`, `topics` | Summary, citation, and topic tags when present |
| `docketIds`, `regulationIdNumbers` | Docket and RIN identifiers |
| `htmlUrl`, `pdfUrl`, `jsonUrl` | Official HTML, PDF, and JSON links |
| `commentUrl` | Public comment link, when comments are open |
| `significant`, `action` | Significance flag and action line when present |

### How to use

1. Open the Actor in [Apify Console](https://console.apify.com/) and click **Start**.
2. Leave the search empty for the newest documents, or set:
   - **Search term** — `climate`, `securities`, `immigration`
   - **Document types** — Rule, Proposed rule, Notice, Presidential document
   - **Agencies** — slugs such as `environmental-protection-agency` or `securities-and-exchange-commission` ([agency list](https://www.federalregister.gov/agencies))
   - **Published on or after / before** — `YYYY-MM-DD`
3. Set **Max documents** (default 50, API maximum 1,000 per search) and export JSON, CSV, or Excel.

#### Input example

```json
{
  "term": "securities",
  "documentTypes": ["RULE", "PRORULE"],
  "agencies": ["securities-and-exchange-commission"],
  "maxItems": 50
}
```

#### Output example

```json
{
  "documentNumber": "2026-23233",
  "title": "Presidential Determination Pursuant to Section 1245(d)(4)(B) and (C) of the National Defense Authorization Act for Fiscal Year 2012",
  "documentType": "Presidential Document",
  "agencies": ["Executive Office of the President"],
  "publicationDate": "2026-11-13",
  "htmlUrl": "https://www.federalregister.gov/documents/2026/11/13/2026-23233/presidential-determination-pursuant-to-section-1245d4b-and-c-of-the-national-defense-authorization",
  "source": "federalregister.gov"
}
```

### Pricing

Pay per event, charged only for unique documents delivered:

- **$2.00 per 1,000 results** ($0.002 per document)
- **$0.0005** Actor start fee
- Runs on 512 MB memory, HTTP only, no proxy and no browser

A 50-document run is one or two official API pages and costs well under a cent in Actor events.

### Usage notes

- This Actor uses the official Federal Register API, which is provided for public access to government documents. Be polite and set `maxItems` to what you need.
- Abstracts and titles are official public-domain US government works.
- Agency slugs must match federalregister.gov (lowercase, hyphenated).

### Changelog

- **0.1** — First version: official documents API, keyword / type / agency / date filters, HTML and PDF links.

# Actor input Schema

## `term` (type: `string`):

Keyword or phrase searched across document titles and full text, for example climate, immigration, or securities. Leave empty for the newest documents.

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

Optional Federal Register document types.

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

Optional Federal Register agency slugs, for example environmental-protection-agency, securities-and-exchange-commission, department-of-homeland-security, food-and-drug-administration. See federalregister.gov/agencies for the full list.

## `publishedSince` (type: `string`):

Optional start date (YYYY-MM-DD).

## `publishedUntil` (type: `string`):

Optional end date (YYYY-MM-DD).

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

Stop after this many documents have been saved. The API returns at most 1,000 documents per search (20 pages of 50).

## `requestDelaySecs` (type: `number`):

Polite delay between API pages.

## Actor input object example

```json
{
  "maxItems": 50,
  "requestDelaySecs": 0.5
}
```

# Actor output Schema

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

No description

# 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 = {
    "maxItems": 50,
    "requestDelaySecs": 0.5
};

// Run the Actor and wait for it to finish
const run = await client.actor("quivery_phase/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 = {
    "maxItems": 50,
    "requestDelaySecs": 0.5,
}

# Run the Actor and wait for it to finish
run = client.actor("quivery_phase/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 '{
  "maxItems": 50,
  "requestDelaySecs": 0.5
}' |
apify call quivery_phase/federal-register-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,quivery_phase/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/n0BMV10TVtO6GlB57/builds/xB4DQ1QbjgPTSQS9e/openapi.json
