Use the free USAspending API to compare federal contract spending by category with a year ago, and see which agencies and vendors are behind the change.
Written with AI assistance and reviewed by the FedSignals Data team; we maintain these tools.
"Is federal spending in my market growing?" sounds simple. USAspending.gov has every federal contract obligation, and its API is free with no API key . But answering the question takes some work:
Choose your categories. USAspending classifies contracts with thousands of PSC (product and service) codes, so you need to group them into markets like "IT & Cyber" or "Construction".
Make three queries per category. You need the current window, the window just before it, and the same window a year ago, using POST /api/v2/search/spending_by_category/awarding_agency/ with a psc_codes filter and a time_period .
Leave a lag.…