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": 56738252005.49,
        "count": 373837
    },
    {
        "type": "direct_payments",
        "amount": 37244811515.34,
        "count": 64766
    },
    {
        "type": "grants",
        "amount": 18520491440.7,
        "count": 8746
    },
    {
        "type": "loans",
        "amount": -134983726.49,
        "count": 18099
    },
    {
        "type": "other_financial_assistance",
        "amount": 1477668645.92,
        "count": 21407
    }
]