Public Finance & Government

Spending time series

Federal spending over time by fiscal_year, quarter, or month.

get/api/v1/usaspending/spending-over-time

Query parameters

groupstring

Time bucket grouping (fiscal_year, quarter, month).

Time bucket grouping (fiscal_year, quarter, month).

start_fyinteger

Start fiscal year.

Start fiscal year.

end_fyinteger

End fiscal year.

End fiscal year.

Response

USAspending federal outlays time series grouped by fiscal year, quarter, or month.

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 22 revisions of this API.11517

    • added the optional property meta/data_age_days to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/notes to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/period to the response with the 200 status

      response-optional-property-added

    • the response property data/end_fy became optional for the status 200

      response-property-became-optional

    • the response property data/group became optional for the status 200

      response-property-became-optional

    • the response property data/results became optional for the status 200

      response-property-became-optional

    • the response property data/start_fy became optional for the status 200

      response-property-became-optional

    • response property data/end_fy 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/group 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/results 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/start_fy 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

    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 UpstreamErrorResponse subschema #2 to the response body oneOf list for the response status 503

      response-body-one-of-added

    • the response's body type/format changed from object/ to / for status 503

      response-body-type-changed

    • removed the required property error from the response with the 503 status

      response-required-property-removed

    • removed the optional property code from the response with the 503 status

      response-optional-property-removed

    • removed the optional property detail from the response with the 503 status

      response-optional-property-removed

    • removed the optional property hint from the response with the 503 status

      response-optional-property-removed

    • removed the optional property plan from the response with the 503 status

      response-optional-property-removed

    • removed the optional property reason from the response with the 503 status

      response-optional-property-removed

    • added the non-success response with the status 502

      response-non-success-status-added

    • added the non-success response with the status 504

      response-non-success-status-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 429 status

      response-optional-property-added

    • added the optional property code to the response with the 503 status

      response-optional-property-added

    • added the optional property hint to the response with the 401 status

      response-optional-property-added

    • added the optional property hint to the response with the 429 status

      response-optional-property-added

    • added the optional property hint to the response with the 503 status

      response-optional-property-added

    • added the optional property plan to the response with the 401 status

      response-optional-property-added

    • added the optional property plan to the response with the 429 status

      response-optional-property-added

    • added the optional property plan to the response with the 503 status

      response-optional-property-added

    • added the optional property reason to the response with the 401 status

      response-optional-property-added

    • added the optional property reason to the response with the 429 status

      response-optional-property-added

    • added the optional property reason to the response with the 503 status

      response-optional-property-added