{
  "zip": "02671",
  "type": "standard",
  "type_source": "inferred",
  "city": "West Harwich",
  "other_place_names": [
    "Northwest Harwich",
    "Dennis Port"
  ],
  "state": "MA",
  "state_name": "Massachusetts",
  "county": {
    "fips": "25001",
    "name": "Barnstable County",
    "short_name": "Barnstable"
  },
  "counties": [
    {
      "county_fips": "25001",
      "name": "Barnstable County",
      "short_name": "Barnstable",
      "weight": 1,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 41.670336,
    "lng": -70.111068,
    "source": "gazetteer_internal_point",
    "timezone": "America/New_York"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": {
    "cbsa_code": "12700",
    "name": "Barnstable Town, MA",
    "type": "metro",
    "csa_code": "148",
    "csa_name": "Boston-Worcester-Providence, MA-RI-NH"
  },
  "demographics": {
    "population": 818,
    "households": 415,
    "housing_units": 1272,
    "median_age": 66.5,
    "median_household_income": 104583,
    "median_home_value": 635100,
    "median_rent": null,
    "pct_bachelors_plus": 59.3,
    "mean_commute_min": 29.7,
    "density_per_sqmi": 471.7
  },
  "business": {
    "establishments": 59,
    "employees": 212,
    "annual_payroll_thousands": 10915
  },
  "tax": {
    "irs_returns": 770,
    "irs_agi_thousands": 89190
  },
  "area": {
    "land_sqmi": 1.734,
    "water_sqmi": 0.165
  },
  "nearest_zips": [
    {
      "zip": "02639",
      "miles": 1.3,
      "city": "Dennis Port",
      "state": "MA"
    },
    {
      "zip": "02646",
      "miles": 2,
      "city": "Harwich Port",
      "state": "MA"
    },
    {
      "zip": "02670",
      "miles": 3.2,
      "city": "West Dennis",
      "state": "MA"
    },
    {
      "zip": "02645",
      "miles": 3.3,
      "city": "Harwich",
      "state": "MA"
    },
    {
      "zip": "02660",
      "miles": 3.5,
      "city": "South Dennis",
      "state": "MA"
    },
    {
      "zip": "02661",
      "miles": 4.2,
      "city": "South Harwich",
      "state": "MA"
    },
    {
      "zip": "02664",
      "miles": 4.3,
      "city": "South Yarmouth",
      "state": "MA"
    },
    {
      "zip": "02659",
      "miles": 4.6,
      "city": "South Chatham",
      "state": "MA"
    },
    {
      "zip": "02631",
      "miles": 5.8,
      "city": "Brewster",
      "state": "MA"
    },
    {
      "zip": "02638",
      "miles": 6.1,
      "city": "Dennis",
      "state": "MA"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/02671",
    "sources_url": "https://zipcodes.pro/sources",
    "license": "Facts derived from US public-domain data (Census, IRS) and GeoNames (CC BY 4.0). Attribution appreciated: zipcodes.pro",
    "note": "A null value means the source did not publish that figure for this ZIP code. It does not mean zero."
  }
}