Independent developer reference
Build with the API behind usaspending.gov
Every chart, table, and profile on usaspending.gov is a call to a public API. These docs follow the site page by page, so you can find the endpoint behind anything you see and call it yourself.
/api/v2/on api.usaspending.govStart here
Make your first request in under a minute. No key, no sign-up.
Award and account dataThe two families of spending data, and how to tell which one you need.
The filter objectOne object drives every search endpoint. Every filter, with examples.
Paging and downloadsPage through results, then switch to file downloads for big pulls.
Browse by site menu
The reference follows usaspending.gov's four main menus. Each feature lists the endpoints that page calls.
How the site uses the API
All guidesGuides trace one usaspending.gov page from load to last chart, in the order the page makes its calls.
The filter panel, the charts, the results table, and the shareable URL, call by call.
11 callsHow an agency profile is builtBudgetary resources, obligations by award type, recipients, and sub-agencies for one agency and fiscal year.
9 callsHow a recipient profile is builtOne recipient: totals, parent and child relationships, and awards over time.
5 callsHow an award summary is builtOne award: overview, funding, federal accounts, transactions, and subawards, plus the extra calls for IDVs.
9 callsHow the Download Center worksRequest a file, poll until it is ready, then fetch it. The same pattern covers award, account, and archive files.
8 callsWhat's new
Site release notes
All releases- * Fixed a broken link on the Agency Profile page so you can access OMB Circular A-11 Appendix C guidance without encountering an error. This makes it easier to find additional information about federal agencies and budgeting. · Changes
9 changes
- Bug Fixes & Improvements
17 changes
- Bug Fixes & Improvements
14 changes
API contract changes
Full changelog- LLM Filter Search
Update request example to use alternate id
- LLM Filter Search
Add message to required fields for filter search assistant
- Spending By Subaward Grouped
Initial
- LLM Filter Search
Change pk from int to uuid
- Countries
Initial with integration tests
- States
State codes endpoint - initial