{
  "zip": "21771",
  "type": "standard",
  "type_source": "inferred",
  "city": "Mount Airy",
  "other_place_names": [
    "Green Valley"
  ],
  "state": "MD",
  "state_name": "Maryland",
  "county": {
    "fips": "24021",
    "name": "Frederick County",
    "short_name": "Frederick"
  },
  "counties": [
    {
      "county_fips": "24021",
      "name": "Frederick County",
      "short_name": "Frederick",
      "weight": 0.5137,
      "basis": "land_area"
    },
    {
      "county_fips": "24013",
      "name": "Carroll County",
      "short_name": "Carroll",
      "weight": 0.2623,
      "basis": "land_area"
    },
    {
      "county_fips": "24027",
      "name": "Howard County",
      "short_name": "Howard",
      "weight": 0.1823,
      "basis": "land_area"
    },
    {
      "county_fips": "24031",
      "name": "Montgomery County",
      "short_name": "Montgomery",
      "weight": 0.0418,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 39.394937,
    "lng": -77.158193,
    "source": "gazetteer_internal_point",
    "timezone": "America/New_York"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": {
    "cbsa_code": "47900",
    "name": "Washington-Arlington-Alexandria, DC-VA-MD-WV",
    "type": "metro",
    "csa_code": "548",
    "csa_name": "Washington-Baltimore-Arlington, DC-MD-VA-WV-PA"
  },
  "demographics": {
    "population": 33031,
    "households": 11226,
    "housing_units": 11758,
    "median_age": 40.9,
    "median_household_income": 157302,
    "median_home_value": 556200,
    "median_rent": 2252,
    "pct_bachelors_plus": 48.8,
    "mean_commute_min": 36.1,
    "density_per_sqmi": 369
  },
  "business": {
    "establishments": 759,
    "employees": 7538,
    "annual_payroll_thousands": 399631
  },
  "tax": {
    "irs_returns": 15440,
    "irs_agi_thousands": 1834380
  },
  "area": {
    "land_sqmi": 89.52,
    "water_sqmi": 0.179
  },
  "nearest_zips": [
    {
      "zip": "21792",
      "miles": 5.7,
      "city": "Unionville",
      "state": "MD"
    },
    {
      "zip": "21765",
      "miles": 6.1,
      "city": "Lisbon",
      "state": "MD"
    },
    {
      "zip": "21770",
      "miles": 6.1,
      "city": "Monrovia",
      "state": "MD"
    },
    {
      "zip": "21774",
      "miles": 6.3,
      "city": "New Market",
      "state": "MD"
    },
    {
      "zip": "21797",
      "miles": 6.5,
      "city": "Woodbine",
      "state": "MD"
    },
    {
      "zip": "20872",
      "miles": 7.1,
      "city": "Damascus",
      "state": "MD"
    },
    {
      "zip": "21762",
      "miles": 7.6,
      "city": "Libertytown",
      "state": "MD"
    },
    {
      "zip": "21776",
      "miles": 9.1,
      "city": "New Windsor",
      "state": "MD"
    },
    {
      "zip": "21723",
      "miles": 9.5,
      "city": "Cooksville",
      "state": "MD"
    },
    {
      "zip": "21754",
      "miles": 9.5,
      "city": "Ijamsville",
      "state": "MD"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/21771",
    "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."
  }
}