Batch Geocoder: Address to Lat/Lng (US Census + OpenStreetMap)
Pricing
from $2.00 / 1,000 geocoded locations
Batch Geocoder: Address to Lat/Lng (US Census + OpenStreetMap)
Geocode address lists in bulk: US addresses with the free US Census Geocoder (with census tract and block) and worldwide addresses with OpenStreetMap Nominatim; reverse geocoding too. Lat/lng, normalized address, components and precision. CSV, dataset or list.
Pricing
from $2.00 / 1,000 geocoded locations
Rating
0.0
(0)
Developer
Julian Genuario
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
15 days ago
Last modified
Categories
Features
Share
Turn lists of addresses into coordinates (and coordinates into addresses) without a Google Maps API key:
- US addresses go to the free US Census Bureau Geocoder in batches of 1,000: latitude/longitude, the standardized address, match type and, optionally, state/county FIPS, census tract and block (great for demographics and territory work).
- Addresses in any other country go to OpenStreetMap Nominatim: coordinates, normalized address, house number, street, neighbourhood, city, county, state, postcode, country and a precision level (address, street, city...).
- Reverse geocoding:
lat,lon→ nearest address.
Read addresses from a list, an Apify dataset or a CSV / Google Sheet; join split columns (street, city, zip...) and copy your own IDs to the output to merge the results back.
What does Batch Geocoder do?
Batch Geocoder converts address lists to latitude / longitude in bulk: US addresses with the free US Census Geocoder (including census tract and block) and worldwide addresses with OpenStreetMap Nominatim, plus reverse geocoding (coordinates to address). You get a normalized address, components and precision.
How to use Batch Geocoder
- Click Try for free on this page (a free Apify account is enough to start).
- Fill in the input (see the examples below) or keep the prefilled example.
- Click Start and wait for the run to finish.
- Download the results from the Output tab as JSON, CSV, Excel or HTML, or read them with the Apify API.
- Optional: create a Schedule to run it daily or weekly, and connect a webhook or an integration (Make, Zapier, n8n, Slack).
Who uses it
- CRM and RevOps: add coordinates and clean addresses to accounts and leads, then map or territory them.
- Logistics and delivery: geocode customer and stop lists for routing.
- Real estate and insurance: geocode property lists; get census tract/block for US properties.
- Data teams: one cheap step in a pipeline instead of a paid geocoding API.
Input example
{"addresses": ["1600 Pennsylvania Ave NW, Washington, DC 20500","350 5th Ave, New York, NY 10118","Av. Santa Fe 3253, Buenos Aires, Argentina","10 Downing Street, London"],"coordinates": ["-34.5875,-58.4108"],"provider": "auto","censusGeographies": true}
From a CSV with split columns:
{"csvUrl": "https://docs.google.com/spreadsheets/d/.../edit#gid=0","addressFields": ["street", "city", "state", "zip"],"keepFields": ["customer_id"]}
Output
US address (Census):
{"inputIndex": 1,"input": "1600 Pennsylvania Ave NW, Washington, DC 20500","status": "matched","provider": "census","matchType": "Exact","latitude": 38.898702605246,"longitude": -77.035189204737,"formattedAddress": "1600 PENNSYLVANIA AVE NW, WASHINGTON, DC, 20500","street": "1600 PENNSYLVANIA AVE NW","city": "WASHINGTON","state": "DC","postcode": "20500","countryCode": "us","stateFips": "11","countyFips": "001","censusTract": "980000","censusBlock": "1034","precision": "address-range","fromCache": false,"attribution": "U.S. Census Bureau Geocoder (public domain)"}
Worldwide address (Nominatim):
{"inputIndex": 4,"input": "Av. Santa Fe 3253, Buenos Aires, Argentina","status": "matched","provider": "nominatim","latitude": -34.587948,"longitude": -58.4102021,"formattedAddress": "Alto Palermo, 3253, Avenida Santa Fe, Alto Palermo, Palermo, Buenos Aires, ...","houseNumber": "3253","street": "Avenida Santa Fe","neighbourhood": "Alto Palermo","city": "Buenos Aires","postcode": "C1425BGH","country": "Argentina","countryCode": "ar","precision": "address","osmType": "way","attribution": "Data © OpenStreetMap contributors, ODbL 1.0 (https://www.openstreetmap.org/copyright), geocoded with Nominatim"}
status is matched, no_match, skipped (per-run Nominatim limit), error, invalid or empty. Duplicated input rows get duplicate: true and the same result.
Pricing
Pay per event: USD 2 per 1,000 addresses geocoded (USD 0.002 each, matches only) + a tiny start fee. Not charged: addresses not found, errors, skipped rows, duplicates of an address already geocoded in the run. Your "max charge per run" is respected.
Fair use of the free services (please read)
- US Census Geocoder: public, free and built for batches. No per-run limit here.
- Nominatim (OpenStreetMap): a free community server whose usage policy allows at most 1 request per second and forbids heavy bulk geocoding. This Actor therefore sends one request at a time, at most 1 per second, caps each run at 300 lookups by default (1,000 max), identifies itself, and caches every result in your own account (90 days; not-found addresses 7 days) so the same address is never asked twice. For large non-US lists, split them across days or set
nominatimUrlto your own Nominatim instance (no cap). - Results from Nominatim are © OpenStreetMap contributors (ODbL): keep the attribution when you publish them.
Accuracy
- Census matches use address ranges along the street (
precision: address-range): very good for routing and maps, not rooftop-exact. P.O. boxes and new streets may not match. - Nominatim precision depends on OpenStreetMap coverage (house numbers are complete in many cities, sparse in others). Check
precision:address,street,neighbourhood,city... - Write addresses as complete as possible (house number, street, city, country).
Not affiliated with or endorsed by the U.S. Census Bureau or the OpenStreetMap Foundation.
Cost examples
Prices at the current pay-per-event rate: USD 0.002 per run and USD 2.00 per 1,000 addresses geocoded (addresses not found, errors, skipped rows and duplicates are free). You can set a maximum charge per run in the run options.
| Job | Approximate cost |
|---|---|
| Test run: 1 US address (Census) + 1 UK address (Nominatim) (measured: 2 matches, 3 s) | about $0.006 |
| 1,000 US addresses from a CRM export | about $2.00 |
| 10,000 US addresses (Census batch, no cap) | about $20 |
| 300 non-US addresses (default Nominatim cap per run) | about $0.60 |
Use it from your code, an integration or an AI agent
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("latamdatatools/batch-geocoder").call(run_input={"addresses": ["1600 Pennsylvania Ave NW, Washington, DC 20500","10 Downing Street, London, United Kingdom"],"provider": "auto","useCache": True})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["input"], item["status"], item.get("latitude"), item.get("longitude"))
JavaScript / Node.js (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('latamdatatools/batch-geocoder').call({addresses: ['1600 Pennsylvania Ave NW, Washington, DC 20500','10 Downing Street, London, United Kingdom'],provider: 'auto',useCache: true});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.map((i) => [i.input, i.latitude, i.longitude]));
No code:
- Schedules: save your input as a Task and run it daily or weekly for new records from Apify Console (Schedules).
- Integrations: send the results to Google Sheets, Slack, email, Make, Zapier, n8n or Airbyte from the Integrations tab, or call your own webhook when a run finishes.
- AI agents: add it as a tool in Claude, Cursor, VS Code and other MCP clients through the Apify MCP server (
https://mcp.apify.com), so the agent can turn addresses into coordinates (and coordinates into addresses).
FAQ
Can I call it from my own code or from an AI agent? Yes. Start runs and fetch results with the Apify API or the JavaScript / Python clients, or use it as a tool from Claude, Cursor and other MCP clients through the Apify MCP server (mcp.apify.com).
Can I run it automatically? Yes. Create a Schedule in Apify Console (for example every morning) and add a webhook or an integration to get the results where you need them.
Which export formats are available? JSON, JSONL, CSV, Excel (XLSX), XML, RSS and HTML table, from the Output tab or the API.
What does it cost? See the Pricing section above. You only pay for the events listed there.