Count of Federal Accounts Receiving Disaster/Emergency Funding
POST
/api/v2/disaster/federal_account/count/This endpoint provides the count of Federal Accounts and TAS which received disaster/emergency funding per the requested filters.
This endpoint returns a count of Federal Account and TAS
Request
curl -X POST 'https://api.usaspending.gov/api/v2/disaster/federal_account/count/' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"def_codes": [
"L",
"M",
"N"
]
}
}'Request body
filterobject · FilterRequired1 fielddef_codesarray of DEFCRequiredList of Disaster Emergency Fund (DEF) Codes (DEFC) defined by legislation at the time of writing. When filtering on
award_type_codesthis will filter on File D records that have at least one File C with the provided DEFC and belong to CARES Act DEFC. A list of current DEFC can be found here.
Try it
Runs against the live API. Responses are real data.
POST
/api/v2/disaster/federal_account/count/Response · 200
countnumberRequired
{
"count": 5
}Recent changes
No contract changes to this endpoint since October 2024. The changelog covers every endpoint.
Generated from contracts/v2/disaster/federal_account/count.md in the USAspending API repo.