{
  "zip": "03870",
  "type": "standard",
  "type_source": "inferred",
  "city": "Rye",
  "other_place_names": [],
  "state": "NH",
  "state_name": "New Hampshire",
  "county": {
    "fips": "33015",
    "name": "Rockingham County",
    "short_name": "Rockingham"
  },
  "counties": [
    {
      "county_fips": "33015",
      "name": "Rockingham County",
      "short_name": "Rockingham",
      "weight": 1,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 43.019572,
    "lng": -70.760523,
    "source": "gazetteer_internal_point",
    "timezone": "America/New_York"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": {
    "cbsa_code": "14460",
    "name": "Boston-Cambridge-Newton, MA-NH",
    "type": "metro",
    "csa_code": "148",
    "csa_name": "Boston-Worcester-Providence, MA-RI-NH"
  },
  "demographics": {
    "population": 5188,
    "households": 2126,
    "housing_units": 2719,
    "median_age": 54.9,
    "median_household_income": 140938,
    "median_home_value": 990700,
    "median_rent": 1790,
    "pct_bachelors_plus": 60.1,
    "mean_commute_min": 29.2,
    "density_per_sqmi": 430.5
  },
  "business": {
    "establishments": 133,
    "employees": 1246,
    "annual_payroll_thousands": 64918
  },
  "tax": {
    "irs_returns": 2920,
    "irs_agi_thousands": 740425
  },
  "area": {
    "land_sqmi": 12.05,
    "water_sqmi": 1.598
  },
  "nearest_zips": [
    {
      "zip": "03871",
      "miles": 2.8,
      "city": "Rye Beach",
      "state": "NH"
    },
    {
      "zip": "03802",
      "miles": 3.6,
      "city": "Portsmouth",
      "state": "NH"
    },
    {
      "zip": "03803",
      "miles": 3.6,
      "city": "Portsmouth",
      "state": "NH"
    },
    {
      "zip": "03804",
      "miles": 3.6,
      "city": "Portsmouth",
      "state": "NH"
    },
    {
      "zip": "03854",
      "miles": 3.7,
      "city": "New Castle",
      "state": "NH"
    },
    {
      "zip": "03862",
      "miles": 4.4,
      "city": "North Hampton",
      "state": "NH"
    },
    {
      "zip": "03801",
      "miles": 4.4,
      "city": "Portsmouth",
      "state": "NH"
    },
    {
      "zip": "03840",
      "miles": 4.5,
      "city": "Greenland",
      "state": "NH"
    },
    {
      "zip": "03904",
      "miles": 6.4,
      "city": "Kittery",
      "state": "ME"
    },
    {
      "zip": "03842",
      "miles": 6.7,
      "city": "Hampton",
      "state": "NH"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/03870",
    "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."
  }
}