Skip to main content
POST
/
api
/
usaspending
/
awards
/
transactions
/usaspending/awards/transactions
curl --request POST \
  --url https://api.anysite.io/api/usaspending/awards/transactions \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "award": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "action_date",
  "order": "desc"
}
'
[
  {
    "id": "<string>",
    "@type": "@usaspending_transaction",
    "type": "<string>",
    "type_description": "<string>",
    "action_date": "<string>",
    "action_type": "<string>",
    "action_type_description": "<string>",
    "modification_number": "<string>",
    "description": "<string>",
    "federal_action_obligation": 123,
    "face_value_loan_guarantee": 123,
    "original_loan_subsidy_cost": 123,
    "cfda_number": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
award
string
required

Award identifier (generated unique award id)

Minimum string length: 1
Examples:

"CONT_AWD_N0001920C0009_9700_-NONE-_-NONE-"

"ASST_NON_2405CA5MAP_075"

count
integer
required

Number of transactions to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:action_date

Field to sort transactions by

Available options:
action_date,
modification_number,
federal_action_obligation,
face_value_loan_guarantee
order
enum<string>
default:desc

Sort direction

Available options:
asc,
desc

Response

Successful Response

id
string
required
@type
string
default:@usaspending_transaction
type
string | null
type_description
string | null
action_date
string | null
action_type
string | null
action_type_description
string | null
modification_number
string | null
description
string | null
federal_action_obligation
number | null
face_value_loan_guarantee
number | null
original_loan_subsidy_cost
number | null
cfda_number
string | null