# ZIP Demographics API

> ZIP Demographics is a demographic data API for any US ZIP code, built on the US Census American Community Survey. Every plan gets total population and median household income, while paid plans add age, per-capita income, education, housing, employment, and racial composition.

**Endpoint:** `GET https://api.apiverve.com/v1/zipdemographics`  
**Category:** Data Lookup  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/zipdemographics

## Overview

ZIP Demographics uses 5-year American Community Survey (ACS) estimates from the US Census Bureau, providing reliable demographic data for all 33,000+ ZIP Code Tabulation Areas (ZCTAs) in the United States.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/zipdemographics?zip=90210" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `zip` | string | Yes | 5-digit US ZIP code (ZIP+4 like 78701-1234 and ZIPs whose leading zero a spreadsheet dropped, like 2108, are accepted). length 3-10 |

## Response fields

- `zip` — string · ZIP Code Tabulation Area identifier
- `name` — string · ZCTA descriptive name
- `acsYear` — number · American Community Survey year used for data
- `population` — object
  - `population.total` — number · Total population count in ZIP code
  - `population.male` — number · Male population count · (premium)
  - `population.female` — number · Female population count · (premium)
  - `population.medianAge` — number · Median age of population in years · (premium)
- `income` — object
  - `income.medianHousehold` — number · Median household income in dollars
  - `income.perCapita` — number · Per capita income in dollars · (premium)
- `housing` — object
  - `housing.medianHomeValue` — number · Median home value in dollars · (premium)
  - `housing.medianRent` — number · Median rent price in dollars · (premium)
  - `housing.totalUnits` — number · Total housing units in area · (premium)
  - `housing.occupiedUnits` — number · Number of occupied housing units · (premium)
  - `housing.vacantUnits` — number · Number of vacant housing units · (premium)
  - `housing.ownerOccupied` — number · Count of owner-occupied housing units · (premium)
  - `housing.renterOccupied` — number · Count of renter-occupied housing units · (premium)
  - `housing.homeOwnershipRate` — number · Percentage of homes owner-occupied · (premium)
- `education` — object
  - `education.collegeEducatedPct` — number · Percentage with college degree or higher · (premium)
  - `education.bachelors` — number · Count of people with bachelor's degree · (premium)
  - `education.masters` — number · Count of people with master's degree · (premium)
  - `education.professional` — number · Count of people with professional degree · (premium)
  - `education.doctorate` — number · Count of people with doctorate degree · (premium)
- `employment` — object
  - `employment.laborForce` — number · Total labor force population count · (premium)
  - `employment.unemployed` — number · Number of unemployed persons · (premium)
  - `employment.unemploymentRate` — number · Unemployment rate as percentage · (premium)
- `race` — object
  - `race.white` — object
    - `race.white.count` — number · White population count · (premium)
    - `race.white.percent` — number · White population percentage · (premium)
  - `race.black` — object
    - `race.black.count` — number · Black or African American population count · (premium)
    - `race.black.percent` — number · Black or African American population percentage · (premium)
  - `race.asian` — object
    - `race.asian.count` — number · Asian population count · (premium)
    - `race.asian.percent` — number · Asian population percentage · (premium)
  - `race.hispanic` — object
    - `race.hispanic.count` — number · Hispanic or Latino population count · (premium)
    - `race.hispanic.percent` — number · Hispanic or Latino population percentage · (premium)
- `formatted` — object · Human-readable formatted currency values · (premium)
  - `formatted.medianHouseholdIncome` — string · (premium)
  - `formatted.perCapitaIncome` — string · (premium)
  - `formatted.medianHomeValue` — string · (premium)
  - `formatted.medianRent` — string · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "zip": "90210",
    "name": "ZCTA5 90210",
    "acsYear": 2024,
    "population": {
      "total": 19004,
      "male": 9417,
      "female": 9587,
      "medianAge": 51
    },
    "income": {
      "medianHousehold": 187801,
      "perCapita": 147098
    },
    "housing": {
      "medianHomeValue": 2000001,
      "medianRent": 3251,
      "totalUnits": 9531,
      "occupiedUnits": 8029,
      "vacantUnits": 1502,
      "ownerOccupied": 5679,
      "renterOccupied": 2350,
      "homeOwnershipRate": 70.7
    },
    "education": {
      "collegeEducatedPct": 68.1,
      "bachelors": 4837,
      "masters": 2389,
      "professional": 1962,
      "doctorate": 929
    },
    "employment": {
      "laborForce": 9017,
      "unemployed": 468,
      "unemploymentRate": 5.2
    },
    "race": {
      "white": {
        "count": 15147,
        "percent": 79.7
      },
      "black": {
        "count": 403,
        "percent": 2.1
      },
      "asian": {
        "count": 1628,
        "percent": 8.6
      },
      "hispanic": {
        "count": 1138,
        "percent": 6
      }
    },
    "formatted": {
      "medianHouseholdIncome": "$187,801",
      "perCapitaIncome": "$147,098",
      "medianHomeValue": "$2,000,001",
      "medianRent": "$3,251"
    }
  }
}
```

## Use cases

- **Market Research** — Analyze demographics for market segmentation and targeting
- **Real Estate** — Evaluate neighborhoods for real estate investment and valuation
- **Site Selection** — Choose business locations based on demographic profiles
- **Ad Targeting** — Build demographic profiles for advertising and personalization

## SDKs

- **npm** — `npm install @apiverve/zipdemographics` (https://www.npmjs.com/package/@apiverve/zipdemographics)
- **NuGet** — `dotnet add package APIVerve.API.ZIPDemographics` (https://www.nuget.org/packages/APIVerve.API.ZIPDemographics)
- **Source** — https://github.com/apiverve/zipdemographics-api

## More

- Full reference: https://docs.apiverve.com/ref/zipdemographics
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
