Search by Federal Account
GET
/api/v2/references/filter_tree/tas/{agency}/{federal_account}/Returns a list of Treasury Account Symbols associated with the specified federal account
Request
curl 'https://api.usaspending.gov/api/v2/references/filter_tree/tas/020/{federal_account}/'Path parameters
agencystringRequiredfederal_accountstringRequired
Try it
Runs against the live API. Responses are real data.
GET
/api/v2/references/filter_tree/tas/020/{federal_account}/Fill in the path parameters first.
Response · 200
resultsarray of FilterTreeNodeRequired5 fieldsidstringRequireddescriptionstringRequiredancestorsarray of stringRequiredcountnumberRequiredchildrenarray of FilterTreeNodeRequiredNullable
{
"results": [
{
"id": "075-2016/2017-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-2017/2017-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-2013/2013-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health",
"count": 0,
"children": null
},
{
"id": "075-2019/2019-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-2020/2020-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-2018/2018-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-2016/2016-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-2015/2015-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-X-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Health and Human Services",
"count": 0,
"children": null
},
{
"id": "075-2014/2014-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health",
"count": 0,
"children": null
},
{
"id": "075-2012/2012-0884-000",
"ancestors": [
"073",
"075-0884"
],
"description": "National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health",
"count": 0,
"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
agencyandfederal_accountin its URL template, so they were added here from the path.
Generated from contracts/v2/references/filter_tree/tas/agency/federal_account.md in the USAspending API repo.