Toptier Search
GET
/api/v2/references/filter_tree/psc/{group}/{psc}/{psc2}/Returns PSCs under the provided PSC
Request
curl 'https://api.usaspending.gov/api/v2/references/filter_tree/psc/Product/10/1000/'Path parameters
groupstringRequiredpscstringRequiredpsc2stringRequired
Try it
Runs against the live API. Responses are real data.
GET
/api/v2/references/filter_tree/psc/Product/10/1000/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
groupandpscandpsc2in its URL template, so they were added here from the path.
Generated from contracts/v2/references/filter_tree/psc/group/psc/psc.md in the USAspending API repo.