Geographic Information Tool
geoinfo_toolRetrieve geographic reference data — land area, water area, centroid coordinates, and FIPS codes — for U.S. entities from the Census Bureau API.
Instructions
Retrieve geographic metadata and reference information from the Census Bureau Geographic Information API. Get land area, water area, internal point coordinates (centroid), and FIPS codes for geographic entities. Useful for geographic reference data, area calculations, and mapping coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Vintage year for geographic data (2020-present). Default: 2023. | 2023 |
| variables | No | Array of geographic variables to retrieve. Common: NAME, AREALAND, AREALAND_SQMI, AREAWATR, AREAWATR_SQMI, INTPTLAT, INTPTLON. Default: all available. | |
| geography | Yes | Geographic level to query. Options: us, state, county, tract, place, congressional district. | |
| state | No | State FIPS code (2 digits). Required for county, tract, place, and congressional district geographies. | |
| county | No | County FIPS code (3 digits). Required for tract geography. |