Census Geocoding Tool
geocoding_toolConvert addresses to latitude/longitude coordinates and retrieve Census geographic hierarchies including state, county, tract, and block. Supports forward and reverse geocoding without requiring an API key.
Instructions
Convert addresses to coordinates or find Census geographies for an address/location. Returns latitude/longitude coordinates and all Census geographic hierarchies (state, county, tract, block, MSA, congressional district, etc.). Supports forward geocoding (address to coordinates) and reverse geocoding (coordinates to geographies). No API key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchType | No | Search type: "onelineaddress" (single line address), "address" (structured address), "coordinates" (reverse geocoding) | onelineaddress |
| address | No | Single line address (e.g., "1600 Pennsylvania Avenue NW, Washington, DC 20500"). Required for onelineaddress search. | |
| street | No | Street address (required for address search) | |
| city | No | City name | |
| state | No | State (2-letter code or full name) | |
| zip | No | ZIP code | |
| longitude | No | Longitude (required for coordinates search) | |
| latitude | No | Latitude (required for coordinates search) | |
| returnGeographies | No | Return geographic hierarchies (state, county, tract, block, MSA, etc.) in addition to coordinates | |
| benchmark | No | Benchmark version (default: Public_AR_Current for current data) | Public_AR_Current |
| vintage | No | Geography vintage (default: Current_Current for current boundaries). Only used when returnGeographies is true. | Current_Current |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |