Docs/APIs/ZIP Demographics

ZIP Demographics

Demographics by ZIP Code

OperationalCredits 10 per callp50 467msData LookupStar

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.

Live Test ZIP Demographics API →

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

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

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
zipRequiredstring5-digit US ZIP code
length 5–5

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "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"
    }
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
zipstring"90210"ZIP Code Tabulation Area identifier
namestring"ZCTA5 90210"ZCTA descriptive name
acsYearnumber2024American Community Survey year used for data
populationobject{...}
totalnumber19004Total population count in ZIP code
malePremiumnumber9417Male population count
femalePremiumnumber9587Female population count
medianAgePremiumnumber51Median age of population in years
incomeobject{...}
medianHouseholdnumber187801Median household income in dollars
perCapitaPremiumnumber147098Per capita income in dollars
housingobject{...}
medianHomeValuePremiumnumber2000001Median home value in dollars
medianRentPremiumnumber3251Median rent price in dollars
totalUnitsPremiumnumber9531Total housing units in area
occupiedUnitsPremiumnumber8029Number of occupied housing units
vacantUnitsPremiumnumber1502Number of vacant housing units
ownerOccupiedPremiumnumber5679Count of owner-occupied housing units
renterOccupiedPremiumnumber2350Count of renter-occupied housing units
homeOwnershipRatePremiumnumber70.7Percentage of homes owner-occupied
educationobject{...}
collegeEducatedPctPremiumnumber68.1Percentage with college degree or higher
bachelorsPremiumnumber4837Count of people with bachelor's degree
mastersPremiumnumber2389Count of people with master's degree
professionalPremiumnumber1962Count of people with professional degree
doctoratePremiumnumber929Count of people with doctorate degree
employmentobject{...}
laborForcePremiumnumber9017Total labor force population count
unemployedPremiumnumber468Number of unemployed persons
unemploymentRatePremiumnumber5.2Unemployment rate as percentage
raceobject{...}
whiteobject{...}
countPremiumnumber15147White population count
percentPremiumnumber79.7White population percentage
blackobject{...}
countPremiumnumber403Black or African American population count
percentPremiumnumber2.1Black or African American population percentage
asianobject{...}
countPremiumnumber1628Asian population count
percentPremiumnumber8.6Asian population percentage
hispanicobject{...}
countPremiumnumber1138Hispanic or Latino population count
percentPremiumnumber6Hispanic or Latino population percentage
formattedPremiumobject{...}Human-readable formatted currency values
medianHouseholdIncomePremiumstring"$187,801"
perCapitaIncomePremiumstring"$147,098"
medianHomeValuePremiumstring"$2,000,001"
medianRentPremiumstring"$3,251"

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

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

Other ways to use ZIP Demographics

Set up ZIP Demographics on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Data Lookup:

Was this page helpful?