Skip to main content
Economic dataUS1 credit per run

Census ACS demographics

American Community Survey 5-year estimates (population, median household income, median home value or any ACS variable) by state, county, place or ZIP code area.

What goes in, what comes back

Input

The request body: the fields of params, then run options that sit next to params.

Census ACS demographics input parameters
FieldTypeNotes
params.geographystringstate, county (default), place or zcta.
params.statestringUSPS code or FIPS. Required for county and place.
params.zipstringComma-separated ZIP codes. Required for zcta.
params.variablesstringComma-separated ACS variable ids (max 20). Defaults to population, median household income and median home value.
params.yearnumberACS 5-year vintage (default 2023).
maxResultsnumberMost rows to return (1 to 1000, default 100). Sent next to params, not inside it.
previewbooleantrue returns up to 5 rows and costs nothing. Sent next to params, not inside it.

Result

Every row in rows has these fields.

Census ACS demographics result fields
FieldTypeNotes
namestringGeography name, e.g. "Kent County, Rhode Island"
geographystringstate, county, place or zcta
yearnumberACS 5-year vintage (end year)
state_fipsstring
county_fipsstring
place_fipsstring
zctastringZIP code tabulation area
populationnumberB01003_001E total population
median_household_incomenumberB19013_001E, USD
median_home_valuenumberB25077_001E, USD
valuesobjectEvery requested ACS variable → value (null when not available)

Sample request

  • Every county in Texas: {"params":{"geography":"county","state":"TX"},"maxResults":300}
  • Two Austin ZIP codes: {"params":{"geography":"zcta","zip":"78701,78702"}}

Every snippet reads your key from SUPERSCRAPER_API_KEY.

Cost: 1 credit per run that returns rows; previews and empty runs are free. Add "preview": true to see up to 5 rows first.

Currently unavailable

This source is not switched on yet. A run answers 503 source_unavailable and costs nothing. GET /v1/sources shows which sources are available.
curl -X POST https://api.superscraper.dev/v1/sources/census-acs/run \
  -H "Authorization: Bearer $SUPERSCRAPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"geography":"county","state":"TX"},"maxResults":300}'

Get a key

Free to start. 1 credit per run that returns rows; previews and empty runs are free.