USAspending API ReferenceIndependent
Try the API

Toptier Search

GET/api/v2/references/filter_tree/psc/{group}/

Returns PSCs under the provided group

Request

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

Path parameters

  • groupstringRequired

    Example Product

Try it

Runs against the live API. Responses are real data.

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

Response · 200

  • resultsarray of FilterTreeNodeRequired5 fields
    • idstringRequired
    • descriptionstringRequired
    • ancestorsarray of stringRequired
    • countnumberRequired
    • childrenarray of FilterTreeNodeRequiredNullable
Example response
{
  "results": [
    {
      "id": "AA",
      "ancestors": [
        "Research and Development"
      ],
      "description": "AGRICULTURE R&D",
      "count": 4,
      "children": null
    },
    {
      "id": "F",
      "ancestors": [
        "Service"
      ],
      "description": "NATURAL RESOURCES MANAGEMENT",
      "count": 3,
      "children": null
    }
  ]
}

Recent changes

No contract changes to this endpoint since October 2024. The changelog covers every endpoint.

Contract notes

  • The contract doesn't declare group in its URL template, so it was added here from the path.

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

Loading…