USAspending API ReferenceIndependent
Try the API

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 field

    Need to provide keywords

    • keywordsarray of stringRequired

      Example ["lockheed"]

Try it

Runs against the live API. Responses are real data.

POST/api/v2/search/transaction_spending_summary/

Response · 200

  • resultsobjectRequired2 fields
    • prime_awards_obligation_amountnumberRequired

      Example 1000000

    • prime_awards_countnumberRequired

      Example 3

Example response
{
  "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.

Loading…