Skip to main content
POST
/usaspending/autocomplete

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
search_text
string
required
Minimum string length: 1
resolve_type
enum<string>
required
Available options:
awarding_agency,
funding_agency,
recipient,
naics,
psc,
cfda
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500

Response

Successful Response

resolve_type
string
required
@type
string
default:UsaspendingAutocompleteResult
code
string | null
name
string | null
agency_id
integer | null
toptier_code
string | null
toptier_name
string | null
abbreviation
string | null
subtier_name
string | null
is_toptier
boolean | null
uei
string | null
duns
string | null
recipient_level
string | null
year_retired
integer | null