Get Federal Account Breakdown
usaspending_get_federal_account_breakdownFetch a federal account's obligations broken down by program activity (what the money funds) or object class (what it buys — personnel, supplies, contracts). Use the dimension parameter to select the axis. fiscal_year scopes financial reporting periods to the full October–September year, not award action dates; omit it for all available periods. Account codes are AGENCY-MAIN format and come from usaspending_search_federal_accounts (its account_number output field), usaspending_get_award_federal_accounts (its federal_account field), or usaspending_get_federal_account. Paginated with an honest total count. For the account's own metadata and top-level totals, use usaspending_get_federal_account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_code": "<account_code>",
"dimension": "<dimension>"
},
"name": "usaspending_get_federal_account_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based) | |
| limit | No | Maximum results per page (1–100) | |
| dimension | Yes | Breakdown axis: program_activity (obligations by the program the funds support) or object_class (obligations by the category of goods/services purchased) | |
| fiscal_year | No | Federal fiscal year (2001 through the current federal fiscal year; October 1 rollover). Omit or leave blank to preserve the endpoint 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. | |
| notice | No | Recovery for an empty page, distinguished from a known zero total; absent when results are present. | |
| period | No | FY<year> for a selected year, otherwise all available periods | |
| results | No | Breakdown rows for the requested dimension | |
| dimension | No | Breakdown dimension returned | |
| totalCount | No | Total number of breakdown rows across all pages (when available) | |
| fiscal_year | No | Fiscal year selected by the caller; omitted for all available periods | |
| time_period | No | Full fiscal-year range applied to financial reporting periods, not award action dates; omitted for all available periods | |
| account_code | No | Federal account code queried | |
| current_page | No | Current page returned | |
| has_next_page | No | Whether there are more pages of breakdown rows | |
| page_metadata | No | Pagination metadata | |
| applied_dimension | No | Breakdown dimension applied |