Skip to content
OSINTtools.io

Regulations.gov API

US federal site for searching rulemaking dockets, agency documents and the public comments submitted on them.

Base URL
https://api.regulations.gov/v4
Sign-in
API key
Format
REST
Endpoints
6

Compiled by OSINTtools.io editors from open.gsa.gov · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with Regulations.gov and copy your api key. Where to get it

  2. Make your first request

    Search rules, proposed rules and notices.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.regulations.gov/v4/documents' \
      -H 'X-Api-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "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
      }
    }

Authentication

Send your API key in the X-Api-Key header of every request.

DEMO_KEY works for demonstration only

Get a key from Regulations.gov

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs for read calls; see https://api.data.gov/docs/rate-limits/

Errors

StatusMeaning
400Validation error
403API key missing or invalid
404Record not found

Documents

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

Query parameters

filter[searchTerm]stringtakes your name

Search text

Example: data privacy
filter[agencyId]string

Agency acronym

Example: GSA
filter[docketId]string

Docket id

Example: AGENCY-2024-0001
filter[documentType]string

Document type

Example: RuleOne of: Notice, Rule, Proposed Rule, Supporting & Related Material, Other
filter[postedDate]string

Posted date, yyyy-MM-dd

Example: 2024-01-15
sortstring

Comma-separated: commentEndDate, postedDate, lastModifiedDate, documentId, title; prefix - for descending

Example: -postedDate
page[size]integer

Results per page, 5 to 250

Example: 25
page[number]integer

Page number, 1 to 20

Example: 1
Response fields · 12Show

idstring

Document id

typestring

Always documents

titlestring

Document title

agencyIdstring

Agency

docketIdstring

Docket the document belongs to

documentTypestring

Document type

postedDatestring

Date posted

commentEndDatestring

Comment period end

openForCommentboolean

Whether comments are open

withdrawnboolean

Whether withdrawn

totalElementsinteger

Total matches

hasNextPageboolean

Whether another page exists

curl 'https://api.regulations.gov/v4/documents' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • Passive: the target is not contacted

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

Path parameters

documentIdstringrequired

Document id

Example: AGENCY-2024-0001-0001

Query parameters

includestring

Only attachments is supported

Example: attachments
Response fields · 6Show

idstring

Document id

titlestring

Title

docketIdstring

Docket id

subjectstring

Subject

frDocNumstring

Federal Register document number

effectiveDatestring

Effective date

curl 'https://api.regulations.gov/v4/documents/AGENCY-2024-0001-0001' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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 comment text and filter by agency, date or the document commented on (filter[commentOnId] takes the document's objectId).

Query parameters

filter[searchTerm]stringtakes your name

Search text

Example: example topic
filter[agencyId]string

Agency acronym

Example: GSA
filter[commentOnId]string

objectId of the document commented on

Example: 0900006481234567
filter[postedDate]string

Posted date, yyyy-MM-dd

Example: 2024-02-01
sortstring

postedDate, lastModifiedDate or documentId; prefix - for descending

Example: -postedDate
page[size]integer

Results per page, 5 to 250

Example: 25
page[number]integer

Page number, 1 to 20

Example: 1
Response fields · 7Show

idstring

Comment id

titlestring

Comment title

agencyIdstring

Agency

documentTypestring

Document type

postedDatestring

Date posted

withdrawnboolean

Whether withdrawn

totalElementsinteger

Total matches

curl 'https://api.regulations.gov/v4/comments' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • 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.

Path parameters

commentIdstringrequired

Comment id

Example: AGENCY-2024-0001-0002

Query parameters

includestring

Only attachments is supported

Example: attachments
Response fields · 8Show

idstring

Comment id

commentstring

Comment text

docketIdstring

Docket id

commentOnDocumentIdstring

Document commented on

firstNamestring

First name, if the agency shows it

lastNamestring

Last name, if the agency shows it

organizationstring

Organisation, if shown

receiveDatestring

Date received

curl 'https://api.regulations.gov/v4/comments/AGENCY-2024-0001-0002' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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

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

Query parameters

filter[searchTerm]stringtakes your name

Search text

Example: example topic
filter[agencyId]string

Agency acronym(s)

Example: GSA,EPA
filter[docketType]string

Docket type

Example: RulemakingOne of: Rulemaking, Nonrulemaking
sortstring

title, docketId or lastModifiedDate; prefix - for descending

Example: title
page[size]integer

Results per page, 5 to 250

Example: 25
Response fields · 5Show

idstring

Docket id

titlestring

Docket title

agencyIdstring

Agency

docketTypestring

Rulemaking or Nonrulemaking

totalElementsinteger

Total matches

curl 'https://api.regulations.gov/v4/dockets' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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}

  • Passive: the target is not contacted

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

Path parameters

docketIdstringrequired

Docket id

Example: AGENCY-2024-0001
Response fields · 5Show

idstring

Docket id

titlestring

Title

rinstring

Regulation identifier number

dkAbstractstring

Docket abstract

keywordsarray

Keywords

curl 'https://api.regulations.gov/v4/dockets/AGENCY-2024-0001' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "data": {
    "id": "AGENCY-2024-0001",
    "type": "dockets",
    "attributes": {
      "title": "Example Docket",
      "rin": "0000-AA00",
      "dkAbstract": "Example abstract.",
      "keywords": [
        "example"
      ]
    }
  }
}