{
  "zip": "03842",
  "type": "standard",
  "type_source": "inferred",
  "city": "Hampton",
  "other_place_names": [
    "Hampton Beach"
  ],
  "state": "NH",
  "state_name": "New Hampshire",
  "county": {
    "fips": "33015",
    "name": "Rockingham County",
    "short_name": "Rockingham"
  },
  "counties": [
    {
      "county_fips": "33015",
      "name": "Rockingham County",
      "short_name": "Rockingham",
      "weight": 1,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 42.939601,
    "lng": -70.836728,
    "source": "gazetteer_internal_point",
    "timezone": "America/New_York"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": {
    "cbsa_code": "14460",
    "name": "Boston-Cambridge-Newton, MA-NH",
    "type": "metro",
    "csa_code": "148",
    "csa_name": "Boston-Worcester-Providence, MA-RI-NH"
  },
  "demographics": {
    "population": 16324,
    "households": 7817,
    "housing_units": 10199,
    "median_age": 55.9,
    "median_household_income": 95422,
    "median_home_value": 548500,
    "median_rent": 1641,
    "pct_bachelors_plus": 43,
    "mean_commute_min": 25.9,
    "density_per_sqmi": 1277.3
  },
  "business": {
    "establishments": 507,
    "employees": 4586,
    "annual_payroll_thousands": 332039
  },
  "tax": {
    "irs_returns": 9380,
    "irs_agi_thousands": 1308381
  },
  "area": {
    "land_sqmi": 12.78,
    "water_sqmi": 0.993
  },
  "nearest_zips": [
    {
      "zip": "03844",
      "miles": 2.7,
      "city": "Hampton Falls",
      "state": "NH"
    },
    {
      "zip": "03862",
      "miles": 2.8,
      "city": "North Hampton",
      "state": "NH"
    },
    {
      "zip": "03874",
      "miles": 4.1,
      "city": "Seabrook",
      "state": "NH"
    },
    {
      "zip": "03871",
      "miles": 4.1,
      "city": "Rye Beach",
      "state": "NH"
    },
    {
      "zip": "03885",
      "miles": 6.2,
      "city": "Stratham",
      "state": "NH"
    },
    {
      "zip": "01952",
      "miles": 6.6,
      "city": "Salisbury",
      "state": "MA"
    },
    {
      "zip": "03870",
      "miles": 6.7,
      "city": "Rye",
      "state": "NH"
    },
    {
      "zip": "03840",
      "miles": 6.9,
      "city": "Greenland",
      "state": "NH"
    },
    {
      "zip": "03833",
      "miles": 7.7,
      "city": "Exeter",
      "state": "NH"
    },
    {
      "zip": "03827",
      "miles": 8.4,
      "city": "East Kingston",
      "state": "NH"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/03842",
    "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."
  }
}