Public Finance & Government

Spending by category

Top spenders by category: awarding_agency, recipient, naics, cfda, state_territory, federal_account.

get/api/v1/usaspending/spending-by-category

Query parameters

categorystring

Spending breakdown category (awarding_agency, funding_agency, recipient, cfda, naics, psc, state_territory, federal_account).

Spending breakdown category (awarding_agency, funding_agency, recipient, cfda, naics, psc, state_territory, federal_account).

fiscal_yearinteger

US federal fiscal year.

US federal fiscal year.

limitinteger

Maximum number of records to return.

Maximum number of records to return.

Response

Spending by category.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "data_age_days": 8.532,
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ],
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes

Changed in 4 of the 25 revisions of this API.9517

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • the response property / became optional for the status

      response-property-became-optional

    • the response property / became optional for the status

      response-property-became-optional

    • the response property / became optional for the status

      response-property-became-optional

    • response property data/category list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property data/fiscal_year list-of-types was widened by adding types null and number to media type application/json of response 200

      response-property-list-of-types-widened

    • response property data/results list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • a83e6a561bf2352See the full diff
    • added subschema #2 to the response body oneOf list for the response status

      response-body-one-of-added

    • the response's body type changed from object to no type for status

      response-body-type-changed

    • removed the required property from the response with the status

      response-required-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added