Total Government Budgetary Resources
/api/v2/references/total_budgetary_resources/This endpoint is used to provide information on the federal budgetary resources of the government.
This endpoint returns federal budgetary resources by fiscal year and fiscal period.
Request
curl 'https://api.usaspending.gov/api/v2/references/total_budgetary_resources/'Query parameters
fiscal_yearstringThe fiscal year to retrieve, 2017 or later.
fiscal_periodstringThe fiscal period. If this optional parameter is provided then
fiscal_yearis a required parameter. Iffiscal_periodis provided withoutfiscal_year, a 400 error is returned. Valid values: 2-12 (2 = November ... 12 = September). For retrieving quarterly data, provide the period which equals 'quarter * 3' (e.g. Q2 = P6). If neither parameter is provided, the entire available history will be returned.
Try it
Runs against the live API. Responses are real data.
/api/v2/references/total_budgetary_resources/Response · 200
resultsarray of FederalBudgetaryResourcesRequired3 fieldsfiscal_yearnumberRequiredfiscal_periodnumberRequiredtotal_budgetary_resourcesnumberRequired
messagesarray of stringRequiredAn array of warnings or instructional directives to aid consumers of this endpoint with development and debugging.
{
"results": [
{
"fiscal_year": 2020,
"fiscal_period": 6
"total_budgetary_resources": 8361447130497.72,
},
{
"fiscal_year": 2020,
"fiscal_period": 5
"total_budgetary_resources": 234525.72,
}
],
"messages": []
}Recent changes
Generated from contracts/v2/references/total_budgetary_resources.md in the USAspending API repo.