USAspending API ReferenceIndependent
Try the API

Toptier Search

GET/api/v2/references/filter_tree/tas/

Returns a list of toptier agencies that have at least one TAS affiliated with them

Request

curl 'https://api.usaspending.gov/api/v2/references/filter_tree/tas/'

Try it

Runs against the live API. Responses are real data.

GET/api/v2/references/filter_tree/tas/

Response · 200

  • resultsarray of FilterTreeNodeRequired5 fields
    • idstringRequired
    • descriptionstringRequired
    • ancestorsarray of stringRequired
    • countnumberRequired
    • childrenarray of FilterTreeNodeRequiredNullable
Example response
{
  "results": [
    {
      "id": "012",
      "ancestors": [],
      "description": "Department of Agriculture (USDA)",
      "count": 569,
      "children": null
    },
    {
      "id": "013",
      "ancestors": [],
      "description": "Department of Commerce (DOC)",
      "count": 165,
      "children": null
    },
    {
      "id": "097",
      "ancestors": [],
      "description": "Department of Defense (DOD)",
      "count": 541,
      "children": null
    },
    {
      "id": "091",
      "ancestors": [],
      "description": "Department of Education (ED)",
      "count": 254,
      "children": null
    },
    {
      "id": "089",
      "ancestors": [],
      "description": "Department of Energy (DOE)",
      "count": 177,
      "children": null
    },
    {
      "id": "075",
      "ancestors": [],
      "description": "Department of Health and Human Services (HHS)",
      "count": 1056,
      "children": null
    },
    {
      "id": "070",
      "ancestors": [],
      "description": "Department of Homeland Security (DHS)",
      "count": 586,
      "children": null
    },
    {
      "id": "086",
      "ancestors": [],
      "description": "Department of Housing and Urban Development (HUD)",
      "count": 319,
      "children": null
    },
    {
      "id": "015",
      "ancestors": [],
      "description": "Department of Justice (DOJ)",
      "count": 174,
      "children": null
    },
    {
      "id": "1601",
      "ancestors": [],
      "description": "Department of Labor (DOL)",
      "count": 273,
      "children": null
    },
    {
      "id": "019",
      "ancestors": [],
      "description": "Department of State (DOS)",
      "count": 291,
      "children": null
    },
    {
      "id": "014",
      "ancestors": [],
      "description": "Department of the Interior (DOI)",
      "count": 356,
      "children": null
    },
    {
      "id": "020",
      "ancestors": [],
      "description": "Department of the Treasury (TREAS)",
      "count": 283,
      "children": null
    },
    {
      "id": "069",
      "ancestors": [],
      "description": "Department of Transportation (DOT)",
      "count": 383,
      "children": null
    },
    {
      "id": "036",
      "ancestors": [],
      "description": "Department of Veterans Affairs (VA)",
      "count": 2,
      "children": null
    },
    {
      "id": "068",
      "ancestors": [],
      "description": "Environmental Protection Agency (EPA)",
      "count": 55,
      "children": null
    },
    {
      "id": "047",
      "ancestors": [],
      "description": "General Services Administration (GSA)",
      "count": 53,
      "children": null
    },
    {
      "id": "080",
      "ancestors": [],
      "description": "National Aeronautics and Space Administration (NASA)",
      "count": 130,
      "children": null
    },
    {
      "id": "049",
      "ancestors": [],
      "description": "National Science Foundation (NSF)",
      "count": 54,
      "children": null
    },
    {
      "id": "031",
      "ancestors": [],
      "description": "Nuclear Regulatory Commission (NRC)",
      "count": 3,
      "children": null
    },
    {
      "id": "024",
      "ancestors": [],
      "description": "Office of Personnel Management (OPM)",
      "count": 20,
      "children": null
    }
  ]
}

Recent changes

Generated from contracts/v2/references/filter_tree/tas.md in the USAspending API repo.

Loading…