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": 53136153261.02,
        "count": 391653
    },
    {
        "type": "direct_payments",
        "amount": 36322920019.65,
        "count": 61838
    },
    {
        "type": "grants",
        "amount": 16117768666.35,
        "count": 8594
    },
    {
        "type": "loans",
        "amount": -84709409.15,
        "count": 21551
    },
    {
        "type": "other_financial_assistance",
        "amount": 1525282192.09,
        "count": 21615
    }
]