# Regulations.gov API reference

> The Regulations.gov API v4 returns US federal rulemaking records: documents (rules, proposed rules, notices), public comments and dockets. An investigator can search comment text and see which agency, docket and document a comment was filed on. Send your key in the X-Api-Key header; DEMO_KEY is…

Source: https://osinttools.io/apis/regulations-gov/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/regulations-gov/

- Base URL: https://api.regulations.gov/v4
- Authentication: API key in the `X-Api-Key` header. Get a key: https://open.gsa.gov/api/regulationsgov/ DEMO_KEY works for demonstration only
- Rate limits: Not stated in the docs for read calls; see https://api.data.gov/docs/rate-limits/
- Vendor docs: https://open.gsa.gov/api/regulationsgov/
- OpenAPI spec: https://open.gsa.gov/api/regulationsgov/v4/openapi.yaml

## Overview

The Regulations.gov API v4 returns US federal rulemaking records: documents (rules, proposed rules, notices), public comments and dockets. An investigator can search comment text and see which agency, docket and document a comment was filed on.

Send your key in the `X-Api-Key` header; `DEMO_KEY` is for demonstration only. Responses are JSON:API style, with `data[]` items (`id`, `type`, `attributes`) and a `meta` block with paging totals. Some comment fields (names, organisation, location) show only if the agency allows; email, phone and address are never public.

The docs state limits only for the commenting POST calls (not covered here): 50 per minute and 500 per hour. For read calls they refer to api.data.gov rate-limit documentation. The spec is labelled work in progress.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Validation error |
| 403 | API key missing or invalid |
| 404 | Record not found |

## Documents

### Search rules, proposed rules and notices.

`GET /documents`

- Takes: Name
- Footprint: passive (the target is not contacted)

Search documents by text, agency, docket, type or date. Dates use yyyy-MM-dd with optional [ge]/[le] modifiers.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `filter[searchTerm]` | query | string | no | Search text Example: data privacy |
| `filter[agencyId]` | query | string | no | Agency acronym Example: GSA |
| `filter[docketId]` | query | string | no | Docket id Example: AGENCY-2024-0001 |
| `filter[documentType]` | query | string | no | Document type Example: Rule One of: Notice, Rule, Proposed Rule, Supporting & Related Material, Other |
| `filter[postedDate]` | query | string | no | Posted date, yyyy-MM-dd Example: 2024-01-15 |
| `sort` | query | string | no | Comma-separated: commentEndDate, postedDate, lastModifiedDate, documentId, title; prefix - for descending Example: -postedDate |
| `page[size]` | query | integer | no | Results per page, 5 to 250 Example: 25 |
| `page[number]` | query | integer | no | Page number, 1 to 20 Example: 1 |

Response fields:

- `data[].id` (string): Document id
- `data[].type` (string): Always documents
- `data[].attributes.title` (string): Document title
- `data[].attributes.agencyId` (string): Agency
- `data[].attributes.docketId` (string): Docket the document belongs to
- `data[].attributes.documentType` (string): Document type
- `data[].attributes.postedDate` (string): Date posted
- `data[].attributes.commentEndDate` (string): Comment period end
- `data[].attributes.openForComment` (boolean): Whether comments are open
- `data[].attributes.withdrawn` (boolean): Whether withdrawn
- `meta.totalElements` (integer): Total matches
- `meta.hasNextPage` (boolean): Whether another page exists

```bash
curl 'https://api.regulations.gov/v4/documents' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": [
    {
      "id": "AGENCY-2024-0001-0001",
      "type": "documents",
      "attributes": {
        "title": "Example Proposed Rule",
        "agencyId": "AGENCY",
        "docketId": "AGENCY-2024-0001",
        "documentType": "Proposed Rule",
        "postedDate": "2024-01-15T05:00:00Z",
        "commentEndDate": "2024-03-15T03:59:59Z",
        "openForComment": false,
        "withdrawn": false
      }
    }
  ],
  "meta": {
    "totalElements": 1,
    "hasNextPage": false
  }
}
```

### Get one document's details.

`GET /documents/{documentId}`

- Footprint: passive (the target is not contacted)

Returns the full document record. Add include=attachments to include attachments.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `documentId` | path | string | yes | Document id Example: AGENCY-2024-0001-0001 |
| `include` | query | string | no | Only attachments is supported Example: attachments |

Response fields:

- `data.id` (string): Document id
- `data.attributes.title` (string): Title
- `data.attributes.docketId` (string): Docket id
- `data.attributes.subject` (string): Subject
- `data.attributes.frDocNum` (string): Federal Register document number
- `data.attributes.effectiveDate` (string): Effective date

```bash
curl 'https://api.regulations.gov/v4/documents/AGENCY-2024-0001-0001' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {
    "id": "AGENCY-2024-0001-0001",
    "type": "documents",
    "attributes": {
      "title": "Example Proposed Rule",
      "docketId": "AGENCY-2024-0001",
      "subject": "Example subject",
      "frDocNum": "2024-00001",
      "effectiveDate": "2024-06-01T04:00:00Z"
    }
  }
}
```

## Comments

### Search public comments.

`GET /comments`

- Takes: Name
- Footprint: passive (the target is not contacted)

Search comment text and filter by agency, date or the document commented on (filter[commentOnId] takes the document's objectId).

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `filter[searchTerm]` | query | string | no | Search text Example: example topic |
| `filter[agencyId]` | query | string | no | Agency acronym Example: GSA |
| `filter[commentOnId]` | query | string | no | objectId of the document commented on Example: 0900006481234567 |
| `filter[postedDate]` | query | string | no | Posted date, yyyy-MM-dd Example: 2024-02-01 |
| `sort` | query | string | no | postedDate, lastModifiedDate or documentId; prefix - for descending Example: -postedDate |
| `page[size]` | query | integer | no | Results per page, 5 to 250 Example: 25 |
| `page[number]` | query | integer | no | Page number, 1 to 20 Example: 1 |

Response fields:

- `data[].id` (string): Comment id
- `data[].attributes.title` (string): Comment title
- `data[].attributes.agencyId` (string): Agency
- `data[].attributes.documentType` (string): Document type
- `data[].attributes.postedDate` (string): Date posted
- `data[].attributes.withdrawn` (boolean): Whether withdrawn
- `meta.totalElements` (integer): Total matches

```bash
curl 'https://api.regulations.gov/v4/comments' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": [
    {
      "id": "AGENCY-2024-0001-0002",
      "type": "comments",
      "attributes": {
        "title": "Comment from an anonymous commenter",
        "agencyId": "AGENCY",
        "documentType": "Public Submission",
        "postedDate": "2024-02-01T05:00:00Z",
        "withdrawn": false
      }
    }
  ],
  "meta": {
    "totalElements": 1
  }
}
```

### Get one comment's details.

`GET /comments/{commentId}`

- Footprint: passive (the target is not contacted)

Returns the comment text and the fields the agency makes public (for example first name, last name, organization, city). Email, phone and address are never public. Add include=attachments for attachments.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `commentId` | path | string | yes | Comment id Example: AGENCY-2024-0001-0002 |
| `include` | query | string | no | Only attachments is supported Example: attachments |

Response fields:

- `data.id` (string): Comment id
- `data.attributes.comment` (string): Comment text
- `data.attributes.docketId` (string): Docket id
- `data.attributes.commentOnDocumentId` (string): Document commented on
- `data.attributes.firstName` (string): First name, if the agency shows it
- `data.attributes.lastName` (string): Last name, if the agency shows it
- `data.attributes.organization` (string): Organisation, if shown
- `data.attributes.receiveDate` (string): Date received

```bash
curl 'https://api.regulations.gov/v4/comments/AGENCY-2024-0001-0002' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {
    "id": "AGENCY-2024-0001-0002",
    "type": "comments",
    "attributes": {
      "comment": "Example comment text.",
      "docketId": "AGENCY-2024-0001",
      "commentOnDocumentId": "AGENCY-2024-0001-0001",
      "firstName": "Jane",
      "lastName": "Example",
      "organization": "Example Org",
      "receiveDate": "2024-02-01T05:00:00Z"
    }
  }
}
```

## Dockets

### Search dockets.

`GET /dockets`

- Takes: Name
- Footprint: passive (the target is not contacted)

Search dockets by text, agency (comma-separated acronyms allowed) or type.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `filter[searchTerm]` | query | string | no | Search text Example: example topic |
| `filter[agencyId]` | query | string | no | Agency acronym(s) Example: GSA,EPA |
| `filter[docketType]` | query | string | no | Docket type Example: Rulemaking One of: Rulemaking, Nonrulemaking |
| `sort` | query | string | no | title, docketId or lastModifiedDate; prefix - for descending Example: title |
| `page[size]` | query | integer | no | Results per page, 5 to 250 Example: 25 |

Response fields:

- `data[].id` (string): Docket id
- `data[].attributes.title` (string): Docket title
- `data[].attributes.agencyId` (string): Agency
- `data[].attributes.docketType` (string): Rulemaking or Nonrulemaking
- `meta.totalElements` (integer): Total matches

```bash
curl 'https://api.regulations.gov/v4/dockets' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": [
    {
      "id": "AGENCY-2024-0001",
      "type": "dockets",
      "attributes": {
        "title": "Example Docket",
        "agencyId": "AGENCY",
        "docketType": "Rulemaking"
      }
    }
  ],
  "meta": {
    "totalElements": 1
  }
}
```

### Get one docket's details.

`GET /dockets/{docketId}`

- Footprint: passive (the target is not contacted)

Returns the docket record, including fields such as rin and keywords.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `docketId` | path | string | yes | Docket id Example: AGENCY-2024-0001 |

Response fields:

- `data.id` (string): Docket id
- `data.attributes.title` (string): Title
- `data.attributes.rin` (string): Regulation identifier number
- `data.attributes.dkAbstract` (string): Docket abstract
- `data.attributes.keywords` (array): Keywords

```bash
curl 'https://api.regulations.gov/v4/dockets/AGENCY-2024-0001' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "data": {
    "id": "AGENCY-2024-0001",
    "type": "dockets",
    "attributes": {
      "title": "Example Docket",
      "rin": "0000-AA00",
      "dkAbstract": "Example abstract.",
      "keywords": [
        "example"
      ]
    }
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
