Free Geocoding API — forward/reverse geocoding, distance, and elevation
The /geocode namespace covers forward and reverse geocoding, great-circle and driving distance, elevation, bounding boxes, and a full country/city reference database — 19 endpoints behind one key.
No credit card · Free tier forever · X-API-Key header auth
What's included in /geocode
Forward and reverse geocoding
Convert an address to coordinates or coordinates back to an address via OSM Nominatim.
Distance calculations
Both great-circle (Haversine) and real driving-distance calculations, depending on what your use case needs.
Elevation and bounding box
Get elevation for a coordinate, or the bounding box for a region — useful for map-rendering logic.
Country and city reference data
Structured country/city search and reference info, not just raw coordinate lookups.
Batch geocoding
Geocode multiple addresses in a single call instead of one request per address.
Start using the geocoding API free today
Free tier — 500 calls/month, no credit card. Upgrade when you need more.
Frequently asked questions
What's the difference between distance and driving-distance?
/distance computes the great-circle (straight-line) distance via the Haversine formula. /driving-distance accounts for actual road routing.
Can I geocode multiple addresses at once?
Yes — /batch accepts multiple addresses in a single request.
Is reverse geocoding included?
Yes — /reverse converts coordinates back into a human-readable address.
Related API guides
Timezone API — Current Time, Business Hours Overlap, IANA Zones
Get current time for any IANA timezone, convert between zones, and find business…
Read guideIP Geolocation API — Free, Fast, Country/City/Timezone
Free IP geolocation API returning country, city, region, timezone, ISP, and coor…
Read guideFree Weather API — Current, Forecast & Historical Data
Get live weather data, 7-day forecasts, historical records and severe weather al…
Read guideOne key unlocks all 34 namespaces — weather, finance, fitness, astrology, and more.
View all plans and pricing →