Recipient Duns
POST
/api/v2/recipient/count/These endpoints are used to power USAspending.gov's recipient profile pages.
This endpoint returns the count of recipients given an award_type and keyword string.
Request
curl -X POST 'https://api.usaspending.gov/api/v2/recipient/count/' \
-H 'Content-Type: application/json' \
-d '{
"award_type": "all",
"Body": ""
}'Request body
keywordstringThe keyword results are filtered by. Searches on name, UEI, and DUNS.
award_typeenum (string)The award type results are filtered by.
allcontractsgrantsloansdirect_paymentsother_financial_assistance
Bodystring{ "award_type": "all" }
Try it
Runs against the live API. Responses are real data.
POST
/api/v2/recipient/count/Response · 200
countnumberRequired
{
"count": 10966055
}Recent changes
No contract changes to this endpoint since October 2024. The changelog covers every endpoint.
Generated from contracts/v2/recipient/count.md in the USAspending API repo.