Federal Accounts Landing Page
/api/v2/federal_accounts/{account_number}/This endpoint supports the federal account landing page, which provides a list of all federal accounts for which individual federal accounts pages are available on USAspending.gov.
This endpoint returns the agency identifier, account code, title, and database id for the given federal account.
Request
curl 'https://api.usaspending.gov/api/v2/federal_accounts/011/'Path parameters
account_numberstringRequired1022 (required, string) The Federal Account symbol comprised of Agency Code and Main Account Code. A unique identifier for federal accounts.
Query parameters
fiscal_yearstring
Try it
Runs against the live API. Responses are real data.
/api/v2/federal_accounts/011/?fiscal_year=2022Response · 200
fiscal_yearnumberRequiredidnumberRequiredagency_identifierstringRequiredmain_account_codestringRequiredfederal_account_codestring1022 (required, string)
account_titlestringRequiredparent_agency_toptier_codestringRequiredparent_agency_namestringRequiredbureau_namestringRequiredbureau_slugstringon-the-public-debt (required, string)
total_obligated_amountnumberSum of all child Treasury Account
obligated_amountvalues ornullif there are no child Treasury Accounts.total_gross_outlay_amountnumberSum of all child Treasury Account
gross_outlay_amountvalues ornullif there are no child Treasury Accounts.total_budgetary_resourcesnumberSum of all child Treasury Account
budgetary_resources_amountvalues ornullif there are no child Treasury Accounts.childrenarray of TreasuryAccountRequired5 fieldsList of applicable Treasury Accounts for the given Federal Account and fiscal year. Otherwise, it will be an empty array.
namestringRequiredcodestringRequiredobligated_amountnumberRequiredgross_outlay_amountnumberRequiredbudgetary_resources_amountnumberRequired
{
"fiscal_year": "2022",
"id": 3356,
"agency_identifier": "011",
"main_account_code": "1022",
"account_title": "International Narcotics Control and Law Enforcement, International Security Assistance, State",
"federal_account_code": "011-1022",
"parent_agency_toptier_code": "019",
"parent_agency_name": "Department of State",
"bureau_name": "Interest on the Public Debt",
"bureau_slug": "interest-on-the-public-debt",
"total_obligated_amount": -31604.5,
"total_gross_outlay_amount": 7643425.94,
"total_budgetary_resources": 54653496.23,
"children": [
{
"name": "International Narcotics Control and Law Enforcement, International Security Assistance, State",
"code": "019-011-2012/2017-1022-000",
"obligated_amount": -5497.39,
"gross_outlay_amount": 4463819.02,
"budgetary_resources_amount": 48917689.28
},
{
"name": "International Narcotics Control and Law Enforcement, International Security Assistance, State",
"code": "019-011-2013/2018-1022-000",
"obligated_amount": -26107.11,
"gross_outlay_amount": 3179606.92,
"budgetary_resources_amount": 5735806.95
},
]
}Recent changes
No contract changes to this endpoint since October 2024. The changelog covers every endpoint.
Generated from contracts/v2/federal_accounts/account_number.md in the USAspending API repo.