USAspending API ReferenceIndependent
Try the API

Total Government Budgetary Resources

GET/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_yearstring

    The fiscal year to retrieve, 2017 or later.

  • fiscal_periodstring

    The fiscal period. If this optional parameter is provided then fiscal_year is a required parameter. If fiscal_period is provided without fiscal_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.

GET/api/v2/references/total_budgetary_resources/

Response · 200

  • resultsarray of FederalBudgetaryResourcesRequired3 fields
    • fiscal_yearnumberRequired
    • fiscal_periodnumberRequired
    • total_budgetary_resourcesnumberRequired
  • messagesarray of stringRequired

    An array of warnings or instructional directives to aid consumers of this endpoint with development and debugging.

Example response
{
    "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.

Loading…