{"uid":"cap_fgYjxT8AbSUGj-vea_l2D","slug":"2s-census-demographics-api-baaff424","name":"2s Census Demographics API","description":"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.","url":"https://2s.io/api/census/demographics?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["state"],"properties":{"year":{"type":"integer","description":"ACS data year (default latest)."},"state":{"type":"string","description":"2-letter state code or 2-digit FIPS (required)."},"county":{"type":"string","description":"3-digit county FIPS (omit for state-level)."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00108","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.00108/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0027","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0027","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ff1jbXM2Y7uhZdsiTyetz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0027","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns US Census Bureau ACS demographic data (population, income, housing, poverty) for a US state or county","exampleAgentPrompt":"Pull the latest ACS census demographics for Harris County, Texas — I need population, median household income, poverty rate, and median home value for the county.","exampleUseCases":null,"resultDescription":"A JSON object with an array of demographic records including population, median age, number of households, poverty rate, median gross rent, median home value, owner occupancy rate, per capita income, and median household income for the queried geography, along with the data source and license info from the US Census Bureau ACS 5-Year survey.","failureModes":["Missing required 'state' parameter returns validation error","Invalid state code or FIPS returns no results or error","Invalid county FIPS returns empty results","Requesting a year outside available ACS data range returns an error","Payment failure (insufficient USDC) blocks the request via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need authoritative, government-sourced demographic data for US states or counties, including income, housing, and poverty statistics from the American Community Survey. Prefer this over scraped or third-party demographic sources when ground-truth census accuracy is required, and when you need pay-per-call access without an API key or subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:51:15.978Z","isFirstParty":false,"canonicalSlug":"2s-census-demographics-api-baaff424"}