Transaction Count
GET
/api/v2/awards/count/transaction/{award_id}/This endpoint is used for the transaction history tab on the awards page.
This endpoint returns the number of transactions associated with the given award.
Request
curl 'https://api.usaspending.gov/api/v2/awards/count/transaction/ASST_NON_NNX17AJ96A_8000/'Path parameters
award_idstringRequired
Try it
Runs against the live API. Responses are real data.
GET
/api/v2/awards/count/transaction/ASST_NON_NNX17AJ96A_8000/Response · 200
transactionsnumberRequiredBodystring{ "transactions": 32 }
{
"transactions": 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_idin its URL template, so it was added here from the path.
Generated from contracts/v2/awards/count/transaction/award_id.md in the USAspending API repo.