# Regulations.gov

> Follow U.S. federal rulemaking by finding dockets, agency documents and public comment deadlines.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/regulations-gov

## Actions

### Find regulatory documents

Find federal rules, notices and supporting documents by keyword, docket, agency or posting date.

**Inputs**

- Search (`search`, text): Words to search for in the documents.
- Docket ID (`docket_id`, text): A docket ID, such as FAA-2018-1084.
- Agency ID (`agency_id`, text): The agency abbreviation, such as FAA or EPA.
- Start date (`start_date`, date): Only include documents posted on or after this date.
- End date (`end_date`, date): Only include documents posted on or before this date.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many documents to return per page. From 5 to 250.

**Outputs**

- `data` (object): The response from Regulations.gov.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "agencyId": "example",
          "commentEndDate": "example",
          "docketId": "example",
          "documentType": "example",
          "openForComment": true,
          "postedDate": "example",
          "title": "example",
          "withdrawn": true
        },
        "id": "example",
        "type": "example"
      }
    ],
    "meta": {
      "hasNextPage": true,
      "pageNumber": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### Get a regulatory docket

Get a docket's title, agency and rulemaking identifier.

**Inputs**

- Docket ID (`docket_id`, text, required): A docket ID, such as FAA-2018-1084.

**Outputs**

- `data` (object): The response from Regulations.gov.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "agencyId": "example",
        "docketType": "example",
        "rin": "example",
        "title": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}
```

### Get a regulatory document

Get a document's title, docket, posting date and public comment deadline from its ID.

**Inputs**

- Document ID (`document_id`, text, required): The document ID, such as FAA-2018-1084-0001.

**Outputs**

- `data` (object): The response from Regulations.gov.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "agencyId": "example",
        "commentEndDate": "example",
        "docketId": "example",
        "documentType": "example",
        "openForComment": true,
        "postedDate": "example",
        "title": "example",
        "withdrawn": true
      },
      "id": "example",
      "type": "example"
    }
  }
}
```
