Resolve US Place to Population, Area Tier, and Multiplier Base
census_area_profileRetrieve total population and area tier for any US city using ACS 5-year estimates. Generates county and state FIPS codes to size enforcement universes.
Instructions
Look up a US city/town/CDP via the Census geocoder, then fetch its total population from the ACS 5-year estimate. Returns: total population, area tier (major_metro / mid_metro / small_or_rural matching the adv_estimate multiplier table), row-scaling tier and target (matching the Restaurant Research Agent's row-scaling formula max(pop/250, floor)), county FIPS for usaspending_award_search, state FIPS, place FIPS, and the high-cost-of-living-state flag for CA/NY/MA/WA/HI. Use this BEFORE adv_estimate when sizing an enforcement universe or running a restaurant research workflow against an unfamiliar city. Free Census API; no key required for basic queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | US city / town / place name. Pair with `state`. Example: 'Hillsdale'. | |
| state | No | USPS two-letter state code. Pair with `city`. Example: 'MI'. | |
| dryRun | No | Return a sample Hillsdale, MI profile without calling the Census API. | |
| acsYear | No | ACS 5-year vintage to query. Defaults to 2022. | |
| placeFips | No | Direct Census place FIPS. Pair with `stateFips` to skip the geocoder entirely. | |
| stateFips | No | Direct Census state FIPS (e.g. '26' for Michigan). Pair with `placeFips`. |