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": 95083621927.43,
        "count": 448668
    },
    {
        "type": "direct_payments",
        "amount": 48591971572.16,
        "count": 40923
    },
    {
        "type": "grants",
        "amount": 24170100303.55,
        "count": 9186
    },
    {
        "type": "loans",
        "amount": -24642428.24,
        "count": 13574
    },
    {
        "type": "other_financial_assistance",
        "amount": 179198694.03,
        "count": 5247
    }
]