# Regulations.gov Scraper (`parseforge/regulations-gov-scraper`) Actor

Collect federal regulatory documents, public comments, and dockets from Regulations.gov. Search by keyword, filter by agency (EPA, FDA, FCC, DOT), document type, and date range. Get titles, posting dates, comment periods, docket IDs, and links for rules, notices, and supporting materials.

- **URL**: https://apify.com/parseforge/regulations-gov-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** News, Automation, Developer tools
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)

## 📜 Regulations.gov Federal Regulatory Scraper

> 🚀 **Collect federal regulatory documents, public comments, and dockets from Regulations.gov. Filter by agency, document type, date range, and keyword across all US federal agencies.**

> 🕒 Last updated: 2026-04-23

Whether you are a compliance officer monitoring new rules, a lobbyist tracking regulatory activity, or a researcher analyzing public comment patterns, this scraper delivers structured regulatory data from the official US government portal. Search by keyword, filter by agency (EPA, FDA, FCC, DOT, and more), and collect documents, comments, or dockets.

No coding, no manual browsing. Configure your search, click Start, and get structured data as JSON, CSV, or Excel in seconds.

| 🎯 Target | Regulations.gov federal regulatory data |
|---|---|
| 🔎 Best for | Regulatory compliance, policy analysis, public comment research, government transparency |

---

### 📋 What it does

- Collects rules, proposed rules, notices, and supporting materials with full metadata from Regulations.gov
- Gathers public comments submitted on proposed regulations with commenter details and posting dates
- Retrieves docket records that group related documents and comments under a single docket ID
- Supports filtering by agency (EPA, FDA, FCC, DOT, HHS, OSHA, SEC, and 100+ more), document type, date range, and keyword

---

### 🎬 Demo

🚧 Coming soon

---

### ⚙️ Input

<table>
<thead><tr><th>Field</th><th>Type</th><th>Description</th></tr></thead>
<tbody>
<tr><td>Search Term</td><td>string</td><td>Full text search query (e.g. "climate change", "net neutrality", "clean water").</td></tr>
<tr><td>Document Type</td><td>select</td><td>Documents, Comments, or Dockets.</td></tr>
<tr><td>Max Items</td><td>integer</td><td>Free users: limited to 10 items. Paid users: up to 1,000,000.</td></tr>
<tr><td>Agency ID</td><td>string</td><td>Filter by federal agency acronym (e.g. EPA, FDA, FCC, DOT, HHS).</td></tr>
<tr><td>Filter by Document Subtype</td><td>string</td><td>Narrow by subtype: Rule, Proposed Rule, Notice, Supporting and Related Material.</td></tr>
<tr><td>Posted Date Start</td><td>string</td><td>Only return records posted on or after this date (YYYY-MM-DD).</td></tr>
<tr><td>Posted Date End</td><td>string</td><td>Only return records posted on or before this date (YYYY-MM-DD).</td></tr>
<tr><td>Docket ID</td><td>string</td><td>Look up a specific docket (e.g. EPA-HQ-OAR-2009-0171). Overrides search term.</td></tr>
</tbody>
</table>

**Example 1: Search by agency and keyword**
```json
{
    "searchTerm": "climate change",
    "documentType": "documents",
    "agencyId": "EPA",
    "maxItems": 50
}
````

**Example 2: Lookup a specific docket**

```json
{
    "docketId": "EPA-HQ-OAR-2009-0171",
    "documentType": "documents",
    "maxItems": 100
}
```

> ⚠️ **Good to Know**: The Regulations.gov API limits results to 5,000 per search (20 pages of 250). Use date ranges or agency filters to narrow large result sets. The included DEMO\_KEY works for testing (30 requests/minute). For production use, get a free key at api.data.gov/signup.

***

### 📊 Output

#### 🧾 Schema

Each record includes document metadata, agency info, dates, comment period windows, and direct links. Fields vary by document type.

<details><summary>📦 Sample output 1 - Regulatory document</summary>

```json
{
    "documentId": null,
    "title": "EPA - Climate Change Impacts Midwest",
    "agencyId": "PHMSA",
    "documentType": "Supporting & Related Material",
    "postedDate": "2023-10-25T04:00:00Z",
    "docketId": "PHMSA-2021-0046",
    "objectId": "PHMSA-2021-0046-0078",
    "openForComment": false,
    "withdrawn": false,
    "url": "https://www.regulations.gov/document/PHMSA-2021-0046-0078",
    "scrapedAt": "2026-04-16T12:00:00.000Z"
}
```

</details>

<details><summary>📦 Sample output 2 - Public comment</summary>

```json
{
    "title": "Comment from Environmental Defense Fund",
    "agencyId": "EPA",
    "documentType": "Public Submission",
    "postedDate": "2024-03-15T04:00:00Z",
    "docketId": "EPA-HQ-OAR-2023-0072",
    "objectId": "EPA-HQ-OAR-2023-0072-0456",
    "openForComment": false,
    "url": "https://www.regulations.gov/comment/EPA-HQ-OAR-2023-0072-0456",
    "scrapedAt": "2026-04-16T12:00:00.000Z"
}
```

</details>

<details><summary>📦 Sample output 3 - Docket record</summary>

```json
{
    "title": "Clean Air Act: Standards of Performance for New Sources",
    "agencyId": "EPA",
    "docketId": "EPA-HQ-OAR-2023-0072",
    "docketType": "Rulemaking",
    "objectId": "EPA-HQ-OAR-2023-0072",
    "url": "https://www.regulations.gov/docket/EPA-HQ-OAR-2023-0072",
    "scrapedAt": "2026-04-16T12:00:00.000Z"
}
```

</details>

***

### ✨ Why choose this scraper

| Feature | Details |
|---|---|
| Three document types | Regulatory documents, public comments, and dockets |
| 100+ federal agencies | EPA, FDA, FCC, DOT, HHS, OSHA, SEC, USDA, DOE, DOD, and more |
| Date range filtering | Precise YYYY-MM-DD filtering for posted dates |
| Docket lookup | Retrieve all documents and comments for a specific docket ID |
| Comment period tracking | See whether comments are currently accepted on each document |
| Direct links included | URL to each document on Regulations.gov |
| Export as JSON, CSV, or Excel | Download structured data in the format you need |

***

### ✨ Why choose this Actor

| | Capability |
|---|---|
| 🎯 | **Built for the job.** Scoped specifically to this data source so you skip the parser engineering entirely. |
| 🔖 | **Structured output.** Clean, typed fields ready for analysis, dashboards, or downstream pipelines. |
| ⚡ | **Fast.** Optimized request patterns return results in seconds, not minutes. |
| 🔁 | **Always fresh.** Every run pulls live data, so the dataset reflects the source as of run time. |
| 🌐 | **No infra to manage.** Apify handles proxies, retries, scaling, scheduling, and storage. |
| 🛡️ | **Reliable.** Battle-tested across many runs and edge cases, with graceful error handling. |
| 🚫 | **No code required.** Configure in the UI, run from CLI, schedule via cron, or call from any language with the Apify SDK. |

> 📊 Production-grade structured data without the engineering overhead of building and maintaining your own scraper.

***

### 📈 How it compares

| Capability | This scraper | Manual browsing |
|---|---|---|
| Batch collection | Up to 5,000 records per search | Browse 25 at a time |
| Multi-type search | Documents, comments, and dockets | Switch between tabs |
| Agency filtering | Any agency by acronym | Limited dropdown |
| Date range precision | Exact YYYY-MM-DD | Basic date picker |
| Structured output | JSON, CSV, Excel | HTML pages only |
| Automated scheduling | Daily or weekly monitoring | Manual visits |
| Comment period status | Included in every record | Check each page |

***

### 🚀 How to use

1. [Create a free Apify account](https://console.apify.com/sign-up?fpr=vmoqkp) (includes $5 credit)
2. Search for **Regulations.gov Scraper** in the Apify Store
3. Enter your search term, select document type, and set agency or date filters
4. Click **Start** and wait for results
5. Download your data as JSON, CSV, or Excel

***

### 💼 Business cases

| Use case | How it helps |
|---|---|
| Regulatory compliance monitoring | Track new rules and proposed regulations affecting your industry |
| Lobbying and policy tracking | Monitor regulatory activity across multiple agencies and dockets |
| Legal research | Build databases of regulatory actions for client advisories and case prep |
| Journalism and investigations | Research public comments and agency actions on policy issues |

***

***

### 💼 Business use cases

<table>
<tr>
<td width="50%" valign="top">

#### 📊 Data & Analytics

- Build trend reports and dashboards from live source data
- Feed BI tools, warehouses, and ML pipelines with structured records
- Run periodic snapshots to track changes over time
- Compare segments, regions, or categories with consistent fields

</td>
<td width="50%" valign="top">

#### 🏢 Operations & Strategy

- Monitor competitor moves, pricing, and inventory shifts
- Build internal directories and lookup tools backed by current data
- Power workflows that depend on fresh source records
- Cut manual data-gathering time from hours to minutes

</td>
</tr>
<tr>
<td width="50%" valign="top">

#### 🎯 Marketing & Growth

- Identify market opportunities and trending topics
- Research target audiences and customer personas at scale
- Power lead-generation pipelines with verified records
- Track sentiment, reviews, or social signals over time

</td>
<td width="50%" valign="top">

#### 🛠️ Engineering & Product

- Prototype features that need real-world data without owning a crawler
- Replace fragile in-house scrapers with a managed Actor
- Wire datasets into your apps via the Apify API or webhooks
- Skip the proxy, retry, and parsing maintenance entirely

</td>
</tr>
</table>

***

### 🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

<table>
<tr>
<td width="50%">

#### 🎓 Research and academia

- Empirical datasets for papers, thesis work, and coursework
- Longitudinal studies tracking changes across snapshots
- Reproducible research with cited, versioned data pulls
- Classroom exercises on data analysis and ethical scraping

</td>
<td width="50%">

#### 🎨 Personal and creative

- Side projects, portfolio demos, and indie app launches
- Data visualizations, dashboards, and infographics
- Content research for bloggers, YouTubers, and podcasters
- Hobbyist collections and personal trackers

</td>
</tr>
<tr>
<td width="50%">

#### 🤝 Non-profit and civic

- Transparency reporting and accountability projects
- Advocacy campaigns backed by public-interest data
- Community-run databases for local issues
- Investigative journalism on public records

</td>
<td width="50%">

#### 🧪 Experimentation

- Prototype AI and machine-learning pipelines with real data
- Validate product-market hypotheses before engineering spend
- Train small domain-specific models on niche corpora
- Test dashboard concepts with live input

</td>
</tr>
</table>

### 🤖 Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:

- 💬 [**ChatGPT**](https://chat.openai.com/?q=How%20do%20I%20use%20the%20Regulations.gov%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🧠 [**Claude**](https://claude.ai/new?q=How%20do%20I%20use%20the%20Regulations.gov%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🔍 [**Perplexity**](https://perplexity.ai/search?q=How%20do%20I%20use%20the%20Regulations.gov%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🅒 [**Copilot**](https://copilot.microsoft.com/?q=How%20do%20I%20use%20the%20Regulations.gov%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)

### ❓ Frequently Asked Questions

<details>
<summary><b>💳 Do I need a paid Apify plan to run this actor?</b></summary>

No. You can start right now on the free Apify plan, which includes **$5 in free monthly credit**. That is enough to run this actor several times and explore the output before committing to anything. Paid plans unlock higher limits, more concurrent runs, and larger datasets. [Create a free Apify account here](https://console.apify.com/sign-up?fpr=vmoqkp) to get started.

</details>

<details>
<summary><b>🚨 What happens if my run fails or returns no results?</b></summary>

Failed runs are not charged. If the source site changes, proxies get rate-limited, or a specific input matches nothing, re-run the actor or open our [contact form](https://tally.so/r/BzdKgA) and we will investigate. You can also check the run log in the Apify console to see why the run stopped.

</details>

<details>
<summary><b>📏 How many items can I scrape per run?</b></summary>

Free users are limited to **10 items per run** so you can preview the output and confirm the actor works for your use case. Paid users can raise maxItems up to **1,000,000** per run. [Upgrade here](https://console.apify.com/sign-up?fpr=vmoqkp) if you need full scale.

</details>

<details>
<summary><b>🕒 How fresh is the data?</b></summary>

Every run fetches live data at the moment of execution. There is no cache or delay: the records you get reflect what the source returned at that moment. Schedule the actor to maintain a rolling snapshot of the data you need.

</details>

<details>
<summary><b>🧑‍💻 Can I call this actor from my own code?</b></summary>

Yes. Apify exposes every actor as a REST endpoint and ships first-class SDKs for [Node.js](https://docs.apify.com/sdk/js) and [Python](https://docs.apify.com/sdk/python). You can start a run, read the dataset, and handle webhooks from your own app in a few lines. All you need is your Apify API token.

</details>

<details>
<summary><b>📤 How do I export the data?</b></summary>

Every Apify dataset can be downloaded in one click from the console as CSV, JSON, JSONL, Excel, HTML, XML, or RSS. You can also pull results programmatically via the [Apify API](https://docs.apify.com/api/v2) or stream them into BigQuery, S3, and other destinations through built-in integrations.

</details>

<details>
<summary><b>📅 Can I schedule the actor to run automatically?</b></summary>

Yes. Use the Apify scheduler to run the actor on any cadence, from hourly to monthly. Results are saved to your dataset and can be delivered to webhooks, email, Slack, cloud storage, or automation tools such as Zapier and Make.

***

</details>

### 🔌 Automating runs

Schedule the Regulations.gov Scraper to run daily or weekly to catch new regulatory activity as it is published. Connect with Make, Zapier, or webhooks to trigger workflows when new rules appear. Pair with Slack to alert your compliance team about new comment period openings or Google Sheets to track rulemaking timelines.

### 🔌 Integrate with your tools

- [Make](https://docs.apify.com/platform/integrations/make) - Automate regulatory monitoring workflows
- [Zapier](https://docs.apify.com/platform/integrations/zapier) - Get alerts on new rules and notices
- [Slack](https://docs.apify.com/platform/integrations/slack) - Notify your team about comment period deadlines
- [Google Sheets](https://docs.apify.com/platform/integrations/drive) - Track regulatory activity in spreadsheets
- [Airbyte](https://docs.apify.com/platform/integrations/airbyte) - Build regulatory data pipelines
- [Webhooks](https://docs.apify.com/platform/integrations/webhooks) - Trigger workflows on run completion

***

### 🔌 Integrate with any app

Regulations.gov Federal Regulatory Scraper connects to any cloud service via [Apify integrations](https://apify.com/integrations):

- [**Make**](https://docs.apify.com/platform/integrations/make) - Automate multi-step workflows
- [**Zapier**](https://docs.apify.com/platform/integrations/zapier) - Connect with 5,000+ apps
- [**Slack**](https://docs.apify.com/platform/integrations/slack) - Get run notifications in your channels
- [**Airbyte**](https://docs.apify.com/platform/integrations/airbyte) - Pipe results into your warehouse
- [**GitHub**](https://docs.apify.com/platform/integrations/github) - Trigger runs from commits and releases
- [**Google Drive**](https://docs.apify.com/platform/integrations/drive) - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh data into your product backend, or alert your team in Slack.

***

### 🔗 Recommended ParseForge actors

| Actor | What it does |
|---|---|
| [Federal Register Scraper](https://apify.com/parseforge/federal-register-regulatory-notices-rules-scraper) | Collect regulatory notices and rules from the Federal Register |
| [Grants.gov Scraper](https://apify.com/parseforge/grants-gov-scraper) | Gather US federal grant opportunities |
| [USASpending Scraper](https://apify.com/parseforge/usaspending-scraper) | Extract federal spending and award data |
| [GSA eLibrary Scraper](https://apify.com/parseforge/gsa-elibrary-scraper) | Collect government contract data |
| [FEC Campaign Finance Scraper](https://apify.com/parseforge/fec-campaign-finance-contributions-scraper) | Gather campaign finance and contribution data |

***

### 🆘 Need help?

[Contact us through our support form](https://tally.so/r/BzdKgA) to request a new scraper, report an issue, or propose a custom project.

***

> **Disclaimer:** This Actor is an independent tool and is not affiliated with, endorsed by, or connected to Regulations.gov, the eRulemaking Program, or any federal agency. It accesses only publicly available data through the official Regulations.gov public API.

***

### 🔗 Recommended Actors

- [**🔍 Google Search Scraper**](https://apify.com/parseforge/google-search-scraper) - Multi-engine SERP results with country and language targeting
- [**🗺️ Nominatim OSM Scraper**](https://apify.com/parseforge/nominatim-osm-scraper) - Geocode addresses via OpenStreetMap
- [**📊 Indexmundi Scraper**](https://apify.com/parseforge/indexmundi-scraper) - Global demographic and economic indicators
- [**📰 RAG Web Browser**](https://apify.com/parseforge/rag-web-browser) - Crawl and extract clean text from any URL for AI retrieval
- [**🌐 Website Content Crawler**](https://apify.com/parseforge/website-content-crawler) - Crawl entire sites and export structured content

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more reference-data scrapers.

# Actor input Schema

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

Full text search query (e.g. 'climate change', 'net neutrality', 'clean water')

## `documentType` (type: `string`):

Type of records to retrieve from Regulations.gov

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## `agencyId` (type: `string`):

Filter by federal agency acronym (e.g. EPA, NHTSA, FDA, FCC, DOT, HHS). Leave empty for all agencies.

## `filterDocumentType` (type: `string`):

Filter documents by subtype. Examples: Rule, Proposed Rule, Notice, Supporting & Related Material. Only applies when Document Type is 'documents'.

## `postedDateStart` (type: `string`):

Only return records posted on or after this date (format: YYYY-MM-DD)

## `postedDateEnd` (type: `string`):

Only return records posted on or before this date (format: YYYY-MM-DD)

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

Filter by a specific docket ID (e.g. EPA-HQ-OAR-2009-0171). Overrides search term when provided.

## Actor input object example

```json
{
  "searchTerm": "climate change",
  "documentType": "documents",
  "maxItems": 10
}
```

# Actor output Schema

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

Overview of scraped data

# 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 = {
    "searchTerm": "climate change",
    "documentType": "documents",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/regulations-gov-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 = {
    "searchTerm": "climate change",
    "documentType": "documents",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/regulations-gov-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "searchTerm": "climate change",
  "documentType": "documents",
  "maxItems": 10
}' |
apify call parseforge/regulations-gov-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/regulations-gov-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Regulations.gov Scraper",
        "description": "Collect federal regulatory documents, public comments, and dockets from Regulations.gov. Search by keyword, filter by agency (EPA, FDA, FCC, DOT), document type, and date range. Get titles, posting dates, comment periods, docket IDs, and links for rules, notices, and supporting materials.",
        "version": "0.0",
        "x-build-id": "WWuRu9RCzoyNwg8G5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~regulations-gov-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-regulations-gov-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/parseforge~regulations-gov-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-regulations-gov-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/parseforge~regulations-gov-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-regulations-gov-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchTerm": {
                        "title": "Search Term",
                        "type": "string",
                        "description": "Full text search query (e.g. 'climate change', 'net neutrality', 'clean water')"
                    },
                    "documentType": {
                        "title": "Document Type",
                        "enum": [
                            "documents",
                            "comments",
                            "dockets"
                        ],
                        "type": "string",
                        "description": "Type of records to retrieve from Regulations.gov"
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
                    },
                    "agencyId": {
                        "title": "Agency ID",
                        "type": "string",
                        "description": "Filter by federal agency acronym (e.g. EPA, NHTSA, FDA, FCC, DOT, HHS). Leave empty for all agencies."
                    },
                    "filterDocumentType": {
                        "title": "Filter by Document Subtype",
                        "type": "string",
                        "description": "Filter documents by subtype. Examples: Rule, Proposed Rule, Notice, Supporting & Related Material. Only applies when Document Type is 'documents'."
                    },
                    "postedDateStart": {
                        "title": "Posted Date Start",
                        "type": "string",
                        "description": "Only return records posted on or after this date (format: YYYY-MM-DD)"
                    },
                    "postedDateEnd": {
                        "title": "Posted Date End",
                        "type": "string",
                        "description": "Only return records posted on or before this date (format: YYYY-MM-DD)"
                    },
                    "docketId": {
                        "title": "Docket ID",
                        "type": "string",
                        "description": "Filter by a specific docket ID (e.g. EPA-HQ-OAR-2009-0171). Overrides search term when provided."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
