{
  "zip": "40065",
  "type": "standard",
  "type_source": "inferred",
  "city": "Shelbyville",
  "other_place_names": [],
  "state": "KY",
  "state_name": "Kentucky",
  "county": {
    "fips": "21211",
    "name": "Shelby County",
    "short_name": "Shelby"
  },
  "counties": [
    {
      "county_fips": "21211",
      "name": "Shelby County",
      "short_name": "Shelby",
      "weight": 0.9952,
      "basis": "land_area"
    },
    {
      "county_fips": "21215",
      "name": "Spencer County",
      "short_name": "Spencer",
      "weight": 0.0048,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 38.212858,
    "lng": -85.208553,
    "source": "gazetteer_internal_point",
    "timezone": "America/New_York"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": {
    "cbsa_code": "31140",
    "name": "Louisville/Jefferson County, KY-IN",
    "type": "metro",
    "csa_code": "350",
    "csa_name": "Louisville/Jefferson County--Elizabethtown, KY-IN"
  },
  "demographics": {
    "population": 32160,
    "households": 12470,
    "housing_units": 13182,
    "median_age": 39.5,
    "median_household_income": 77869,
    "median_home_value": 280500,
    "median_rent": 1048,
    "pct_bachelors_plus": 30.1,
    "mean_commute_min": 25.9,
    "density_per_sqmi": 192
  },
  "business": {
    "establishments": 721,
    "employees": 10469,
    "annual_payroll_thousands": 535930
  },
  "tax": {
    "irs_returns": 15060,
    "irs_agi_thousands": 1113145
  },
  "area": {
    "land_sqmi": 167.489,
    "water_sqmi": 3.196
  },
  "nearest_zips": [
    {
      "zip": "40066",
      "miles": 1.1,
      "city": "Shelbyville",
      "state": "KY"
    },
    {
      "zip": "40022",
      "miles": 8.4,
      "city": "Finchville",
      "state": "KY"
    },
    {
      "zip": "40067",
      "miles": 8.7,
      "city": "Simpsonville",
      "state": "KY"
    },
    {
      "zip": "40076",
      "miles": 9.5,
      "city": "Waddy",
      "state": "KY"
    },
    {
      "zip": "40003",
      "miles": 10,
      "city": "Bagdad",
      "state": "KY"
    },
    {
      "zip": "40019",
      "miles": 11.2,
      "city": "Eminence",
      "state": "KY"
    },
    {
      "zip": "40023",
      "miles": 12.2,
      "city": "Fisherville",
      "state": "KY"
    },
    {
      "zip": "40068",
      "miles": 12.9,
      "city": "Smithfield",
      "state": "KY"
    },
    {
      "zip": "40046",
      "miles": 13.2,
      "city": "Mount Eden",
      "state": "KY"
    },
    {
      "zip": "40245",
      "miles": 13.4,
      "city": "Louisville",
      "state": "KY"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/40065",
    "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."
  }
}