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/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

[
    {
        "type": "contracts",
        "amount": 95477225758.65,
        "count": 449975
    },
    {
        "type": "direct_payments",
        "amount": 48800143911.2,
        "count": 41635
    },
    {
        "type": "grants",
        "amount": 24272308164.43,
        "count": 9267
    },
    {
        "type": "loans",
        "amount": -23797180.68,
        "count": 13633
    },
    {
        "type": "other_financial_assistance",
        "amount": 171603827.38,
        "count": 5485
    }
]