Count of Awards Receiving Disaster/Emergency Funding
/api/v2/disaster/award/count/This endpoint provides the count of Awards which received disaster/emergency funding per the requested filters.
This endpoint returns a count of Awards
Request
curl -X POST 'https://api.usaspending.gov/api/v2/disaster/award/count/' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"def_codes": [
"L",
"M",
"N"
]
}
}'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 AwardTypeCodesWhen Award Type Codes are provided, results are only counted if the awards are linked between Financial Account by Awards and Awards (File C to File D linkage). If this filter isn't provided then the results are File C (Financial Account by Awards) only
02030405060708091011ABCDIDV_AIDV_B_AIDV_B_BIDV_B_CIDV_BIDV_CIDV_DIDV_EF001F002F003F004F005F006F007F008F009F010
Try it
Runs against the live API. Responses are real data.
/api/v2/disaster/award/count/Response · 200
countnumberRequired
{
"count": 5
}Recent changes
- DEV-15240: Update API contracts with new Assistance Type codes
- Mentioned in the August 07, 2024 release notes
Generated from contracts/v2/disaster/award/count.md in the USAspending API repo.