Usa Spending Trends
usa_spending_trends"How has [agency] contract spending trended over the last N fiscal years?" / "is [agency] spending on X growing?" / "federal spending history for [topic]" — US FEDERAL contract/award spending over time from USAspending.gov, grouped by fiscal year, quarter, or month. Filter by keywords or by federal agency (DHS/Homeland Security, DOD/Defense, HHS, VA, DOE, NASA, State, Treasury). Returns the historical dollar amount per period for trend and budget-forecasting questions. Federal only — for state & county award data use gov_contracts_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Time grouping: fiscal_year, quarter, or month (default fiscal_year) | |
| agency | No | Awarding agency name. Use instead of, or alongside, keywords. | |
| end_date | No | End date YYYY-MM-DD. Optional — defaults to today. | |
| keywords | No | Keywords to track spending for (e.g., ["artificial intelligence"]) | |
| start_date | No | Start date YYYY-MM-DD. Optional — defaults to five years ago; the window actually used comes back under `period`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Time grouping used (fiscal_year, quarter, or month) | |
| data_points | Yes | Spending data points over time |