← Agent Data Hub · Search endpoints · /llms.txt

US Median Household Income by State and County, American Community Survey (ACS)

Median household income in the past 12 months, in inflation-adjusted dollars of the survey year, of the United States, the 50 states and DC and the counties from the Census Bureau American Community Survey (table B19013): the 5-year estimate for every county (2021-2024) and the 1-year estimate for areas with 65,000 or more people (2021-2025), as separate series, never mixed. Options for series: region: 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 … and 3176 more (United States, a state (name or postal code) or a county (e.g. Los Angeles County), or the 2- or 5-digit FIPS code); edition: 5y, 1y.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/us-acs-median-household-income?region=US&edition=5y&compact=1

Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"us-acs-median-household-income"}

How to fetch it

curl:

curl -s 'https://api.agentdatahub.de/api/v1/call/us-acs-median-household-income?region=US&edition=5y&compact=1'

Python (standard library only):

import json, urllib.request

url = "https://api.agentdatahub.de/api/v1/call/us-acs-median-household-income?region=US&edition=5y&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
    data = json.load(r)
print(json.dumps(data, indent=2)[:2000])

Google Sheets:

=IMPORTDATA("https://api.agentdatahub.de/api/v1/history/us-acs-median-household-income?region=US&edition=5y&_order=desc&_limit=500&format=csv")

The recorded history of this call as CSV, newest first. Excel: Data → From Web with the same address.

Parameters

regionUnited States, a state (name or postal code) or a county (e.g. Los Angeles County), or the 2- or 5-digit FIPS code (required; several comma-separated to compare, up to 10 series): 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 … and 3176 more (United States, a state (name or postal code) or a county (e.g. Los Angeles County), or the 2- or 5-digit FIPS code)
edition5y (default, every county, survey years 2021-2024) or 1y (areas with 65,000 or more people, 2021-2025) (required; several comma-separated to compare, up to 10 series): 5y, 1y
seriesOptional full series key as returned by /ask (instead of the parameters above), comma-separated for several
fromOptional start YYYY, YYYY-MM or YYYY-MM-DD
toOptional end YYYY, YYYY-MM or YYYY-MM-DD
lastNumber of most recent periods when no from/to is given, 1-500 (default: 13)

Example response (live, compact)

{
  "apiId": "us-acs-median-household-income",
  "trust": "checked",
  "data_freshness": "cached",
  "data": {
    "region": "US",
    "edition": "5y",
    "series": "United States — median household income, ACS 5-year estimate, survey years 2021-2024",
    "unit": "USD (inflation-adjusted dollars of the survey year)",
    "frequency": "A",
    "latest": {
      "period": "2024",
      "value": 80734
    },
    "history": [
      {
        "period": "2021",
        "value": 69021
      },
      {
        "period": "2022",
        "value": 75149
      },
      {
        "period": "2023",
        "value": 78538
      },
      {
        "period": "2024",
        "value": 80734
      }
    ],
    "available": {
      "from": "2021",
      "to": "2024",
      "points": 4
    },
    "note": "American Community Survey 5-year estimate: data of the five years ending in the survey year (2024 = 2020-2024), every state and county; a sample estimate with a margin of error, see the source. The 1-year estimate (areas with 65,000 or more people) is series 1y; the two are not one series.",
    "verification": {
      "checked_at": "2026-12-04T02:16:57.816Z",
      "checks": [
        {
          "period": "2024",
          "field": "value",
          "expected": 80734,
          "ok": true,
          "evidence": "data.census.gov table API (https://data.census.gov/api/access/data/table?id=ACSDT5Y2024.B19013&g=0100000US): United States, ACS 5-year 2024, 80,734, read 2026-12-04"
        }
      ]
    },
    "source": {
      "publisher": "U.S. Census Bureau (American Community Survey)",
      "licence": "CC0 1.0 Universal (public domain dedication of the Census Bureau data catalogue)",
      "licence_url": "https://www.census.gov/about/policies/open-gov/open-data.html",
      "source_url": "https://www.census.gov/programs-surveys/acs.html",
      "source_url_level": "dataset",
      "series_title": "United States | ACS 5-year estimate: Median Household Income in the Past 12 Months (in YYYY Inflation-Adjusted Dollars) | 0100000US"
    },
    "attribution": "Source: U.S. Census Bureau, American Community Survey (CC0 1.0); this service is not endorsed or certified by the Census Bureau"
  },
  "source": "U.S. Census Bureau (American Community Survey)",
  "source_url": "https://www.census.gov/programs-surveys/acs.html",
  "license": "CC0 1.0 Universal (public domain dedication of the Census Bureau data catalogue)",
  "licence_status": "green",
  "as_of": "2024",
  "checked": "2026-12-04",
  "latest_note": "Newest value the publisher held at our last load (2026-12-04); nothing newer published yet."
}

Recorded history available: /api/v1/history/us-acs-median-household-income?region=US&edition=5y

Source & license

SourceU.S. Census Bureau (American Community Survey)
LicenseCC0 1.0 Universal (public domain dedication of the Census Bureau data catalogue)
Source URLhttps://www.census.gov/about/policies/open-gov/open-data.html
Termshttps://www.census.gov/about/policies/open-gov/open-data.html
CategoryOfficial National Statistics (US, UK, Canada, Australia) › US Median household income in the past 12 months by State and County (Census Bureau ACS) · more: us-acs-population · us-acs-poverty-rate · us-census-population-estimates