Toptier Agency Profile
/api/v2/references/toptier_agencies/These endpoints are used to power USAspending.gov's agency profile pages. This data can be used to better understand the different ways that a specific agency spends money.
This endpoint returns a list of toptier agencies, their budgetary resources, and and the percent of the total government budget authority this agency accounts for.
Request
curl 'https://api.usaspending.gov/api/v2/references/toptier_agencies/'Query parameters
sortstringA data field that will be used to sort the response array.
orderstringThe direction (
ascordesc) that thesortfield will be sorted in.
Try it
Runs against the live API. Responses are real data.
/api/v2/references/toptier_agencies/?sort=percentage_of_total_budget_authority&order=descResponse · 200
resultsarray of ListAgencyObjectRequired13 fieldsabbreviationstringRequiredactive_fqstringRequiredactive_fystringRequiredagency_idnumberRequiredagency_idis the unique USAspending.gov identifier for the agency. You will need to use this ID in other endpoints when requesting detailed information about this specific agency.agency_namestringRequiredbudget_authority_amountnumberRequiredcongressional_justification_urlstringRequiredNullablecurrent_total_budget_authority_amountnumberRequiredobligated_amountnumberRequiredoutlay_amountnumberRequiredpercentage_of_total_budget_authoritynumberRequiredpercentage_of_total_budget_authorityis the percentage of the agency's budget authority compared to the total government budget authority, expressed as a decimal value.toptier_codestringRequiredagency_slugstringRequired
{
"results": [
{
"abbreviation": "",
"active_fq": "",
"active_fy": "",
"agency_id": 0,
"agency_name": "",
"budget_authority_amount": 0,
"congressional_justification_url": null,
"current_total_budget_authority_amount": 0,
"obligated_amount": 0,
"outlay_amount": 0,
"percentage_of_total_budget_authority": 0,
"toptier_code": "",
"agency_slug": ""
}
]
}Recent changes
Generated from contracts/v2/references/toptier_agencies.md in the USAspending API repo.