List Organizations
list_organizationsSearch and filter the federal agency organization tree to find departments, agencies, and offices by name, type, parent, or active status.
Instructions
Search the federal agency organization tree (~907 departments/agencies/offices).
Market Research tool. Use `search` to resolve a name/acronym to an org, or
`parent_id` to list an agency's direct sub-units. Free tier.
- type: DEPARTMENT or AGENCY
- cgac: Treasury account code (e.g. "097" for DoD), NOT the same code space as
`awarding_agency_code` on contract/award tools; there is no shared identifier
between federal_hierarchy and contract-level data, cgac requires a separate
lookup, it does not chain directly
- parent_id: filter to direct children of one organization_id
- hierarchy_level: 1 = root department
- search: matches canonical name, short name, or any alternative name (min 2 chars)
- limit: max 1000
Returns each org's organization_id, pass that to get_organization for the full
record with parent/children/ancestors inline, or to list_organizations again as
parent_id to page through its children.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cgac | No | ||
| type | No | ||
| limit | No | ||
| offset | No | ||
| search | No | ||
| is_active | No | ||
| parent_id | No | ||
| hierarchy_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |