census

US Census ACS 5-year demographics for a state or county.

US Census ACS 5-year demographics for a state or county. Give a state (2-letter or 2-digit FIPS), optionally a 3-digit county FIPS, and get population, median age, median household income, per-capita income, poverty rate (computed), households, owner-occupancy rate (computed), median home value, and median gross rent. Free, public-domain (US Census Bureau). Complements census.zipcode (ZIP/ZCTA-level) with state- and county-level geography. Authoritative demographic data an LLM cannot recall — for market sizing, site selection, and socioeconomic research.

get/api/census/demographics

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/census/demographics
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

statestring required

2-letter state code or 2-digit FIPS.

countystring

County name to filter by.

yearinteger

Four-digit calendar year.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.