USAspending API ReferenceIndependent
Try the API

Federal Accounts Count

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

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

This endpoint returns the number of federal accounts associated with the given IDV and it's children and grandchildren.

Request

curl 'https://api.usaspending.gov/api/v2/idvs/count/federal_account/CONT_IDV_NNK14MA74C_8000/'

Path parameters

  • award_idstringRequired

    Example CONT_IDV_NNK14MA74C_8000

Try it

Runs against the live API. Responses are real data.

GET/api/v2/idvs/count/federal_account/CONT_IDV_NNK14MA74C_8000/

Response · 200

  • countnumberRequired
  • Bodystring

    { "count": 2 }

Example response
{
  "count": 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/idvs/count/federal_account/award_id.md in the USAspending API repo.

Loading…