USAspending API ReferenceIndependent
Try the API

Federal Accounts Count

GET/api/v2/awards/count/federal_account/{award_id}/

This endpoint is used for the federal accounts tab on the awards page.

This endpoint returns the number of federal accounts associated with the given award.

Request

curl 'https://api.usaspending.gov/api/v2/awards/count/federal_account/ASST_NON_NNX17AJ96A_8000/'

Path parameters

  • award_idstringRequired

    Example ASST_NON_NNX17AJ96A_8000

Try it

Runs against the live API. Responses are real data.

GET/api/v2/awards/count/federal_account/ASST_NON_NNX17AJ96A_8000/

Response · 200

  • federal_accountsnumberRequired
  • Bodystring

    { "federal_accounts": 32 }

Example response
{
  "federal_accounts": 0,
  "Body": ""
}

Recent changes

No contract changes to this endpoint since October 2024. The changelog covers every endpoint.

Contract notes

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

Generated from contracts/v2/awards/count/federal_account/award_id.md in the USAspending API repo.

Loading…