USAspending API ReferenceIndependent
Try the API

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

  • limitnumber

    Number of results to return (min: 1, max: 500)

    Default 10

  • search_textstringRequired

Try it

Runs against the live API. Responses are real data.

POST/api/v2/autocomplete/cfda/

Response · 200

  • resultsarray of CFDAMatchRequired3 fields
    • popular_namestringRequired
    • program_numberstringRequired
    • program_titlestringRequired
Example response
{
  "results": [
    {
      "popular_name": "",
      "program_number": "",
      "program_title": ""
    }
  ]
}

Recent changes

Generated from contracts/v2/autocomplete/cfda.md in the USAspending API repo.

Loading…