ZIP Code Demographics: Census Income, Age, Home Value by ZIP avatar

ZIP Code Demographics: Census Income, Age, Home Value by ZIP

Pricing

from $0.47 / 1,000 zip profile delivereds

Go to Apify Store
ZIP Code Demographics: Census Income, Age, Home Value by ZIP

ZIP Code Demographics: Census Income, Age, Home Value by ZIP

Census ACS 5-year demographics for any US ZIP code list, state or radius: income, age, education, home value, rent, race, jobs, commute, internet. Adds US percentiles, an affluence index and state/US comparison. One row per ZIP.

Pricing

from $0.47 / 1,000 zip profile delivereds

Rating

0.0

(0)

Developer

Detroit Web Agent - Open Data

Detroit Web Agent - Open Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

What does this actor do?

It turns US ZIP codes into clean, analysis-ready demographic profiles built from the U.S. Census Bureau's American Community Survey (ACS) 5-year estimates, the most detailed small-area data the Census publishes. Give it a list of ZIP codes, one or more whole states, or a radius around a ZIP, and you get one row per ZIP with population, age, income, poverty, education, housing, home values, rent, race and ethnicity, jobs, commute and internet access.

Each row also gets context that raw Census tables do not give you:

  • US percentiles: where the ZIP ranks among all ~31,500 US ZIP areas with 100+ residents, for income, per-capita income, home value, education, poverty, population and density.
  • Affluence index (0-100) and a tier (very high to very low), so you can rank and filter ZIPs with one number.
  • State and US comparison: the same key metrics for the ZIP's state and the whole country, plus a simple index (100 = equal).
  • Place, county and state names, the internal point (lat/lon), land area and density.
  • Margins of error for the headline medians and a dataReliability flag, so small ZIPs are not over-trusted.

No Census API key or Census know-how is needed: variable codes, the 50-variable-per-call limit, suppressed values and top codes are handled for you.

Features

  • Three ways to pick ZIPs: a list (ZIP+4 accepted), whole states (or ALL for every US ZIP, about 33,000 rows), or every ZIP within N miles of a center ZIP.
  • Latest ACS 5-year release found automatically (currently 2024, the 2020-2024 estimates), or pick a release from 2020 on.
  • Variable groups (population, income, education, housing, race and ethnicity, employment, internet) to keep rows focused.
  • Census sentinel values (like -666666666) become null; top-coded medians (for example $250,001+ income) are listed in topCodedFields.
  • ZIPs with no Census data (PO-box or single-business ZIPs) are listed in the run summary and never charged.

Use cases

  • Local marketing and franchising: score every ZIP within 25 miles of a location by income, home value, owner-occupied share and affluence, then target mailers, door hangers and ads at the top ZIPs.
  • Real-estate screening: pull median rent, home value, vacancy and renter share for a state's ZIPs and join them to listing or permit data by ZIP.
  • Lead and CRM enrichment: add ZIP-level income, education, age and internet access to a customer list so segments and lead scores reflect the neighborhood.
  • Site selection and market sizing: count households with $100k+ income around candidate sites and compare each ZIP with its state and the US.
  • Automation: call it from n8n, Make, Zapier or the Apify API whenever a new lead arrives with a ZIP code.

Input

FieldWhat it does
zipCodesList of 5-digit ZIP codes (ZIP+4 is fine).
statesTwo-letter codes (MI, TX, PR) for every ZIP in those states, or ALL.
radiusCenterZip + radiusMilesEvery ZIP whose center lies within the radius (default 10 miles).
acsYearlatest (default) or a release year from 2020 on.
variableGroupsTopics to include; empty = all.
compareToStateAndUsAdd the state and US comparison object (default on).
usPercentilesAdd US percentiles and the affluence index (default on).
minPopulationSkip ZIPs below this population (default 1).
sortByinput, zip, population, affluenceIndex, medianHouseholdIncome or distance.
maxZipsCap on rows delivered and charged.
censusApiKeyOptional, your own free Census key; otherwise the built-in key is used.

Selectors combine as a union. Example input:

{
"radiusCenterZip": "48226",
"radiusMiles": 15,
"sortBy": "distance",
"compareToStateAndUs": true
}

Output

One dataset row per ZIP with 72 fields. Table views: ZIP profiles, Market sizing and affluence, Housing, and People, jobs and internet. Export as JSON, CSV, Excel or via the API. A run summary (ACS release used, ZIPs not found, rows skipped, percentile basis) is saved as the OUTPUT record.

Sample output (shortened, real 2020-2024 data for downtown Detroit)

{
"zip": "48226",
"place": "Detroit",
"county": "Wayne County",
"state": "Michigan",
"stateCode": "MI",
"population": 6831,
"populationMoe": 669,
"medianAge": 34,
"households": 4350,
"medianHouseholdIncome": 64860,
"medianHouseholdIncomeMoe": 11143,
"perCapitaIncome": 74154,
"povertyRatePct": 17.2,
"bachelorsOrHigherPct": 52.1,
"ownerOccupiedPct": 6.3,
"vacancyRatePct": 21.3,
"medianHomeValue": 324500,
"medianGrossRent": 1743,
"unemploymentRatePct": 3,
"meanCommuteMinutes": 18.3,
"internetAccessPct": 93.5,
"affluenceIndex": 63.3,
"affluenceTier": "high",
"medianHouseholdIncomeUsPercentile": 37.9,
"bachelorsOrHigherUsPercentile": 89.1,
"dataReliability": "good",
"comparison": {
"state": { "medianHouseholdIncome": 72875, "medianGrossRent": 1129 },
"us": { "medianHouseholdIncome": 80734, "medianGrossRent": 1413 },
"zipVsStateIndex": { "medianHouseholdIncome": 89, "medianGrossRent": 154 }
},
"acsYear": 2024,
"acsVintage": "2020-2024",
"dataset": "American Community Survey 5-Year Estimates, detailed tables (acs/acs5)",
"source": "U.S. Census Bureau",
"censusProfileUrl": "https://data.census.gov/profile/ZCTA5_48226?g=860XX00US48226"
}

Pricing and cost

Pay per event: $0.00047 per ZIP profile delivered, plus a tiny actor start fee. 100 ZIPs cost about $0.05; every US ZIP (about 33,000 rows) costs about $15.51. ZIPs that are not found, have no data or fall below minPopulation are never charged, and a run that matches no ZIPs stops before calling the Census API. Set maxZips or a spending limit on the run to cap cost.

Use with the API, n8n, Make, Zapier or AI agents

API (one call, returns the rows as JSON):

curl -X POST "https://api.apify.com/v2/acts/transparent_meteorite~zip-code-demographics-acs/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"zipCodes":["48201","48226","48009","10001","10021","11211","90210","90011","94110","60614","60621","78701","77002","33139","30303","98109","02116","19104","85004","80202","37203","70116","55401","97209","20001","84101","96815","99501"],"compareToStateAndUs":true,"usPercentiles":true,"sortBy":"input"}'

The call waits up to 5 minutes. For bigger inputs, start the run with /runs instead and read the dataset when it finishes.

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("transparent_meteorite/zip-code-demographics-acs").call(run_input={"zipCodes": ["48201", "48226", "48009", "10001", "10021", "11211", "90210", "90011", "94110", "60614", "60621", "78701", "77002", "33139", "30303", "98109", "02116", "19104", "85004", "80202", "37203", "70116", "55401", "97209", "20001", "84101", "96815", "99501"], "compareToStateAndUs": True, "usPercentiles": True, "sortBy": "input"})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row)
  • n8n, Make, Zapier: use the Apify app's "Run Actor" step with actor transparent_meteorite/zip-code-demographics-acs, paste the input JSON, then map the dataset items to your sheet or CRM.
  • Clay: add an HTTP API column that calls the run-sync endpoint above.
  • Schedules: in Apify Console, Schedules, run it daily or weekly with the same input for a steady feed.
  • AI agents (MCP): connect the Apify MCP server at https://mcp.apify.com?tools=transparent_meteorite/zip-code-demographics-acs to Claude, Cursor or any MCP client, and your agent can run ZIP Code Demographics (ACS 5-Year) on request.

FAQ

Are these real ZIP codes? The Census publishes data for ZIP Code Tabulation Areas (ZCTAs), which approximate USPS ZIP delivery areas. Almost every residential ZIP has one; PO-box-only and single-business ZIPs do not and are reported as not found.

How current is the data? ACS 5-year estimates pool five years of survey responses. The 2024 release covers 2020-2024. Dollar values are in that release's final-year dollars.

How are state, county and city assigned? From the Census 2020 ZCTA relationship files: the county holding the largest share of the ZIP's land, and the place covering the largest share (if at least 5%). ZIPs that cross lines report countiesOverlapped.

What does the affluence index mean? It is the mean of the ZIP's US percentiles for median household income, per-capita income, median home value and bachelor's-or-higher share, plus the inverse of its poverty percentile. 50 is a typical US ZIP.

Can I use my own Census key? Yes, put it in censusApiKey. It is stored encrypted and never logged.

Limits

  • Small ZIPs have wide margins of error; check populationMoe, the *Moe fields and dataReliability before drawing conclusions.
  • ACS covers the 50 states, DC and Puerto Rico; other territories are not included.
  • Medians at the ACS top code (for example $250,001 income or $2,000,001 home value) mean "at or above" and are listed in topCodedFields.
  • Releases before 2020 use older ZCTA definitions and are not offered.

Data source and notice

Data: U.S. Census Bureau, American Community Survey 5-Year Estimates, via the Census Data API, and Census 2020 ZCTA relationship and Gazetteer files. This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.

Questions or a missing field? Open an issue on the actor's Issues tab.