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

[
    {
        "type": "contracts",
        "amount": 82684357912.26,
        "count": 468160
    },
    {
        "type": "direct_payments",
        "amount": 48498157989.11,
        "count": 53253
    },
    {
        "type": "grants",
        "amount": 23014423778.61,
        "count": 9691
    },
    {
        "type": "loans",
        "amount": -4721363.36,
        "count": 22669
    },
    {
        "type": "other_financial_assistance",
        "amount": 1837464813.11,
        "count": 22753
    }
]