ZIP lookup

5-digit U.S. ZIP → demographics object. Alias of /demographics?zip=. Tract-weighted mix.

Endpoint:GET /api/v1/zip

Query

NameRequiredDescription
zipYesA 5-digit U.S. ZIP code.

Request

curl "https://speckinsights.netlify.app/api/v1/zip?zip=10001" \
  -H "X-API-Key: sk_live_YOUR_KEY"
Some PO-box and unique ZIPs return 404.

Example

{
  "zipcode": "94043",
  "geography": "tracts",
  "geography_id": "94043",
  "name": "ZIP 94043 (4 tracts)",
  "vintage": "2024",
  "sources": {
    "acs5": {
      "vintage": "2024"
    }
  },
  "population": {
    "total": 31442,
    "median_age": 35.2,
    "households": 13210
  },
  "income": {
    "median_household": 161250,
    "per_capita": 89210,
    "poverty_rate": 6.4
  },
  "education": {
    "bachelors_or_higher_pct": 72.1
  },
  "labor": {
    "labor_force": 19840,
    "unemployment_rate": 3.8
  },
  "housing": {
    "units": 14102,
    "owner_occupied_pct": 42.5,
    "median_home_value": 1850000,
    "median_gross_rent": 2850
  },
  "race_ethnicity": {
    "white": 48.2,
    "black": 2.1,
    "american_indian": 0.4,
    "asian": 33.6,
    "pacific_islander": 0.3,
    "other": 6.8,
    "two_or_more": 8.6,
    "hispanic_or_latino": 18.9
  }
}

Example. Values vary by ZIP.