USAspending API ReferenceIndependent
Try the API

Toptier Search

GET/api/v2/references/filter_tree/psc/

Returns the basic groupings of Product Service Codes

Request

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

Try it

Runs against the live API. Responses are real data.

GET/api/v2/references/filter_tree/psc/

Response · 200

  • resultsarray of FilterTreeNodeRequired5 fields
    • idstringRequired
    • descriptionstringRequired
    • ancestorsarray of stringRequired
    • countnumberRequired
    • childrenarray of FilterTreeNodeRequiredNullable
Example response
{
  "results": [
    {
      "id": "Research and Development",
      "ancestors": [],
      "description": "",
      "count": 21,
      "children": null
    },
    {
      "id": "Service",
      "ancestors": [],
      "description": "",
      "count": 23,
      "children": null
    },
    {
      "id": "Product",
      "ancestors": [],
      "description": "",
      "count": 77,
      "children": null
    }
  ]
}

Recent changes

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

Loading…