regulations_find_comments
regulations_find_commentsFetch public comments on a Federal Register document or a Regulations.gov docket — the unique corpus of what citizens and organizations actually submitted. Provide exactly one targeting parameter: docket_id (all comments in a docket, broadest), document_object_id (comments on one document, from regulations_get_docket), fr_document_number (convenience — resolves the FR number to its Regulations.gov document internally), or comment_id (one comment's full detail and attachments). The list endpoint returns no body text or attachment info — call with comment_id to read a comment's body. When a comment's real content is a PDF/DOCX attachment, the body is a stub and attachmentOnly is true; the attachment download URLs are returned. Requires REGULATIONS_GOV_API_KEY (free at https://api.data.gov/signup/).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). Regulations.gov caps a query at 20 pages (5,000 records); for a high-volume docket this surfaces a sample — narrow by document_object_id. | |
| per_page | No | Comments per page (5–250, default 25). Regulations.gov requires a minimum page size of 5. | |
| docket_id | No | Fetch all comments in a docket by docket ID (e.g. "EPA-HQ-OAR-2025-0194"). Broadest scope. Exactly one of docket_id / document_object_id / fr_document_number / comment_id is required — supplying two is rejected, not resolved by precedence. | |
| comment_id | No | Fetch one comment's full detail and attachments by its Regulations.gov comment ID (e.g. "EPA-HQ-OAR-2025-0194-31102"). Use to read a single comment's body after finding it in a list. Mutually exclusive with the other three targeting parameters — pass it alone, not alongside the docket it came from. | |
| document_object_id | No | Fetch comments on one specific document by its Regulations.gov object ID (the objectId from regulations_get_docket's documents). Comments usually attach to the docket's primary (proposed-rule) document. Mutually exclusive with the other three targeting parameters. | |
| fr_document_number | No | Convenience: fetch comments for a Federal Register document by its FR number (e.g. "2025-14555"). Resolves to the Regulations.gov document internally. Saves a get_document → get_docket hop. Mutually exclusive with the other three targeting parameters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Which mode produced this result. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Comments returned on this page (list mode). | |
| title | No | Comment title (detail mode). | |
| notice | No | Guidance — empty results, or that bodies need comment_id detail mode. | |
| target | No | What was queried — docket / document / FR doc (list mode). | |
| bodyText | No | Comment body, HTML-stripped. A stub ("See Attached") when content is in attachments; null when empty (detail mode). | |
| comments | No | Comments matching the target, this page (list mode). Bodies/attachments require comment_id detail mode. | |
| docketId | No | Docket ID, or null (detail mode). | |
| commentId | No | Comment ID (detail mode). | |
| truncated | No | True when comments exceed the 5,000-record ceiling (list mode). | |
| withdrawn | No | True when the comment was withdrawn (detail mode). | |
| postedDate | No | Posted date (detail mode). | |
| totalCount | No | Total comments matching the target (list mode). | |
| attachments | No | Attachment files — substance lives here when attachmentOnly is true (detail mode). | |
| organization | No | Submitter organization, or null (detail mode). | |
| receivedDate | No | Received date, or null (detail mode). | |
| submitterName | No | Submitter name when public, or null (detail mode). | |
| attachmentOnly | No | True when attachments exist and the body is a stub/empty — the substance is in the attachment files (detail mode). | |
| restrictReason | No | Reason the comment is restricted, or null (detail mode). | |
| commentOnDocumentId | No | Document the comment was filed on, or null (detail mode). |