Recipient Duns
/api/v2/recipient/duns/Deprecated: Please see the following API contract instead: usaspending_api/api_contracts/contracts/v2/recipient.md
These endpoints are used to power USAspending.gov's recipient profile pages. This data can be used to visualize the government spending that pertains to a specific recipient.
This endpoint returns a list of recipients, their level, DUNS, and amount.
Request
curl -X POST 'https://api.usaspending.gov/api/v2/recipient/duns/' \
-H 'Content-Type: application/json' \
-d '{
"order": "desc",
"sort": "amount",
"page": 1,
"limit": 50,
"award_type": "all"
}'Request body
orderenum (string)The direction results are sorted by.
ascfor ascending,descfor descending.ascdesc
sortenum (string)The field results are sorted by.
namedunsamount
limitnumberThe number of results to include per page. Maximum: 1000
pagenumberThe page of results to return based on the limit.
keywordstringThe keyword results are filtered by. Searches on name, UEI, or DUNS.
award_typeenum (string)The award type results are filtered by.
allcontractsgrantsloansdirect_paymentsother_financial_assistance
Try it
Runs against the live API. Responses are real data.
/api/v2/recipient/duns/Response · 200
page_metadataobject · PageMetaDataObject3 fieldspagenumberRequiredThe page number.
limitnumberRequiredThe number of results per page.
totalnumberRequiredThe total number of results (all pages).
resultsarray of RecipientListing6 fieldsnamestringRequiredNullableName of the recipient.
nullwhen the name is not provided.dunsstringRequiredNullableRecipient's DUNS (Data Universal Numbering System) number.
nullwhen no DUNS is provided.ueistringRequiredNullableRecipient's UEI (Unique Entity Identifier).
nullwhen no UEI is provided.idstringRequiredA unique identifier for the recipient at this
recipient_level.amountnumberRequiredThe aggregate monetary value of all transactions associated with this recipient for the trailing 12 months.
recipient_levelenum (string)RequiredA letter representing the recipient level.
Rfor neither parent nor child,Pfor Parent Recipient, orCfor child recipient.RPC
{
"page_metadata": {
"page": 1,
"total": 6426446,
"limit": 50,
"next": 2,
"previous": null,
"hasNext": true,
"hasPrevious": false
},
"results": [
{
"id": "1c3edaaa-611b-840c-bf2b-fd34df49f21f-P",
"duns": "071549000",
"uei": "NUDGYLBB4S99",
"name": "CALIFORNIA, STATE OF",
"recipient_level": "P",
"amount": 125645635660.93
},
{
"id": "9f972e57-c05f-b374-bf11-0408f30da215-R",
"duns": null,
"uei": null,
"name": "OPTUM BANK",
"recipient_level": "R",
"amount": 99578072991.9
},
{
"id": "b0e81504-fe4b-96fb-ae3c-27b1a7fb4cda-P",
"duns": "041002973",
"uei": "DKBAJQ45GQS8",
"name": "NEW YORK, STATE OF",
"recipient_level": "P",
"amount": 81273339054.44
},
{
"id": "bf782d74-80d4-581e-ae9f-3b5b57092d7d-C",
"duns": "796528263",
"uei": "JE73CDQUAPA7",
"name": "HEALTH CARE SERVICES, CALIFORNIA DEPARTMENT OF",
"recipient_level": "C",
"amount": 66803275488
}
]
}Recent changes
No contract changes to this endpoint since October 2024. The changelog covers every endpoint.
Generated from contracts/v2/recipient/duns.md in the USAspending API repo.