About this API
USAspending.gov is the official source of U.S. federal spending data — contracts, grants, agency budgets. Its keyless REST API exposes this data in JSON. It embodies the same public-procurement transparency idea as Poland's e-Zamówienia, but at federal scale.
Frequently asked questions
Do I need an API key?
No, the API is public and free — no registration, no key required.
What data does this API return?
U.S. federal spending data — contracts, grants, agency budgets — in JSON.
Can this API be called directly from a browser?
Yes — the API returns a CORS header allowing calls from any domain, so it works directly from frontend code (hence the live "Try it" button above).
Who runs this API?
The U.S. Department of the Treasury (USAspending.gov). Documentation: api.usaspending.gov.