API Documentation
Free public REST API for US federal government organizational data. All endpoints return JSON. No authentication required.
Rate limits: 100 requests per minute per IP. Data sourced from USAspending.gov, Federal Register, and official agency records.
GET
/api/v1/agenciesList all agencies with optional filters
Parameters
| Name | Type | Description |
|---|---|---|
| branch | string | Filter by branch: executive, legislative, judicial |
| tag | string | Filter by category tag: defense, healthcare, finance, etc. |
| q | string | Search by name or leader |
| limit | number | Max results (default 100, max 500) |
| offset | number | Pagination offset (default 0) |
Example
/api/v1/agencies?branch=executive&limit=5GET
/api/v1/agencies/:idGet a single agency by ID
Parameters
| Name | Type | Description |
|---|---|---|
| id | string | Agency ID (e.g., 'defense', 'nasa', 'fbi') |
Example
/api/v1/agencies/defenseGET
/api/v1/agencies/:id/treeGet an agency and all its sub-organizations as a tree
Parameters
| Name | Type | Description |
|---|---|---|
| id | string | Agency ID |
Example
/api/v1/agencies/defense/treeGET
/api/v1/leadershipList current federal officials with appointment details
Parameters
| Name | Type | Description |
|---|---|---|
| branch | string | Filter by branch |
| status | string | Filter by status: confirmed, acting, pending |
| q | string | Search by person name or agency |
| limit | number | Max results (default 100, max 500) |
| offset | number | Pagination offset (default 0) |
Example
/api/v1/leadership?status=acting&branch=executiveGET
/api/healthHealth check endpoint
Example
/api/healthGovChart API is free and open. Data updates weekly from official government sources.
Questions? Contact us