Census Query API
US Census data with natural language place resolution. Convert city names to FIPS codes automatically.
GET
/api/census/population
3 sats
Get population data for a US place by name.
| Parameter | Type | Description |
|---|---|---|
place | string | Place in "City, State" format (e.g., "Austin, TX") |
curl "https://agent-commerce.store/api/census/population?place=Austin,+TX"
GET
/api/census/demographics
5 sats
Get demographic breakdown including age, race, and housing data.
| Parameter | Type | Description |
|---|---|---|
place | string | Place in "City, State" format (e.g., "Austin, TX") |
curl "https://agent-commerce.store/api/census/demographics?place=New+York,+NY"
Usage tips: Use "City, State" format with the full state name (e.g., "Houston, Texas" not "Houston, TX"). Ambiguous place names may resolve to unexpected locations — be as specific as possible. US locations only.
Value-Add
- Natural language place resolution (name → FIPS code)
- Pre-built common demographic queries
- Human-readable labels instead of Census variable codes
- Structured age, race, and housing breakdowns
- Data source and year attribution included
Upstream Source
US Census Bureau API — public domain, no API key required for basic access.