{
  "zip": "50171",
  "type": "standard",
  "type_source": "inferred",
  "city": "Montezuma",
  "other_place_names": [
    "Barnes City"
  ],
  "state": "IA",
  "state_name": "Iowa",
  "county": {
    "fips": "19157",
    "name": "Poweshiek County",
    "short_name": "Poweshiek"
  },
  "counties": [
    {
      "county_fips": "19157",
      "name": "Poweshiek County",
      "short_name": "Poweshiek",
      "weight": 0.9835,
      "basis": "land_area"
    },
    {
      "county_fips": "19123",
      "name": "Mahaska County",
      "short_name": "Mahaska",
      "weight": 0.0165,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 41.583936,
    "lng": -92.525423,
    "source": "gazetteer_internal_point",
    "timezone": "America/Chicago"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": null,
  "demographics": {
    "population": 2524,
    "households": 1230,
    "housing_units": 1609,
    "median_age": 52,
    "median_household_income": 65000,
    "median_home_value": 216000,
    "median_rent": 828,
    "pct_bachelors_plus": 17.5,
    "mean_commute_min": 21.4,
    "density_per_sqmi": 23
  },
  "business": {
    "establishments": 95,
    "employees": 1056,
    "annual_payroll_thousands": 55079
  },
  "tax": {
    "irs_returns": 1240,
    "irs_agi_thousands": 120538
  },
  "area": {
    "land_sqmi": 109.821,
    "water_sqmi": 0.679
  },
  "nearest_zips": [
    {
      "zip": "50027",
      "miles": 7.6,
      "city": "Barnes City",
      "state": "IA"
    },
    {
      "zip": "50242",
      "miles": 8.8,
      "city": "Searsboro",
      "state": "IA"
    },
    {
      "zip": "50104",
      "miles": 9.4,
      "city": "Gibson",
      "state": "IA"
    },
    {
      "zip": "52222",
      "miles": 9.6,
      "city": "Deep River",
      "state": "IA"
    },
    {
      "zip": "52221",
      "miles": 10.8,
      "city": "Guernsey",
      "state": "IA"
    },
    {
      "zip": "50157",
      "miles": 11,
      "city": "Malcom",
      "state": "IA"
    },
    {
      "zip": "50207",
      "miles": 12,
      "city": "New Sharon",
      "state": "IA"
    },
    {
      "zip": "52211",
      "miles": 12.4,
      "city": "Brooklyn",
      "state": "IA"
    },
    {
      "zip": "50255",
      "miles": 13.4,
      "city": "Thornburg",
      "state": "IA"
    },
    {
      "zip": "50112",
      "miles": 14.1,
      "city": "Grinnell",
      "state": "IA"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/50171",
    "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."
  }
}