# US Census Bureau integration

> US Census Bureau Data and Geocoding APIs — query demographic, economic, and housing statistics (ACS, Decennial, Population Estimates, Economic Census, County Business Patterns, International Trade) and geocode addresses to Census geographies.

- Authentication: apiKey

## Tools (19)

- **Batch Geocode Addresses**: Geocode up to 10,000 addresses in a single multipart upload — returns matched coordinates and (optionally) Census geographies as CSV.
- **Geocode Address (One-Line)**: Convert a single free-form address string to latitude/longitude coordinates via the Census Geocoding Services API.
- **Geocode Address (Structured)**: Geocode a single address supplied as structured fields (street, city, state, ZIP) to latitude/longitude coordinates.
- **Get Census Geographies by Address (One-Line)**: Resolve a single free-form address to Census geographies (state, county, tract, block, block group, CBSA, etc.) in addition to coordinates.
- **Get Census Geographies by Address (Structured)**: Resolve a structured-field address (street, city, state, ZIP) to Census geographies and coordinates.
- **Get Census Geographies by Coordinates**: Look up Census geographies (state, county, tract, block, block group, CBSA, etc.) that contain a specific latitude/longitude.
- **List Available Datasets**: Discover every dataset the Census Data API exposes — names, vintages, URL slugs, and links to per-dataset variable/geography metadata.
- **List Geographies for a Dataset**: List every geography level supported by a dataset and which parent geographies are required to query each level.
- **List Variables for a Dataset**: Fetch the full variable dictionary for a specific dataset/vintage so you can build a `get=` clause that uses valid variable names.
- **Query American Community Survey 1-Year (ACS1)**: Query the ACS 1-Year Detailed Tables — broad social, economic, demographic, and housing estimates for areas with 65,000+ population.
- **Query American Community Survey 5-Year (ACS5)**: Query the ACS 5-Year Detailed Tables — broadest geographic coverage down to block group, pooled over five years for statistical reliability.
- **Query Census Data (Generic)**: Generic query against any Census Data API dataset — selects variables for one or more geographies. Underlies every ACS, Decennial, PEP, Economic Census, and CBP query.
- **Query County Business Patterns**: Query County Business Patterns (CBP) and ZIP Code Business Patterns (ZBP) — annual data on establishments, employment, and payroll by NAICS at sub-national geographies.
- **Query Decennial Census**: Query official Decennial Census counts (2020 PL 94-171, Demographic and Housing Characteristics, Demographic Profile, etc.) down to the block level.
- **Query Economic Census**: Query the Economic Census — the comprehensive five-year survey of US business establishments (revenue, payroll, employment) by industry and geography.
- **Query International Trade**: Query International Trade timeseries datasets — monthly US exports and imports by HS commodity code, country, port, and state.
- **Query Population Estimates**: Query the Population Estimates Program (PEP) — annual estimates of population, components of change, and demographic characteristics between decennial censuses.
- **Query Quarterly Workforce Indicators**: Query Quarterly Workforce Indicators (QWI) — local labor market statistics on employment, hires, separations, job creation, and earnings by industry, demographics, and geography.
- **Reverse Geocode Coordinates**: Look up the nearest street address for a latitude/longitude pair via the Census Geocoding Services API.

## Related prompts

- [Enrich new HubSpot contacts with Census neighborhood data](https://www.generalinput.com/prompts/enrich-new-hubspot-contacts-with-census-neighborhood-data.md)
- [Weekly Census site scoring for new retail locations](https://www.generalinput.com/prompts/weekly-census-site-scoring-for-new-retail-locations.md)
- [Nightly Census tract geocoder for HMDA and CRA compliance](https://www.generalinput.com/prompts/nightly-census-tract-geocoder-for-hmda-and-cra-compliance.md)
- [Monthly local market pulse report in Notion](https://www.generalinput.com/prompts/monthly-local-market-pulse-report-in-notion.md)

Connect US Census Bureau in General Input: https://www.generalinput.com/apps/us-census