Free APIs for maps and places
- Photon
Search-as-you-type place lookup.
photon.komoot.io
Runs in the browserWorking
- Nominatim (OpenStreetMap)
The reference OpenStreetMap geocoder, forward and reverse.
nominatim.openstreetmap.org
Runs in the browserWorking
- Open-Meteo Geocoding
City search with timezone and population in the answer.
geocoding-api.open-meteo.com
Runs in the browserWorking
- BigDataCloud Reverse Geocoding
Reverse geocoding designed for client-side calls.
api.bigdatacloud.net
Runs in the browserWorking
- OSRM demo server
Driving route, distance and duration between points.
router.project-osrm.org
Runs in the browserWorking
- Open-Meteo Elevation
Elevation for a list of coordinates.
api.open-meteo.com
Runs in the browserWorking
- Zippopotam.us
Postal code to place for many countries.
api.zippopotam.us
Runs in the browserWorking
- Postcodes.io
UK postcodes with administrative areas.
api.postcodes.io
Runs in the browserWorking
- Flagpedia flag CDN
Flags by country code for the result list.
flagcdn.com
Runs in the browserWorking
Build snapshot, not live. One verifier run on , from the machine that built this site. How we check
How the pieces fit
- Debounce the search box: wait until the user stops typing for 300 ms before calling the geocoder.
- Store the coordinates you get back; do not geocode the same address twice.
- Credit OpenStreetMap contributors wherever you show results from Nominatim, Photon or OSRM.
Questions
Can I use Nominatim for autocomplete?
No. Its usage policy forbids autocomplete on the public server. Use Photon, which is built for search-as-you-type.
Is there a free alternative to the Google Geocoding API?
For moderate volumes, yes: Nominatim, Photon and Open-Meteo Geocoding need no key. For heavy use, host Nominatim or Photon yourself; both are open source.
Other collections
- Weather appEverything a weather app needs without an API key: geocoding, forecast, air quality, sun times and IP location, each one checked by our verifier.
- Beginner projectsSmall, friendly APIs for a first fetch call: no key, no sign-up, CORS enabled, with a copyable example for each.
- BrazilKeyless APIs for Brazilian postal codes, company registry, holidays, banks, FIPE prices, IBGE statistics and central bank exchange rates, all verified.
- Mock dataFake users, products and posts, echo servers, placeholder images and avatars: keyless APIs for prototypes, demos and client tests.
Keep exploring
- All APIsSearch the whole catalog and filter by category, browser support and status.
- No key neededWhat "keyless" means in practice, and the limits that still apply.
- Runs in the browserAPIs a static page can call without a backend (CORS enabled).
- CollectionsCurated sets for a weather app, a first project, maps, mock data.
- Live statusWhat we check, how often, and the latest result for every API.
- Open dataThe catalog and results as JSON at /api.json.
- Brasil (pt-BR)CEP, CNPJ, feriados e câmbio, em português.
- Sources and licencesWhere entries come from and who we credit.