CFDA Autocomplete
POST
/api/v2/autocomplete/cfda/This endpoint is used by the Advanced Search page.
This route sends a request to the backend to retrieve CFDA programs matching the specified search text.
Request
curl -X POST 'https://api.usaspending.gov/api/v2/autocomplete/cfda/' \
-H 'Content-Type: application/json' \
-d '{
"search_text": "Defense"
}'Request body
limitnumberNumber of results to return (min: 1, max: 500)
search_textstringRequired
Try it
Runs against the live API. Responses are real data.
POST
/api/v2/autocomplete/cfda/Response · 200
resultsarray of CFDAMatchRequired3 fieldspopular_namestringRequiredprogram_numberstringRequiredprogram_titlestringRequired
{
"results": [
{
"popular_name": "",
"program_number": "",
"program_title": ""
}
]
}Recent changes
Generated from contracts/v2/autocomplete/cfda.md in the USAspending API repo.