USAspending API ReferenceIndependent
Try the API

List Budget Subfunctions

POST/api/v2/budget_functions/list_budget_subfunctions/

This route sends a request to the backend to retrieve a list of all Budget Subfunctions that can be filtered by Budget Function, ordered by their title.

Request

curl -X POST 'https://api.usaspending.gov/api/v2/budget_functions/list_budget_subfunctions/' \
  -H 'Content-Type: application/json' \
  -d '{
  "budget_function": "800"
}'

Request body

  • budget_functionstring

Try it

Runs against the live API. Responses are real data.

POST/api/v2/budget_functions/list_budget_subfunctions/

Response · 200

  • resultsarray of BudgetSubfunctionsRequired2 fields
    • budget_subfunction_codestringRequired
    • budget_subfunction_titlestringRequired
Example response
{
  "results": [
    {
      "budget_subfunction_code": "",
      "budget_subfunction_title": ""
    }
  ]
}

Recent changes

Generated from contracts/v2/budget_functions/list_budget_subfunctions.md in the USAspending API repo.

Loading…