Geocoding API - Official Registers, No Key
Pricing
from $0.35 / 1,000 results
Geocoding API - Official Registers, No Key
No API key, no login. Address to coordinates and back from 10 official government address registers: US Census, Canada NRCan, UK ONS postcodes, France BAN, Spain CartoCiudad, Netherlands BAG, Switzerland, Norway, Estonia, Poland. Up to 100 per call, open licences: you may store the results.
Pricing
from $0.35 / 1,000 results
Rating
0.0
(0)
Developer
Martin Petrov
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Geocoding API - Official Registers
Problem: you need latitude/longitude for a list of addresses (or the address for a point), but Google and HERE forbid storing their results, OpenStreetMap's public Nominatim forbids bulk use, and cheap geocoders guess. For the US, Europe's best address registers and Canada, governments already publish exact, free, open-licence geocoders. They are just 10 different APIs.
This API: one call, up to 100 addresses and/or points, answered from the official register of each country in about 0.1-0.7 s per address. No API key, no login.
| Country | Official source | Precision | Licence |
|---|---|---|---|
| United States | U.S. Census Bureau Geocoder (TIGER) | address range + county / census tract FIPS | public domain |
| Canada | Natural Resources Canada Geolocator | interpolated address | OGL-Canada |
| United Kingdom | ONS Postcode Directory + OS Open Names (postcodes.io) | postcode centroid / place | OGL v3 |
| France | IGN Geoplateforme, Base Adresse Nationale | rooftop / entrance | Licence Ouverte 2.0 |
| Spain | CartoCiudad (IGN + Catastro) | entrance + cadastral reference | CC BY 4.0 |
| Netherlands | PDOK Locatieserver (BAG register) | rooftop + BAG ID | CC0 |
| Switzerland | geo.admin.ch building address directory | rooftop + EGAID | free OGD |
| Norway | Kartverket (Matrikkel) | entrance + cadastral number | CC BY 4.0 |
| Estonia | Maa-amet In-ADS | building + ADS ID | CC BY 4.0 |
| Poland | GUGiK UUG (PRG register) | address point + TERYT | free public data |
Why it is different
- Open licences: you may store and reuse the coordinates (Google Maps Platform terms forbid caching geocodes beyond 30 days).
- Official IDs in every row (
official_id): BAG, Catastro, TIGER, EGAID, Matrikkel, ADS, TERYT. Join your data with government datasets. - US census tract in the same call (
includeCensus: true): state, county and tract GEOID for demographics, insurance, HMDA/CRA lending work. - Country auto-detection from the postcode format, the city or the country name. Mixed lists work. Force it with
countryor a line prefixFR: .... - Honest statuses:
ok,not_found,unavailable(register down, retried 3 times; never a guessed point),unsupported_country,invalid_input. A match outside the city you wrote getsscore <= 0.4and anote. - Reverse geocoding (
coordinates): nearest official address in FR, ES, NL, NO, PL; nearest postcode in GB; county + census tract in US. - Only changes mode:
onlyNew: true+monitorIdre-checks a stored address list on a schedule and returns only rows whose match changed.
Example (API)
curl -X POST "https://api.apify.com/v2/acts/martin10291~official-geocoding-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"addresses": ["350 Fifth Avenue, New York, NY 10118", "Damrak 1, 1012 LG Amsterdam", "Calle Gran Via 28, Madrid"], "coordinates": ["52.3759,4.8975"], "includeCensus": true}'
Output rows (real output):
{"input": "350 Fifth Avenue, New York, NY 10118", "country_code": "US", "status": "ok","lat": 40.7478508, "lon": -73.9850756, "formatted_address": "350 5TH AVE, NEW YORK, NY, 10118","street": "5TH AVE", "house_number": "350", "postcode": "10118", "city": "NEW YORK", "region": "NY","precision": "interpolated (address range)", "score": 1.0, "official_id": "TIGER:59653473","census": {"state_fips": "36", "state": "New York", "county_fips": "36061", "county": "New York County","tract_geoid": "36061007600", "tract": "76"},"source": "U.S. Census Bureau Geocoder", "licence": "Public domain (U.S. Government work)", "response_ms": 645}{"input": "Damrak 1, 1012 LG Amsterdam", "country_code": "NL", "status": "ok", "lat": 52.3771445, "lon": 4.8980385,"formatted_address": "Damrak 1, 1012LG Amsterdam", "street": "Damrak", "house_number": "1", "postcode": "1012LG","city": "Amsterdam", "region": "Noord-Holland", "precision": "rooftop (BAG address)", "score": 1.0,"official_id": "BAG:0363200012113669", "source": "PDOK Locatieserver (BAG)", "licence": "CC0 1.0", "response_ms": 274}
Use from AI agents (MCP)
Add the Apify MCP server (https://mcp.apify.com?tools=martin10291/official-geocoding-api) to Claude, Cursor or any MCP client and ask: "Geocode these store addresses and give me the census tract for the US ones".
Schedule and chain
- Keep an address list clean: save a task with your list,
onlyNew: trueand amonitorId, schedule it weekly. You get only addresses whose official match changed. - After a lead or store scraper: pass its address column as
addresses; the dataset rows keep yourinputtext, so you can join back.
Input
| Field | What it does |
|---|---|
addresses | Addresses, postcodes or place names, up to 100 per run |
coordinates | Points lat,lon for reverse geocoding (optional) |
country | auto (default) or one of US, CA, GB, FR, ES, NL, CH, NO, EE, PL |
includeCensus | US: add state, county and census tract FIPS |
onlyNew / monitorId | Return only rows whose match changed since the last run |
FAQ
Germany, Italy, other countries? Not yet: they have no free national geocoder without a key. Rows from other countries return unsupported_country and are not a guessed point.
UK street addresses? The UK address register (AddressBase) is not open, so GB rows are at postcode level (or place level without a postcode).
Pricing? $0.50 per 1,000 result rows (one row per address or point).
Limits? 100 items per run; the US Census geocoder takes about 0.5-1 s per address, the others 0.1-0.6 s. 6 lookups run in parallel.