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

domain: census.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

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

Batch geocode a list of property addresses to Census block, tract, and county using the Census Bureau Geocoder
geocoding.geo.census.gov · 5 steps · unrated
Batch geocode a large address list against the Esri World Geocoding Service while controlling credit consumption
developers.arcgis.com · 4 steps · unrated
Geocode addresses with Google Maps API without burning budget
google-maps · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

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

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans