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
Try it
Runs against the live API. Responses are real data.
GET
/api/v2/references/filter_tree/psc/Product/Response · 200
resultsarray of FilterTreeNodeRequired5 fieldsidstringRequireddescriptionstringRequiredancestorsarray of stringRequiredcountnumberRequiredchildrenarray of FilterTreeNodeRequiredNullable
{
"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
groupin 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.