Openfec Search Legal
openfec_search_legalSearch FEC legal documents: advisory opinions, enforcement cases (MURs), alternative dispute resolutions, and administrative fines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Document type filter. Omit to search all types. admin_fines is slow without a query or respondent filter. | |
| query | No | Full-text search across legal documents. | |
| from_hit | No | Offset for pagination (0-indexed). Default 0. | |
| max_date | No | Latest date (YYYY-MM-DD) for the date_kind selected. Requires type and date_kind. | |
| min_date | No | Earliest date (YYYY-MM-DD) for the date_kind selected. Requires type and date_kind. | |
| ao_number | No | Specific advisory opinion number (e.g. "2024-01"). | |
| date_kind | No | Which date min_date/max_date bound. Each document type records its own dates, so this must be one the chosen type has: type=advisory_opinions → issue_date (opinion issued), request_date (request received), document_date; type=murs or adrs → open_date (case opened), close_date (case closed), document_date; type=admin_fines → rtb_date (reason-to-believe finding), fd_date (final determination). type=statutes cannot be date-filtered. Required whenever min_date or max_date is given, together with type. | |
| respondent | No | Respondent name (enforcement cases). | |
| case_number | No | Specific MUR or ADR case number. | |
| hits_returned | No | Results per page. Default 20, max 200. | |
| max_penalty_amount | No | Maximum penalty amount in dollars. Filters enforcement cases (murs, adrs) only — other document types are returned unfiltered by it. | |
| min_penalty_amount | No | Minimum penalty amount in dollars. Filters enforcement cases (murs, adrs) only — other document types are returned unfiltered by it. | |
| statutory_citation | No | U.S.C. citation (e.g. "52 U.S.C. 30106"). | |
| regulatory_citation | No | CFR citation (e.g. "11 CFR 112.4"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when no legal documents matched — echoes filters and suggests how to broaden. | |
| results | No | Legal document result set spanning advisory opinions, MURs, ADRs, admin fines, and statutes. | |
| totalCount | No | Total matching legal documents across all types. | |
| total_count | No | Total matching documents across all types. | |
| retrievalHint | No | How to recover the material trimmed out of these results. Present whenever any result was returned, because every result is trimmed. | |
| search_criteria | No | Echo of the search filters this call applied, as the server parsed them, minus paging arguments. Always present — compare it against what you sent to confirm every filter was honoured. |