{
  "zip": "58040",
  "type": "standard",
  "type_source": "inferred",
  "city": "Gwinner",
  "other_place_names": [],
  "state": "ND",
  "state_name": "North Dakota",
  "county": {
    "fips": "38081",
    "name": "Sargent County",
    "short_name": "Sargent"
  },
  "counties": [
    {
      "county_fips": "38081",
      "name": "Sargent County",
      "short_name": "Sargent",
      "weight": 1,
      "basis": "land_area"
    }
  ],
  "location": {
    "lat": 46.189495,
    "lng": -97.685,
    "source": "gazetteer_internal_point",
    "timezone": "America/Chicago"
  },
  "is_zcta": true,
  "parent_zcta": null,
  "metro": null,
  "demographics": {
    "population": 1030,
    "households": 496,
    "housing_units": 529,
    "median_age": 33,
    "median_household_income": 67143,
    "median_home_value": 208600,
    "median_rent": 904,
    "pct_bachelors_plus": 15.6,
    "mean_commute_min": 8,
    "density_per_sqmi": 13.7
  },
  "business": {
    "establishments": 41,
    "employees": 2060,
    "annual_payroll_thousands": 157806
  },
  "tax": {
    "irs_returns": 560,
    "irs_agi_thousands": 44176
  },
  "area": {
    "land_sqmi": 75.407,
    "water_sqmi": 0.301
  },
  "nearest_zips": [
    {
      "zip": "58032",
      "miles": 7.9,
      "city": "Forman",
      "state": "ND"
    },
    {
      "zip": "58069",
      "miles": 8.3,
      "city": "Stirum",
      "state": "ND"
    },
    {
      "zip": "58067",
      "miles": 12,
      "city": "Rutland",
      "state": "ND"
    },
    {
      "zip": "58017",
      "miles": 12.9,
      "city": "Cogswell",
      "state": "ND"
    },
    {
      "zip": "58060",
      "miles": 13.5,
      "city": "Milnor",
      "state": "ND"
    },
    {
      "zip": "58054",
      "miles": 15.7,
      "city": "Lisbon",
      "state": "ND"
    },
    {
      "zip": "58043",
      "miles": 16.7,
      "city": "Havana",
      "state": "ND"
    },
    {
      "zip": "58013",
      "miles": 18.3,
      "city": "Cayuga",
      "state": "ND"
    },
    {
      "zip": "58033",
      "miles": 20.3,
      "city": "Fort Ransom",
      "state": "ND"
    },
    {
      "zip": "58490",
      "miles": 22.6,
      "city": "Verona",
      "state": "ND"
    }
  ],
  "release": "2026-10-12",
  "attribution": {
    "source": "zipcodes.pro",
    "url": "https://zipcodes.pro/zip/58040",
    "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."
  }
}