Time series · census-acs-income

Median household income (ACS 5-year)

Median household income with its 90 percent margin of error for every county, state and the nation from the Census Bureau's American Community Survey 5-year estimates (table B19013), one row per release from 2005-2009 onward; the date is the release's final year. Each release is in its own final year's inflation-adjusted dollars, so releases are not directly comparable, and overlapping 5-year periods should not be compared year to year. Geography follows each release.

Updates
Yearly
Coverage
—
Current version
—
Last published
—
Validation
—
License
US Government work
Commercial use
Allowed

Chart

Median household income (ACS 5-year)

Loading the chart…
Source: U.S. Census Bureau.
Show the data as a table

The table appears once the data has loaded.

Use the API

Each series and location is its own small file. The examples follow the series and location picked above. See the docs for versions, caching and errors.

curl

# One series for one place (.json or .csv)
curl -s "https://api.economicdata.dev/v1/census-acs-income/median-household-income/usa.json"

# Every series and place in one file
curl -sO "https://api.economicdata.dev/v1/census-acs-income/download/census-acs-income.csv"

Python (polars)

import polars as pl

# One series for one place
df = pl.read_csv("https://api.economicdata.dev/v1/census-acs-income/median-household-income/usa.csv")

# Every series and place, with series and location columns
everything = pl.read_parquet("https://api.economicdata.dev/v1/census-acs-income/download/census-acs-income.parquet")

JavaScript

const res = await fetch("https://api.economicdata.dev/v1/census-acs-income/median-household-income/usa.json");
if (!res.ok) throw new Error((await res.json()).detail); // errors are problem+json
const { meta, data } = await res.json();
console.log(meta.location_name, data.at(-1)); // { date, value, ... }

Downloads

The whole dataset in one file, with series and location columns. Parquet keeps the column types and is much smaller.

Schema and series

Each series file has these columns. The bulk downloads add series and location columns in front.

Column Type Unit Can be empty Description
date year (YYYY) — no Final year of the 5-year period
median_household_income integer USD yes Inflation-adjusted to the final year's dollars
margin_of_error integer USD yes 90 percent margin of error
estimate_annotation text — yes Census annotation for the estimate: - N (X) 250,000+ 2,500-
moe_annotation text — yes Census annotation for the margin of error: ** *** ***** N (X)

Series

Series id Name
median-household-income Median household income in the past 12 months (B19013_001)

Locations

Covers all 57 US states and equivalents (ids: us- plus the USPS code (us-ca, us-dc)); all 3,222 US counties and equivalents (ids: us-county- plus the 5-digit FIPS code); 16 more named places.

Location id Name
usa United States
us-county-02201 Prince of Wales-Outer Ketchikan Census Area, AK (legacy)
us-county-02232 Skagway-Hoonah-Angoon Census Area, AK (legacy)
us-county-02261 Valdez-Cordova Census Area, AK (through the 2015-2019 release)
us-county-02270 Wade Hampton Census Area, AK (renamed Kusilvak, 02158)
us-county-02280 Wrangell-Petersburg Census Area, AK (legacy)
us-county-09001 Fairfield County, CT (through the 2017-2021 release)
us-county-09003 Hartford County, CT (through the 2017-2021 release)
us-county-09005 Litchfield County, CT (through the 2017-2021 release)
us-county-09007 Middlesex County, CT (through the 2017-2021 release)
us-county-09009 New Haven County, CT (through the 2017-2021 release)
us-county-09011 New London County, CT (through the 2017-2021 release)
us-county-09013 Tolland County, CT (through the 2017-2021 release)
us-county-09015 Windham County, CT (through the 2017-2021 release)
us-county-46113 Shannon County, SD (renamed Oglala Lakota, 46102)
us-county-51515 Bedford city, VA (merged into Bedford County in 2013)

Place names come from the shared location registry; see Sources.

Source and license

Source
U.S. Census Bureau, American Community Survey 5-Year Estimates, table B19013 (Census Data API)
Publisher
U.S. Census Bureau
License
US Government work (public domain in the United States) (LicenseRef-US-Government-Work)
Commercial use
Allowed

Credit the source with this exact text:

Source: U.S. Census Bureau, American Community Survey 5-Year Estimates, Table B19013: Median Household Income in the Past 12 Months. This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.

Checked every 7 days. If the source hasn't changed in 450 days, the status page flags it as stale.

Endpoints

Every URL for this dataset. To pin the current version, put it after the id: /v1/census-acs-income@<version>. The API reference describes each response.

What URL
Metadata: version, coverage, downloads, validation /v1/census-acs-income
Versions and monthly snapshots /v1/census-acs-income/versions
Series and locations /v1/census-acs-income/locations
Median household income in the past 12 months (B19013_001) (JSON) /v1/census-acs-income/median-household-income/{location}.json
Median household income in the past 12 months (B19013_001) (CSV) /v1/census-acs-income/median-household-income/{location}.csv
Whole dataset (CSV) /v1/census-acs-income/download/census-acs-income.csv
Whole dataset (Parquet) /v1/census-acs-income/download/census-acs-income.parquet