How the site uses the API
Each guide takes one usaspending.gov page and lists the calls it makes, in order, with what each one fills in. Rebuild the page, or borrow the pattern.
Call orders come from the site's public source code in the usaspending-website repo. Each guide links the files it traces.
The filter panel, the charts, the results table, and the shareable URL, call by call.
11 calls/searchHow an agency profile is builtBudgetary resources, obligations by award type, recipients, and sub-agencies for one agency and fiscal year.
9 calls/agencyHow a recipient profile is builtOne recipient: totals, parent and child relationships, and awards over time.
5 calls/recipientHow an award summary is builtOne award: overview, funding, federal accounts, transactions, and subawards, plus the extra calls for IDVs.
9 calls/award/:awardIdHow the Download Center worksRequest a file, poll until it is ready, then fetch it. The same pattern covers award, account, and archive files.
8 calls/download_centerWant a page covered that isn't here? Every endpoint page says which site feature calls it, starting from usaspending.gov's own menus.