{
  "zip": "01840",
  "type": "standard",
  "type_source": "inferred",
  "city": "Lawrence",
  "other_place_names": [],
  "state": "MA",
  "state_name": "Massachusetts",
  "county": {
    "fips": "25009",
    "name": "Essex County",
    "short_name": "Essex"
  },
  "counties": [
    {
      "county_fips": "25009",
      "name": "Essex County",
      "short_name": "Essex",
      "weight": 1,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 42.706763,
    "lng": -71.160403,
    "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": 8522,
    "households": 3608,
    "housing_units": 3661,
    "median_age": 33.6,
    "median_household_income": 42211,
    "median_home_value": null,
    "median_rent": 1413,
    "pct_bachelors_plus": 18.3,
    "mean_commute_min": 23.2,
    "density_per_sqmi": 16709.8
  },
  "business": {
    "establishments": 363,
    "employees": 5421,
    "annual_payroll_thousands": 272375
  },
  "tax": {
    "irs_returns": 3670,
    "irs_agi_thousands": 150358
  },
  "area": {
    "land_sqmi": 0.51,
    "water_sqmi": 0.078
  },
  "nearest_zips": [
    {
      "zip": "01842",
      "miles": 0.1,
      "city": "Lawrence",
      "state": "MA"
    },
    {
      "zip": "01841",
      "miles": 0.8,
      "city": "Lawrence",
      "state": "MA"
    },
    {
      "zip": "01843",
      "miles": 1.2,
      "city": "Lawrence",
      "state": "MA"
    },
    {
      "zip": "01844",
      "miles": 2.6,
      "city": "Methuen",
      "state": "MA"
    },
    {
      "zip": "01899",
      "miles": 3.5,
      "city": "Andover",
      "state": "MA"
    },
    {
      "zip": "01810",
      "miles": 4.1,
      "city": "Andover",
      "state": "MA"
    },
    {
      "zip": "01845",
      "miles": 4.2,
      "city": "North Andover",
      "state": "MA"
    },
    {
      "zip": "01812",
      "miles": 4.3,
      "city": "Andover",
      "state": "MA"
    },
    {
      "zip": "05501",
      "miles": 4.3,
      "city": "Andover",
      "state": "MA"
    },
    {
      "zip": "05544",
      "miles": 4.3,
      "city": "Andover",
      "state": "MA"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/01840",
    "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."
  }
}