# Federal Register Search (`vigil-works/federal-register-search`) Actor

Search U.S. Federal Register rules, proposed rules, notices and presidential documents by keyword, agency, date and type. Official free API.

- **URL**: https://apify.com/vigil-works/federal-register-search.md
- **Developed by:** [Vigil Works](https://apify.com/vigil-works) (community)
- **Categories:** News, Business
- **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

## Federal Register Search

Search the U.S. Federal Register and get clean, flat rows you can drop into a spreadsheet, database or AI agent. It reads the official free Federal Register API (federalregister.gov), so there is no scraping and nothing to break when the website changes.

### What it does

- Finds final rules, proposed rules, notices and presidential documents by keyword, agency and publication date.
- Runs several search terms at once and removes duplicates.
- Returns comment deadlines, effective dates, docket IDs, RINs, CFR citations and links to the full text and PDF.
- Can limit results to "significant" rules under Executive Order 12866.
- Retries on errors, waits politely between requests, and stops with a plain message if an input is wrong.

### Who it is for

Compliance and regulatory affairs teams, policy researchers, lobbyists and law firms, journalists, and anyone who wants a daily feed of what a government agency just published. Schedule it on Apify to get a fresh list every morning.

### Example input

```json
{
  "searchTerms": ["artificial intelligence", "PFAS"],
  "documentTypes": ["RULE", "PRORULE"],
  "agencies": ["environmental-protection-agency"],
  "publishedFrom": "2026-06-01",
  "publishedTo": "2026-10-31",
  "sortBy": "newest",
  "maxResults": 200
}
```

| Field | What it does |
|---|---|
| `searchTerms` | Keywords or "exact phrases". Empty = everything matching the other filters. |
| `documentTypes` | `RULE`, `PRORULE`, `NOTICE`, `PRESDOCU`. Empty = all. |
| `agencies` | Agency slugs from federalregister.gov/agencies/`<slug>`, such as `food-and-drug-administration`. |
| `publishedFrom` / `publishedTo` | Dates as `YYYY-MM-DD`. |
| `significantOnly` | Only significant (major) documents. |
| `sortBy` | `newest`, `oldest` or `relevance`. |
| `maxResults` | Up to 10,000 in total (the API's own limit per search). |

### Example output

```json
{
  "documentNumber": "2026-11436",
  "title": "Approval and Promulgation of Air Quality Implementation Plans; Wyoming",
  "type": "Proposed Rule",
  "action": "Proposed rule.",
  "agencies": ["Environmental Protection Agency"],
  "publicationDate": "2026-06-08",
  "commentsCloseOn": "2026-07-23",
  "effectiveOn": null,
  "docketIds": ["EPA-R08-OAR-2026-1651", "FRL-13299-01-R8"],
  "citation": "91 FR 34589",
  "pages": 9,
  "cfrReferences": ["40 CFR 52"],
  "url": "https://www.federalregister.gov/documents/2026/06/08/2026-11436/...",
  "pdfUrl": "https://www.govinfo.gov/content/pkg/FR-2026-06-08/pdf/2026-11436.pdf",
  "searchTerm": "emissions"
}
```

### Output fields

`documentNumber`, `title`, `type`, `subtype`, `action`, `abstract`, `agencies`, `agencySlugs`, `publicationDate`, `signingDate`, `effectiveOn`, `commentsCloseOn`, `commentUrl`, `significant`, `docketIds`, `rin`, `citation`, `pages`, `cfrReferences`, `topics`, `president`, `executiveOrderNumber`, `url`, `pdfUrl`, `textUrl`, `matchedExcerpt`, `searchTerm`.

### Notes

- Data comes from the public Federal Register API, which is free and needs no key. This Actor is not affiliated with or endorsed by the Office of the Federal Register.
- Documents appear as soon as they are published, so recent dates can include items scheduled for the next business day.
- Each search is capped by the API at 10,000 results. For a bigger pull, split by date range.
- Exports to JSON, CSV, Excel and more from the Apify dataset, or call it from the API or an AI agent through Apify's MCP server.

### Pricing

Pay per event: $2 per 1,000 results ($0.002 per row saved to the dataset), plus a $0.00005 start fee. You do not pay separately for Apify platform usage, so a 50-row search costs about 10 cents.

### Related Actors

- [Grants.gov Grant Opportunity Search](https://apify.com/vigil-works/grants-gov-search): open federal funding opportunities, deadlines and award amounts.
- [Lobbying Disclosures (Senate LDA)](https://apify.com/vigil-works/lobbying-disclosures): who lobbies on which issue, for which client, and how much.

### Questions?

Open an issue on this Actor's Issues tab and it gets answered. Tell me which fields or filters you wish it had and they get considered.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords or phrases. Each term is searched separately and the results are merged. Leave empty to list everything that matches the other filters. Use quotes for an exact phrase, for example "artificial intelligence".

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

Which kinds of documents to include. RULE = final rules, PRORULE = proposed rules, NOTICE = notices, PRESDOCU = presidential documents. Leave empty for all.

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

Agency slugs as they appear in federalregister.gov/agencies/<slug>, for example environmental-protection-agency or food-and-drug-administration. Leave empty for all agencies.

## `publishedFrom` (type: `string`):

Earliest publication date, YYYY-MM-DD.

## `publishedTo` (type: `string`):

Latest publication date, YYYY-MM-DD.

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

Only documents the government flags as significant under Executive Order 12866 (major rules).

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

How to order results for each search term.

## `maxResults` (type: `integer`):

Stop after this many documents in total. The Federal Register API returns at most 10,000 per search.

## Actor input object example

```json
{
  "searchTerms": [
    "artificial intelligence"
  ],
  "documentTypes": [
    "RULE",
    "PRORULE"
  ],
  "significantOnly": false,
  "sortBy": "newest",
  "maxResults": 100
}
```

# 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 = {
    "searchTerms": [
        "artificial intelligence"
    ],
    "documentTypes": [
        "RULE",
        "PRORULE"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vigil-works/federal-register-search").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 = {
    "searchTerms": ["artificial intelligence"],
    "documentTypes": [
        "RULE",
        "PRORULE",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("vigil-works/federal-register-search").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 '{
  "searchTerms": [
    "artificial intelligence"
  ],
  "documentTypes": [
    "RULE",
    "PRORULE"
  ]
}' |
apify call vigil-works/federal-register-search --silent --output-dataset

```

## MCP server setup

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

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/YXwEt34xUwZjieAt1/builds/24EvgaI47aXLQgef7/openapi.json
