USAspending API ReferenceIndependent
Try the API

Opportunity Totals by CFDA

GET/api/v2/references/cfda/totals/{cfda_code}/

This endpoint provides total values for requested CFDA.

Returns opportunity totals for a CFDA or all opportunity totals.

Request

curl 'https://api.usaspending.gov/api/v2/references/cfda/totals/12.012/'

Path parameters

  • cfda_codestringRequired

    Example 12.012

Try it

Runs against the live API. Responses are real data.

GET/api/v2/references/cfda/totals/12.012/

Response · 200

  • cfdastringRequired

    CFDA Code

  • postednumberRequired

    Number of programs posted

  • closednumberRequired

    Number of programs closed

  • archivednumberRequired

    Number of programs archived

  • forecastednumberRequired

    Number of programs forecasted

Example response
{
  "cfda": "00.000",
  "posted": 442,
  "closed": 234,
  "archived": 1685,
  "forecasted": 208
}

Recent changes

Contract notes

  • The contract doesn't declare cfda_code in its URL template, so it was added here from the path.

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

Loading…