{
  "zip": "20117",
  "type": "standard",
  "type_source": "inferred",
  "city": "Middleburg",
  "other_place_names": [],
  "state": "VA",
  "state_name": "Virginia",
  "county": {
    "fips": "51107",
    "name": "Loudoun County",
    "short_name": "Loudoun"
  },
  "counties": [
    {
      "county_fips": "51107",
      "name": "Loudoun County",
      "short_name": "Loudoun",
      "weight": 0.8939,
      "basis": "land_area"
    },
    {
      "county_fips": "51061",
      "name": "Fauquier County",
      "short_name": "Fauquier",
      "weight": 0.1061,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 38.998822,
    "lng": -77.733937,
    "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": 2790,
    "households": 1263,
    "housing_units": 1416,
    "median_age": 53.4,
    "median_household_income": 146120,
    "median_home_value": 937100,
    "median_rent": 1843,
    "pct_bachelors_plus": 58.7,
    "mean_commute_min": 32.8,
    "density_per_sqmi": 57.4
  },
  "business": {
    "establishments": 194,
    "employees": 1633,
    "annual_payroll_thousands": 102734
  },
  "tax": {
    "irs_returns": 1030,
    "irs_agi_thousands": 241708
  },
  "area": {
    "land_sqmi": 48.607,
    "water_sqmi": 0.539
  },
  "nearest_zips": [
    {
      "zip": "20118",
      "miles": 2.1,
      "city": "Middleburg",
      "state": "VA"
    },
    {
      "zip": "20131",
      "miles": 4.1,
      "city": "Philomont",
      "state": "VA"
    },
    {
      "zip": "20160",
      "miles": 7.3,
      "city": "Lincoln",
      "state": "VA"
    },
    {
      "zip": "20102",
      "miles": 7.6,
      "city": "Dulles",
      "state": "VA"
    },
    {
      "zip": "20104",
      "miles": 7.6,
      "city": "Dulles",
      "state": "VA"
    },
    {
      "zip": "20146",
      "miles": 7.6,
      "city": "Ashburn",
      "state": "VA"
    },
    {
      "zip": "20105",
      "miles": 7.7,
      "city": "Aldie",
      "state": "VA"
    },
    {
      "zip": "20184",
      "miles": 7.8,
      "city": "Upperville",
      "state": "VA"
    },
    {
      "zip": "20185",
      "miles": 7.8,
      "city": "Upperville",
      "state": "VA"
    },
    {
      "zip": "20198",
      "miles": 7.9,
      "city": "The Plains",
      "state": "VA"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/20117",
    "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."
  }
}