IDV Funding
POST
/api/v2/search/transaction_spending_summary/Returns the high-level aggregations of the counts and dollar amounts for all transactions which match the keyword filter
Request
curl -X POST 'https://api.usaspending.gov/api/v2/search/transaction_spending_summary/' \
-H 'Content-Type: application/json' \
-d '{
"filters": {
"keyword": "test"
}
}'Request body
The filters object is shared by every search endpoint. The filter object explains each filter with examples.
filtersobject · AdvancedFilterObjectRequired1 fieldNeed to provide
keywordskeywordsarray of stringRequired
Try it
Runs against the live API. Responses are real data.
POST
/api/v2/search/transaction_spending_summary/Response · 200
resultsobjectRequired2 fieldsprime_awards_obligation_amountnumberRequiredprime_awards_countnumberRequired
{
"results": {
"prime_awards_obligation_amount": 55791124858.71,
"prime_awards_count": 101365
}
}Recent changes
No contract changes to this endpoint since October 2024. The changelog covers every endpoint.
Generated from contracts/v2/search/transaction_spending_summary.md in the USAspending API repo.