Skip to content
GovChart

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/agencies

List all agencies with optional filters

Parameters

NameTypeDescription
branchstringFilter by branch: executive, legislative, judicial
tagstringFilter by category tag: defense, healthcare, finance, etc.
qstringSearch by name or leader
limitnumberMax results (default 100, max 500)
offsetnumberPagination offset (default 0)

Example

/api/v1/agencies?branch=executive&limit=5
GET/api/v1/agencies/:id

Get a single agency by ID

Parameters

NameTypeDescription
idstringAgency ID (e.g., 'defense', 'nasa', 'fbi')

Example

/api/v1/agencies/defense
GET/api/v1/agencies/:id/tree

Get an agency and all its sub-organizations as a tree

Parameters

NameTypeDescription
idstringAgency ID

Example

/api/v1/agencies/defense/tree
GET/api/v1/leadership

List current federal officials with appointment details

Parameters

NameTypeDescription
branchstringFilter by branch
statusstringFilter by status: confirmed, acting, pending
qstringSearch by person name or agency
limitnumberMax results (default 100, max 500)
offsetnumberPagination offset (default 0)

Example

/api/v1/leadership?status=acting&branch=executive
GET/api/health

Health check endpoint

Example

/api/health

GovChart API is free and open. Data updates weekly from official government sources.

Questions? Contact us