Skip to main content
POST
/
api
/
usaspending
/
awards
/
funding
/usaspending/awards/funding
curl --request POST \
  --url https://api.anysite.io/api/usaspending/awards/funding \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "award": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "reporting_fiscal_date",
  "order": "desc"
}
'
[
  {
    "@type": "@usaspending_funding",
    "reporting_fiscal_year": 123,
    "reporting_fiscal_quarter": 123,
    "reporting_fiscal_month": 123,
    "transaction_obligated_amount": 123,
    "gross_outlay_amount": 123,
    "disaster_emergency_fund_code": "<string>",
    "federal_account": "<string>",
    "account_title": "<string>",
    "program_activity_code": "<string>",
    "program_activity_name": "<string>",
    "object_class": "<string>",
    "object_class_name": "<string>",
    "awarding_agency_name": "<string>",
    "funding_agency_name": "<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

Max number of funding records 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:reporting_fiscal_date

Field to sort by

Available options:
reporting_fiscal_date,
transaction_obligated_amount,
gross_outlay_amount,
disaster_emergency_fund_code,
federal_account,
account_title,
program_activity,
object_class,
awarding_agency_name,
funding_agency_name
order
enum<string>
default:desc

Sort order

Available options:
asc,
desc

Response

Successful Response

@type
string
default:@usaspending_funding
reporting_fiscal_year
integer | null
reporting_fiscal_quarter
integer | null
reporting_fiscal_month
integer | null
transaction_obligated_amount
number | null
gross_outlay_amount
number | null
disaster_emergency_fund_code
string | null
federal_account
string | null
account_title
string | null
program_activity_code
string | null
program_activity_name
string | null
object_class
string | null
object_class_name
string | null
awarding_agency_name
string | null
funding_agency_name
string | null