Get Federal Account
usaspending_get_federal_accountFetch a federal account's budget data: total obligations, gross outlays, and budgetary resources, plus the per-Treasury-Account-Symbol (TAS) component breakdown in children. Federal accounts connect appropriations law to actual agency spending. Account codes come from usaspending_search_federal_accounts (its account_number output field) or usaspending_get_award_federal_accounts (its federal_account field), and are formatted as AGENCY-MAIN (e.g., 097-0100 for DoD Operation and Maintenance). For obligations broken down by program activity or object class, use usaspending_get_federal_account_breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_code | Yes | Federal account code in AGENCY-MAIN format (e.g., 097-0100). Returned as account_number by usaspending_search_federal_accounts and as federal_account by usaspending_get_award_federal_accounts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| children | No | Treasury Account Symbol (TAS) components that make up this federal account, each with its own obligated, outlay, and budgetary-resource amounts. Omitted when the upstream returns none. | |
| bureau_name | No | Bureau name within the agency | |
| fiscal_year | No | Fiscal year of the financial data | |
| account_title | No | Full account title | |
| agency_identifier | No | Agency identifier code | |
| main_account_code | No | Main account code | |
| parent_agency_name | No | Managing parent agency name | |
| federal_account_code | No | Federal account code | |
| total_obligated_amount | No | Total obligated amount in USD | |
| total_budgetary_resources | No | Total budgetary resources in USD | |
| total_gross_outlay_amount | No | Total gross outlay amount in USD |