Aggregate USAspending By Category
usaspending_spending_by_categoryAggregate US federal spending obligations or outlays by category such as agency, recipient, or location. Apply filters to narrow results, and choose markdown or JSON output.
Instructions
Aggregate obligations/outlays by category such as awarding_agency, recipient_duns, naics, psc, federal_account, state_territory, cfda, or defc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| filters | No | USAspending AdvancedFilterObject. Common keys include time_period, keywords, agencies, recipient_search_text, award_type_codes, award_ids, naics_codes, psc_codes, and place_of_performance_locations. Specify an explicit time_period for time-sensitive analysis. | |
| limit | No | Results per page. | |
| page | No | Page number to return. | |
| spending_level | No | transactions | |
| response_format | No | Output format: markdown for readable summaries, json for raw structured data. | markdown |