{
  "zip": "04039",
  "type": "standard",
  "type_source": "inferred",
  "city": "Gray",
  "other_place_names": [],
  "state": "ME",
  "state_name": "Maine",
  "county": {
    "fips": "23005",
    "name": "Cumberland County",
    "short_name": "Cumberland"
  },
  "counties": [
    {
      "county_fips": "23005",
      "name": "Cumberland County",
      "short_name": "Cumberland",
      "weight": 1,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 43.90492,
    "lng": -70.367727,
    "source": "gazetteer_internal_point",
    "timezone": "America/New_York"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": {
    "cbsa_code": "38860",
    "name": "Portland-South Portland, ME",
    "type": "metro",
    "csa_code": "438",
    "csa_name": "Portland-Lewiston-South Portland, ME"
  },
  "demographics": {
    "population": 8102,
    "households": 3478,
    "housing_units": 4139,
    "median_age": 42.7,
    "median_household_income": 95125,
    "median_home_value": 357500,
    "median_rent": 1371,
    "pct_bachelors_plus": 44.4,
    "mean_commute_min": 28.2,
    "density_per_sqmi": 198
  },
  "business": {
    "establishments": 245,
    "employees": 1928,
    "annual_payroll_thousands": 91552
  },
  "tax": {
    "irs_returns": 4510,
    "irs_agi_thousands": 359532
  },
  "area": {
    "land_sqmi": 40.91,
    "water_sqmi": 2.7
  },
  "nearest_zips": [
    {
      "zip": "04260",
      "miles": 5.1,
      "city": "New Gloucester",
      "state": "ME"
    },
    {
      "zip": "04071",
      "miles": 6.5,
      "city": "Raymond",
      "state": "ME"
    },
    {
      "zip": "04097",
      "miles": 7.5,
      "city": "North Yarmouth",
      "state": "ME"
    },
    {
      "zip": "04077",
      "miles": 7.8,
      "city": "South Casco",
      "state": "ME"
    },
    {
      "zip": "04062",
      "miles": 7.8,
      "city": "Windham",
      "state": "ME"
    },
    {
      "zip": "04015",
      "miles": 7.9,
      "city": "Casco",
      "state": "ME"
    },
    {
      "zip": "04223",
      "miles": 9.2,
      "city": "Danville",
      "state": "ME"
    },
    {
      "zip": "04069",
      "miles": 9.2,
      "city": "Pownal",
      "state": "ME"
    },
    {
      "zip": "04021",
      "miles": 9.3,
      "city": "Cumberland Center",
      "state": "ME"
    },
    {
      "zip": "04274",
      "miles": 10,
      "city": "Poland",
      "state": "ME"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/04039",
    "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."
  }
}