regulations_search_comments
Search public comments on U.S. federal rulemakings. Filter by agency, docket, date range, and full-text terms to find lobbying data.
Instructions
Search Regulations.gov public COMMENTS on rulemakings — the killer B2G dataset (who is lobbying which rule). Same JSON:API envelope + input shape as regulations_search_documents (searchTerm/query, agencyId, docketId, postedDateGe/Le, sort, pageNumber 1..40, pageSize 5..250) against /v4/comments. Returns { comments:[{ id, documentType, title, agencyId, docketId, postedDate, objectId }] } + honest _meta (same totalElements-exact total + 40-page/10,000-record ceiling handling as documents).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order (default '-postedDate'). Live-verified set: -postedDate/postedDate/-lastModifiedDate/lastModifiedDate/-commentEndDate (non-exhaustive). | |
| query | No | Alias for `searchTerm` (either is accepted; both feed filter[searchTerm]). | |
| agencyId | No | Filter by posting agency acronym (filter[agencyId]), e.g. 'EPA', 'FDA'. | |
| docketId | No | Filter by docket id (filter[docketId]), e.g. 'EPA-HQ-OAR-2021-0257'. | |
| pageSize | No | Records per page (page[size]), 5..250, default 25. | |
| pageNumber | No | 1-based page number, 1..40 (HARD cap — page[number] max is 40; the reachable window is 40×pageSize ≤ 10,000 records). | |
| searchTerm | No | Full-text search term (filter[searchTerm]), e.g. 'artificial intelligence'. | |
| documentType | No | Filter by document type (documents only): Rule / Proposed Rule / Notice / Supporting & Related Material / Other. | |
| postedDateGe | No | Posted on/after this date, YYYY-MM-DD (filter[postedDate][ge]). | |
| postedDateLe | No | Posted on/before this date, YYYY-MM-DD (filter[postedDate][le]). | |
| withinCommentPeriod | No | true ⇒ only documents currently open for comment (documents only; filter[withinCommentPeriod]). |