Find recipients by name, UEI or DUNS text.
POST/autocomplete/recipient/
- Takes: Name
- Passive: the target is not contacted
Matches the search text against recipient names, UEI and DUNS. recipient_level is deprecated.
Request body (JSON) · 3ShowHide
search_text
Text to match against recipient names, UEI and DUNS
limit
Number of results; default 10, minimum 1, maximum 500
recipient_levels[]
Filter by level; allowed values C, P, R
Response fields · 5ShowHide
recipient_name
Set when the text matches the name, otherwise for UEI or DUNS matches
recipient_level
Deprecated
uei
Set only when the text matches a UEI
duns
Set only when the text matches a DUNS
messages[]
Warnings or instructions for developers
curl -X POST 'https://api.usaspending.gov/api/v2/autocomplete/recipient/' \
-H 'Content-Type: application/json' \
-d '{"search_text":"Example Corp","limit":10}'{
"results": [
{
"recipient_name": "EXAMPLE CORP",
"recipient_level": "R",
"uei": "EXAMPLEUEI12",
"duns": null
}
],
"messages": []
}