Count of awards for Agencies
GET
/api/v2/agency/awards/countReturns the count of Awards grouped by Award Type under Agencies
Request
curl 'https://api.usaspending.gov/api/v2/agency/awards/count'Try it
Runs against the live API. Responses are real data.
GET
/api/v2/agency/awards/countResponse · 200
page_metadataobject · PageMetadataRequired7 fieldsInformation used for pagination of results.
limitnumberRequiredpagenumberRequirednextnumberRequiredNullablepreviousnumberRequiredNullablehasNextbooleanRequiredhasPreviousbooleanRequiredtotalnumberRequired
resultsarray of AgencyResultRequired3 fieldsaward_typesobject · AwardTypesRequired6 fieldsgrantsnumberRequiredloansnumberRequiredcontractsnumberRequireddirect_paymentsnumberRequiredothernumberRequiredidvsnumberRequired
awarding_toptier_agency_namestringRequiredawarding_toptier_agency_codestringRequired
messagesarray of stringRequiredAn array of warnings or instructional directives to aid consumers of this endpoint with development and debugging.
{
"page_metadata": {
"limit": 1,
"page": 1,
"next": 2,
"previous": null,
"hasNext": false,
"hasPrevious": false,
"count": 10
},
"results": [
{
"awarding_toptier_agency_name": "Department of Defense",
"awarding_toptier_agency_code": "079",
"contracts": 2724,
"idvs": 45,
"grants": 0,
"direct_payments": 0,
"loans": 0,
"other": 0
}
],
"messages": []
}Recent changes
No contract changes to this endpoint since October 2024. The changelog covers every endpoint.
Generated from contracts/v2/agency/awards/count.md in the USAspending API repo.