Geocode US addresses in batch using the Census Bureau Geocoding Services REST API

domain: census.gov · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. For batch geocoding (up to 10,000 addresses per file), prepare a CSV file with columns: Unique ID, Street Address, City, State, ZIP — no header row; file must be under 5 MB.
  2. POST the file to https://geocoding.geo.census.gov/geocoder/geographies/addressbatch with form-data fields: addressFile (the CSV), benchmark (e.g., Public_AR_Current), and vintage (e.g., Current_Current) for geography-enriched results.
  3. For locations-only (no census geography), use the /geocoder/locations/addressbatch endpoint with only the benchmark parameter.
  4. Parse the returned CSV response; matched records include longitude, latitude, matchedAddress, tigerLineId, and geographyFields (FIPS state/county/tract/block codes if vintage was requested).
  5. For single-address lookups, use the GET endpoint: https://geocoding.geo.census.gov/geocoder/geographies/address?street={street}&city={city}&state={state}&zip={zip}&benchmark=Public_AR_Current&vintage=Current_Current&format=json.
  6. Use the returned FIPS tract and block codes to join with Census demographic data from the Census Data API (api.census.gov) for enrichment workflows such as CRA mapping or benefits eligibility area analysis.

Known gotchas

Related routes

Geocode addresses with Google Maps API without burning budget
google-maps · 4 steps · unrated
Validate and standardize US addresses using the USPS APIs v3
developers.usps.com · 6 steps · unrated
Geocode property addresses for accurate map placement and lookups
real-estate-general · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp