{
  "zip": "02542",
  "type": "standard",
  "type_source": "inferred",
  "city": "Buzzards Bay",
  "other_place_names": [],
  "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.707839,
    "lng": -70.54552,
    "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": 882,
    "households": 264,
    "housing_units": 380,
    "median_age": 30.1,
    "median_household_income": 62083,
    "median_home_value": null,
    "median_rent": 2094,
    "pct_bachelors_plus": 42.1,
    "mean_commute_min": 18.6,
    "density_per_sqmi": 30.9
  },
  "business": {
    "establishments": 8,
    "employees": 27,
    "annual_payroll_thousands": 3652
  },
  "tax": {
    "irs_returns": 120,
    "irs_agi_thousands": 6413
  },
  "area": {
    "land_sqmi": 28.545,
    "water_sqmi": 0.049
  },
  "nearest_zips": [
    {
      "zip": "02644",
      "miles": 2.5,
      "city": "Forestdale",
      "state": "MA"
    },
    {
      "zip": "02563",
      "miles": 3.7,
      "city": "Sandwich",
      "state": "MA"
    },
    {
      "zip": "02532",
      "miles": 3.8,
      "city": "Buzzards Bay",
      "state": "MA"
    },
    {
      "zip": "02559",
      "miles": 3.8,
      "city": "Pocasset",
      "state": "MA"
    },
    {
      "zip": "02553",
      "miles": 4,
      "city": "Monument Beach",
      "state": "MA"
    },
    {
      "zip": "02561",
      "miles": 4.2,
      "city": "Sagamore",
      "state": "MA"
    },
    {
      "zip": "02534",
      "miles": 4.5,
      "city": "Cataumet",
      "state": "MA"
    },
    {
      "zip": "02562",
      "miles": 5.6,
      "city": "Sagamore Beach",
      "state": "MA"
    },
    {
      "zip": "02537",
      "miles": 5.8,
      "city": "East Sandwich",
      "state": "MA"
    },
    {
      "zip": "02558",
      "miles": 6.1,
      "city": "Onset",
      "state": "MA"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/02542",
    "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."
  }
}