Spending Over Time
usaspending_spending_over_timeFetch aggregated federal obligation amounts grouped by fiscal year, fiscal quarter, or fiscal month. All grouping is relative to the US government fiscal year (Oct–Sep), so fiscal month 1 is October, not January. Filter by award type, agency, recipient, keyword, or NAICS code to trace spending trends in a specific area. Returns per-period totals and optional breakdowns by award category (contracts, grants, direct payments, IDVs, loans, other).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Time grouping: fiscal_year (annual US govt FY: Oct–Sep), quarter (fiscal quarter), or month (fiscal month — an ordinal within the fiscal year, where 1 = October) | |
| filters | No | Filters to scope the time-series aggregation. Defaults to contract awards when omitted. | |
| subawards | No | Aggregate subaward data instead of prime award data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| group | No | Time grouping used | |
| notice | No | Recovery hint when no periods are returned — suggests broadening filters. Absent when results are present. | |
| results | No | Time-series of obligation totals | |
| time_group | No | Time grouping applied: fiscal_year, quarter, or month | |
| period_count | No | Number of time periods returned | |
| total_periods | No | Number of time periods returned | |
| applied_keywords | No | Keyword filters applied (comma-separated) | |
| applied_agency_name | No | Awarding agency name filter applied | |
| applied_naics_codes | No | NAICS code filters applied (comma-separated) | |
| applied_time_period_end | No | End date filter applied (YYYY-MM-DD) | |
| applied_time_period_start | No | Start date filter applied (YYYY-MM-DD) |