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/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

[
    {
        "count": 61512,
        "type": "direct_payments",
        "amount": 32487404988.56
    },
    {
        "count": 329914,
        "type": "contracts",
        "amount": 52147754835.07
    },
    {
        "count": 21504,
        "type": "other_financial_assistance",
        "amount": 1486467328.47
    },
    {
        "count": 19334,
        "type": "loans",
        "amount": -79848666.7
    },
    {
        "count": 8105,
        "type": "grants",
        "amount": 14042433987.84
    }
]