Count of Recipients Receiving Disaster/Emergency Funding
POST
/api/v2/disaster/recipient/count/This endpoint provides the count of Recipients which received disaster/emergency funding per the requested filters.
This endpoint returns a count of Recipients
Request
curl -X POST 'https://api.usaspending.gov/api/v2/disaster/recipient/count/' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"def_codes": [
"L",
"M",
"N",
"O",
"P",
"U"
]
}
}'Request body
filterobject · FilterRequired2 fieldsdef_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.award_type_codesarray of AwardTypeCodesDefaults to all Award Type Codes.
02030405060708091011ABCDIDV_AIDV_B_AIDV_B_BIDV_B_CIDV_BIDV_CIDV_DIDV_EF001F002F003F004F005F006F007F008F009F010
Try it
Runs against the live API. Responses are real data.
POST
/api/v2/disaster/recipient/count/Response · 200
countnumberRequired
{
"count": 5
}Recent changes
- DEV-15240: Update API contracts with new Assistance Type codes
- Mentioned in the August 24, 2020 release notes
- Mentioned in the August 07, 2020 release notes
Generated from contracts/v2/disaster/recipient/count.md in the USAspending API repo.