This endpoint returns the award amounts and totals, based on award type, of a specific state or territory, given its USAspending.gov id.

Documentation for this endpoint can be found here.

GET /api/v2/recipient/state/awards/51/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

[
    {
        "type": "contracts",
        "amount": 61235996668.23,
        "count": 382142
    },
    {
        "type": "direct_payments",
        "amount": 40464596218.12,
        "count": 203350
    },
    {
        "type": "grants",
        "amount": 12596633984.97,
        "count": 8912
    },
    {
        "type": "loans",
        "amount": 13065258206.85,
        "count": 216467
    },
    {
        "type": "other_financial_assistance",
        "amount": 1332841945.65,
        "count": 20807
    }
]