Freedom of Information Act · Capability
Freedom of Information Act (FOIA) API
Public APIs published by FOIA.gov, including the Agency Components API (Drupal JSON:API) for browsing federal agencies and their FOIA components, and the Annual Report XML API for retrieving an agency's FOIA annual report. A separate Agency API specification defines how the FOIA.gov portal submits requests to participating agencies.
What You Can Do
GET
Listagencycomponents
— List agency components
/api/agency_components
GET
Getagencycomponent
— Get agency component
/api/agency_components/{id}
GET
Getagencycomponentrequestform
— Get an agency component's request form
/api/agency_components/{id}/request_form
GET
Getannualreportxml
— Get an agency annual FOIA report
/api/annual-report-xml/{agencyAbbreviation}/{year}
POST
Submitagencyrequest
— Submit a FOIA request to an agency component
/components/{id}/requests/
MCP Tools
listagencycomponents
List agency components
read-only
idempotent
getagencycomponent
Get agency component
read-only
idempotent
getagencycomponentrequestform
Get an agency component's request form
read-only
idempotent
getannualreportxml
Get an agency annual FOIA report
read-only
idempotent
submitagencyrequest
Submit a FOIA request to an agency component