State Award Breakdown
/api/v2/recipient/state/awards/{fips}/This endpoint is used to power USAspending.gov's state profile pages. This data can be used to visualize the government spending that occurs in a specific state or territory.
This endpoint returns the award amounts and totals, based on award type, of a specific state or territory, given its USAspending.gov id.
Request
curl 'https://api.usaspending.gov/api/v2/recipient/state/awards/51/'Path parameters
fipsstringRequiredThe FIPS code for the state you want to view. You must include leading zeros.
Query parameters
yearstringThe fiscal year you would like data for. Use
allto view all time orlatestto view the latest 12 months.
Try it
Runs against the live API. Responses are real data.
/api/v2/recipient/state/awards/51/?year=2017Response · 200
typestringRequiredAward types include 'contracts', 'grants', 'direct_payments', 'loans', 'other_financial_assistance'.
amountnumberRequiredThe aggregate value of awards of this type.
countnumberRequiredThe number of awards of this type.
total_outlaysnumberRequiredThe total outlays of awards of this type.
[
{
"type": "contracts",
"amount": 41725.9,
"count": 4,
"total_outlays": 16572454209.94
}
]Recent changes
Generated from contracts/v2/recipient/state/awards/fips.md in the USAspending API repo.