Government Spending API
US federal spending summed by region for any window since 2007.
GET /v1/economy/government-spend1 credit Failed requests are free
About this endpoint
GET /v1/economy/government-spend takes level (state, county, country), scope (place_of_performance or recipient_location), state (to list one state's counties), awardType (contracts, grants, loans, direct_payments, other, all), naics, psc, keyword, from and to.
data.regions lists every region with spending in the window, largest first, each with code (USPS, county FIPS or ISO alpha-3), name, amount, population and perCapita. data.totalAmount is their sum, and the window used is echoed in from and to.
Price
From $1.35 per 1,000 requests
1 credit per request. Failed requests are free.
- Scale pack
- $1.64 / 1,000
- Growth pack
- $2.36 / 1,000
The lowest rate is on annual plans; packs are pay as you go.
Example request
Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.
Example response
A 200 response. Live responses have the same shape with current data.
Government Spending API FAQ
What is the default window?
The latest federal fiscal year (1 October to 30 September) that ended at least 90 days ago, because agencies report with a lag of up to 90 days.
Can an amount be negative?
Yes, where de-obligations in the window exceed new awards.
How many credits does a request cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.