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": "direct_payments",
        "count": 35328,
        "amount": 35704203107.47
    },
    {
        "type": "loans",
        "count": 18996,
        "amount": -72867717.51
    },
    {
        "type": "other_financial_assistance",
        "count": 21225,
        "amount": 1474395287.49
    },
    {
        "type": "grants",
        "count": 8416,
        "amount": 15541652004.51
    },
    {
        "type": "contracts",
        "count": 396501,
        "amount": 50212434158.94
    }
]