{
  "kind": "spending/county",
  "id": "middlesex-county-ma",
  "page": "https://americanfactbook.org/spending/county/middlesex-county-ma",
  "source": {
    "publisher": "U.S. Department of the Treasury, Bureau of the Fiscal Service",
    "dataset": "USAspending API v2 — dimension aggregations",
    "url": "https://api.usaspending.gov/",
    "license": "U.S. Government work, public domain (17 U.S.C. 105)",
    "retrieved": "2026-10-12"
  },
  "license": {
    "data": "The figures are the publisher’s, under the publisher’s terms (source.license).",
    "compilation": "CC BY 4.0, https://creativecommons.org/licenses/by/4.0/"
  },
  "record": {
    "kind": "county",
    "slug": "middlesex-county-ma",
    "secondary": [
      {
        "key": "county-contracts",
        "rank": 13,
        "entity_count": 2787,
        "obligated_usd": 9641513448.29
      }
    ],
    "name": "Middlesex County",
    "code": "25017",
    "parent_code": "25",
    "fiscal_year": 2025,
    "period_is_complete": true,
    "period_is_current": true,
    "obligated_usd": 25804674038.66,
    "population": 1632002,
    "obligated_usd_per_capita": 15811.668146644428,
    "standing": {
      "rank": 22,
      "entity_count": 3232,
      "measure_total_usd": 4083247829420.11,
      "parent_rank": 1,
      "parent_count": 14,
      "parent_total_usd": 79348428410.21,
      "below": 3210,
      "parent_below": 13
    },
    "series": [
      {
        "fiscal_year": 2023,
        "period_is_complete": true,
        "obligated_usd": 23020415055.66
      },
      {
        "fiscal_year": 2024,
        "period_is_complete": true,
        "obligated_usd": 24100830535.43
      },
      {
        "fiscal_year": 2025,
        "period_is_complete": true,
        "obligated_usd": 25804674038.66
      },
      {
        "fiscal_year": 2026,
        "period_is_complete": false,
        "obligated_usd": 26955244094.27
      },
      {
        "fiscal_year": 2027,
        "period_is_complete": false,
        "obligated_usd": 36773930.56
      }
    ],
    "mix": [
      {
        "award_type_group": "direct_payments",
        "obligated_usd": 13409934138.61
      },
      {
        "award_type_group": "contracts",
        "obligated_usd": 9641513448.29
      },
      {
        "award_type_group": "grants",
        "obligated_usd": 2733923269.59
      },
      {
        "award_type_group": "other",
        "obligated_usd": 15995283.08
      },
      {
        "award_type_group": "insurance",
        "obligated_usd": 2822248.29
      },
      {
        "award_type_group": "loans",
        "obligated_usd": 485650.8
      }
    ],
    "siblings": [
      {
        "slug": "suffolk-county-ma",
        "name": "Suffolk County",
        "rank": 2,
        "obligated_usd": 12513914926.37
      },
      {
        "slug": "essex-county-ma",
        "name": "Essex County",
        "rank": 3,
        "obligated_usd": 11216736462.86
      },
      {
        "slug": "worcester-county-ma",
        "name": "Worcester County",
        "rank": 4,
        "obligated_usd": 6005615806.98
      },
      {
        "slug": "norfolk-county-ma",
        "name": "Norfolk County",
        "rank": 5,
        "obligated_usd": 5789120952.73
      },
      {
        "slug": "plymouth-county-ma",
        "name": "Plymouth County",
        "rank": 6,
        "obligated_usd": 4278717066.21
      },
      {
        "slug": "bristol-county-ma",
        "name": "Bristol County",
        "rank": 7,
        "obligated_usd": 3780421506.64
      },
      {
        "slug": "hampden-county-ma",
        "name": "Hampden County",
        "rank": 8,
        "obligated_usd": 3482472748.39
      },
      {
        "slug": "barnstable-county-ma",
        "name": "Barnstable County",
        "rank": 9,
        "obligated_usd": 2816764621.46
      },
      {
        "slug": "berkshire-county-ma",
        "name": "Berkshire County",
        "rank": 10,
        "obligated_usd": 1537994416.1
      },
      {
        "slug": "hampshire-county-ma",
        "name": "Hampshire County",
        "rank": 11,
        "obligated_usd": 1325054033.92
      }
    ]
  }
}
