Geolocation & IP APIs
Free IP geolocation, address geocoding, postal code and time zone APIs with tested curl commands and real JSON responses. Most require no signup.
45 tested APIs with full docs · 45 need no key · 108 more listed
Tested, with full documentation
We called each of these before publishing. Every page carries a working curl command, the real JSON response it returned, parameters and common errors.
3geonames
Free reverse geocoding API with no key: turn coordinates into the nearest named place, timezone, elevation, OSM tags and a three-word location code. Tested example included.
API Adresse (BAN)
Free official French address API with no key: geocode and validate any French address, reverse geocode coordinates, and bulk-geocode a CSV. Tested example included.
API Géo (France)
Free French administrative geography API with no key: look up communes by postcode, name or coordinates, plus departments, regions and EPCI. Tested example and live response.
API Wilayah Indonesia
Free Indonesian administrative regions API with no key: all 34 provinces, regencies, districts and 80,000+ villages with official codes. Tested example and live response.
BDAPIs (Bangladesh)
Free Bangladesh geography API with no key: all divisions, districts and upazilas with Bengali names and coordinates. Tested curl example and live response included.
BigDataCloud Reverse Geocode
Free client-side reverse geocoding API with no key: turn latitude and longitude into locality, city, country and administrative areas. Unlimited. Tested.
Cartes.io
Free collaborative mapping API with no key: read public maps and their markers, or create maps anyone can pin to. Tested read-only example and live response included.
CountriesNow
Free countries API with no key: every country with capitals, currencies, flags, dial codes, states and cities. A working RestCountries alternative. Tested.
country.is
Free IP to country API with no key: returns just the ISO country code for any IP address, in a two-field response. Tested curl example and live response included.
DAWA (Danish Addresses)
Free official Danish address API with no key: search, validate and autocomplete every address in Denmark, with coordinates, municipality codes and full history. Live example included.
FlagCDN
Free country flag CDN with no key: flag images in any width, SVG or PNG, plus a JSON map of every ISO country code to its name in 30+ languages. Tested example included.
FreeIPAPI
Free IP geolocation API with no key: country, city, coordinates, every timezone in the country, currencies, languages, ASN and a proxy flag. Tested example included.
geo.admin.ch SearchServer
Free official Swiss geodata API with no key: search places, addresses, cantons and cadastral parcels, and query hundreds of federal map layers. Tested example and live response.
GeoAPI.pt
Free Portuguese geography API with no key: districts, municipalities, parishes, postcodes and reverse geocoding, with census figures and boundary GeoJSON. Tested example included.
geoBoundaries
Free open administrative boundary API with no key: national, state and district boundaries for every country as downloadable GeoJSON, with licence and source metadata. Tested example included.
GeoJS
Free IP geolocation API with no key and no rate limit: country, city, ASN, timezone and coordinates over HTTPS with CORS and JSONP support. Tested.
Georef Argentina
Free official Argentine geography API with no key: provinces, departments, municipalities, localities, street normalisation and reverse geocoding. Tested example included.
GetTheData (BNG Converter)
Free British National Grid conversion API with no key: turn OSGB36 easting and northing into WGS84 latitude and longitude, plus UK postcode lookup. Tested example included.
ip-api.com
Free IP geolocation API returning country, city, coordinates, timezone and ISP for any IP. No key on the free tier, 45 requests per minute. Tested curl example.
ipapi.co
Free IP geolocation API with no key: city, region, country, coordinates, timezone, currency, calling code and ASN in one JSON response. Tested example and live response.
ipapi.is
Free IP intelligence API with no key: geolocation plus VPN, proxy, Tor, datacentre and known-abuser detection, with ASN and company data. Tested example.
ipify
ipify is a free, unlimited API that returns your public IP address as text, JSON or JSONP. No key, no rate limit, IPv4 and IPv6 endpoints. Live curl example.
ipquery.io
Free IP intelligence API with no key: geolocation, ISP, ASN plus VPN, proxy, Tor and datacentre detection in one request over HTTPS. Tested example.
ipwho.is
Free IP geolocation API with HTTPS and no API key. Returns country, city, coordinates, timezone, currency and connection data. 10,000 requests/month free.
Is On Water
Free land-versus-water API with no key: tell whether any latitude and longitude falls on water or land, in milliseconds. Tested curl example and live response included.
Mapcode
Free Mapcode API with no key: turn any latitude and longitude into a short, memorable location code, and decode codes back to coordinates. Tested example and live response.
Nominatim (OpenStreetMap)
Free OpenStreetMap geocoding API: convert addresses to coordinates and back. No API key, open data, 1 request per second. Tested curl example and usage policy.
NRCan Geolocation (Canada)
Free Canadian government geocoding API with no key: search addresses, place names, postal codes, intersections and NTS map sheets in one call. Tested example included.
Open-Elevation
Free elevation API with no key: get metres above sea level for any latitude and longitude worldwide, several points per request. Tested curl example and live response.
OpenPLZ
Free postal code API with no key: streets and localities for Germany, Austria, Switzerland and Liechtenstein with full administrative hierarchy. Tested.
OpenTopoData
Free elevation API with no key: ground elevation for any coordinates from multiple global datasets including SRTM, ASTER and ETOPO1. Self-hostable. Tested.
OSRM Routing
Free OSRM routing API with no key: driving, cycling and walking routes with distance, duration, turn-by-turn steps and geometry from OpenStreetMap. Tested.
PDOK Locatieserver
Free official Dutch geocoding API with no key: search addresses, streets, postcodes and place names from the BAG, with RD and WGS84 coordinates. Tested example included.
Photon (Komoot)
Free Photon geocoding API with no key: fast OpenStreetMap-based search built for typeahead, with forward and reverse geocoding. Self-hostable. Tested.
Postcodes.io
Free UK postcode API with no key: coordinates, council, constituency, ward and NHS area for any UK postcode, plus reverse and nearest lookups. Tested.
PSGC (Philippines)
Free Philippine Standard Geographic Code API with no key: regions, provinces, cities, municipalities and all 42,000 barangays, with official PSGC codes. Tested example included.
ReallyFreeGeoIP
Free IP geolocation API with no key and no rate limit: country, region, city, timezone and coordinates as JSON, XML or CSV. Tested curl example included.
REFUGE Restrooms
Free REFUGE Restrooms API with no key: crowdsourced safe, accessible and gender-neutral restroom locations worldwide, searchable by coordinates. Tested example included.
Sunrise-Sunset
Free sunrise and sunset API with no key. Get sunrise, sunset, solar noon, twilight times and day length for any coordinates and date. Tested curl example.
TimeAPI.io
Free time zone API with no key: get current time for any IANA time zone, convert between zones and calculate DST offsets. Tested curl example and live response.
US Census Geocoder
Free official US address geocoding API with no key or account: match addresses to coordinates and census geography, one at a time or 10,000 per batch. Tested example included.
Valhalla (OSM)
Free routing API with no key: turn-by-turn driving, cycling, walking and truck directions on OpenStreetMap data, with distances, times and manoeuvre text. Tested example included.
ViaCEP
Free ViaCEP API with no key: resolve any Brazilian CEP to street, neighbourhood, city, state, IBGE code and area code, or search by address. Tested example included.
zipcloud (Japan Post)
Free Japanese postal code API with no key: turn a 7-digit yubin bango into prefecture, city and town, with kana readings for form auto-fill. Tested example included.
Zippopotam.us
Free zip and postal code API for 60+ countries. Convert a postal code to city, state and coordinates with no API key. Tested curl example and live JSON response.
Choosing between these Geolocation & IP APIs
Geolocation APIs answer three different questions that are easy to confuse: where is this IP address, what are the coordinates of this place name, and what time is it there. This category covers all three, and each page states plainly which one the API actually solves.
IP geolocation is approximate by nature — it resolves to a city or ISP region, never a street address — and every page here documents that limitation instead of overselling accuracy.
More Geolocation & IP APIs in the directory
108 further APIs in this category, of which 45 need no API key. These are catalogued from the public-API lists and link straight to each provider's own documentation — we have not tested them yet, so treat the auth and CORS flags as the upstream list's claim rather than ours. They are promoted to a full tested page as we work through them.
| API | What it does | Auth |
|---|---|---|
| Abstract IP Geolocation | Geolocate website visitors from their IPs | KeyCORS |
| Actinia Grass GIS | Actinia is an open source REST API for geographical data that uses GRASS GIS | Key |
| administrative-divisons-db | Get all administrative divisions of a country | NoneCORS |
| adresse.data.gouv.fr | Address database of France, geocoding and reverse | None |
| Airtel IP | IP Geolocation API. Collecting data from multiple sources | None |
| Apiip | Get location information by IP address | KeyCORS |
| ApogeoAPI | Live exchange rates for 161 currencies bundled with country reference data and IP geolocation | KeyCORS |
| Battuta | A (country/region/city) in-cascade location API | Key |
| BdAPIs | Get divisions, districts, and upazzilas of Bangladesh | None |
| BigDataCloud | Provides fast and accurate IP geolocation APIs along with security checks and confidence area | Key |
| BigDataCloud's Free API | Get free client-side reverse geocoding API and Client Info API. No account creation and API key required. | NoneCORS |
| BigDataCloud's IP Geolocation API | Provides fast and accurate IP geolocation APIs along with security checks and confidence area. | KeyCORS |
| BigDataCloud's Network Engineering API | Get detailed ASN and Network lookup of an IP address. | KeyCORS |
| BigDataCloud's Phone and Email Verification API | Syntax and Format Validation of Phone Number and Email address. | KeyCORS |
| BigDataCloud's Reverse Geocoding API | Get rich locality information from the geographical coordinates. | KeyCORS |
| Bing Maps | Create/customize digital maps based on Bing Maps data | Key |
| bng2latlong | Convert British OSGB36 easting and northing (British National Grid) to WGS84 latitude and longitude | NoneCORS |
| Cep.la | Brazil RESTful API to find information about streets, zip codes, neighborhoods, cities and states | None |
| CitySDK | Open APIs for select European cities | None |
| Country | Get your visitor's country from their IP | NoneCORS |
| CountryStateCity | World countries, states, regions, provinces, cities & towns in JSON, SQL, XML, YAML, & CSV format | KeyCORS |
| Ducks Unlimited | API explorer that gives a query URL with a JSON response of locations and cities | None |
| FreeGeoIP | Free geo ip information, no registration required. 15k/hour rate limit | NoneCORS |
| Geo Toolkit | Plus Codes, geohash and Maidenhead encode/decode plus distance, bearing and bounding box math | KeyCORS |
| GeoApi | French geographical data | None |
| Geoapify | Forward and reverse geocoding, address autocomplete | KeyCORS |
| Geocod.io | Address geocoding / reverse geocoding in bulk | Key |
| Geocode.xyz | Provides worldwide forward/reverse geocoding, batch geocoding and geoparsing | None |
| Geocodify.com | Worldwide geocoding, geoparsing and autocomplete for addresses | KeyCORS |
| Geodata.gov.gr | Open geospatial data and API service for Greece | None |
| GeoDataSource | Geocoding of city name by using latitude and longitude coordinates | Key |
| GeoDB Cities | Get global city, region, and country data | Key |
| GeoDescription | Reverse geocoding - Converting geographic coordinates to address-like location description | None |
| GeographQL | A Country, State, and City GraphQL API | NoneCORS |
| Geokeo | Geokeo geocoding service- with 2500 free api requests daily | NoneCORS |
| Geolocated | Free IP Geolocation API with multi-continent servers, and 60000 free requests/month | KeyCORS |
| Geomelon | Multilingual City autocomplete | NoneCORS |
| GeoNames | Place names and other geographical data | None |
| geoPlugin | IP geolocation and currency conversion | NoneCORS |
| Google Earth Engine | A cloud-based platform for planetary-scale environmental data analysis | Key |
| Google Maps | Create/customize digital maps based on Google Maps data | Key |
| Graph Countries | Country-related data like currencies, languages, flags, regions+subregions and bordering countries | None |
| HackMyIP | IP geolocation, ISP and privacy/VPN scoring, email breach checks, DNS and WHOIS lookups | NoneCORS |
| HelloSalut | Get hello translation following user language | None |
| HERE Maps | Create/customize digital maps based on HERE Maps data | Key |
| Hirak IP to Country | Ip to location with country code, currency code & currency name, fast response, unlimited requests | Key |
| Hong Kong GeoData Store | API for accessing geo-data of Hong Kong | None |
| IBGE | Aggregate services of IBGE (Brazilian Institute of Geography and Statistics) | None |
| IP 2 Country | Map an IP to a country | None |
| IP Address Details | Find geolocation with ip address | None |
| IP Geolocation | Geolocate website visitors from their IPs | KeyCORS |
| IP Vigilante | Free IP Geolocation API | None |
| ip-api | Find location with IP address or domain | None |
| IP-API.io | IP geolocation with VPN/proxy/Tor detection, reputation and risk score | KeyCORS |
| ip.app | IP, ASN, geolocation, timezone, security, user-agent in plain text, JSON or HTTP headers | NoneCORS |
| ip2geo.dev | Programmatically convert IP addresses into geolocation data | KeyCORS |
| IP2Location | IP geolocation web service to get more than 55 parameters | Key |
| IP2Location.io | Bundle of Free IP geolocation and WHOIS API | Key |
| IP2Proxy | Detect proxy and VPN using IP address | Key |
| IPGEO | Unlimited free IP Address API with useful information | None |
| ipgeolocation | IP Geolocation AP with free plan 30k requests per month | KeyCORS |
| IPInfoDB | Free Geolocation tools and APIs for country, region, city and time zone lookup by IP address | Key |
| IPstack | Locate and identify website visitors by IP address | Key |
| IPWho IP Geolocation API | 2,000 free API calls per day. Production grade IP intelligence at non-enterprise prices. Servers in 12+ regions for low latency. | KeyCORS |
| Kakao Maps | Kakao Maps provide multiple APIs for Korean maps | Key |
| keycdn IP Location Finder | Get the IP geolocation data through the simple REST API. All the responses are JSON encoded | Key |
| Kiprio UK Postcode | UK postcode lookup with lat/lon, district, ward, constituency | KeyCORS |
| LatLng | Geocoding, reverse geocoding, places, and static maps | NoneCORS |
| LocationIQ | Provides forward/reverse geocoding and batch geocoding | KeyCORS |
| Longdo Map | Interactive map with detailed places and information portal in Thailand | KeyCORS |
| Mapbase | Location registry API for official locations, zones, hierarchy, and geometry | KeyCORS |
| Mapbox | Create/customize beautiful digital maps | Key |
| MapQuest | To access tools and resources to map the world | Key |
| Metadapi Zip Code | Enhanced United States zip code information. Census, IRS, demographics, radius, distances and more | KeyCORS |
| Mexico | Mexico RESTful zip codes API | None |
| Nominatim | Provides worldwide forward / reverse geocoding | NoneCORS |
| One Map, Singapore | Singapore Land Authority REST API services for Singapore addresses | Key |
| OnWater | Determine if a lat/lon is on water or land | None |
| OpenCage | Forward and reverse geocoding using open data | KeyCORS |
| OpenPLZ API | A public street and postal code directory for Austria, Germany, Liechtenstein and Switzerland via an open REST API | NoneCORS |
| openrouteservice.org | Directions, POIs, isochrones, geocoding (+reverse), elevation, and more | Key |
| OpenStreetMap | Navigation, geolocation and geographical data | OAuth |
| Pinball Map | A crowdsourced map of public pinball machines | NoneCORS |
| Pointpin | Pointpin is a simple yet powerful API designed for high traffic websites to deliver fast and reliable IP geolocation for your websites and applications. | KeyCORS |
| positionstack | Forward & Reverse Batch Geocoding REST API | Key |
| PostalCodes | Global postal code search, country exports and address validation data | None |
| Postali | Mexico Zip Codes API | NoneCORS |
| PostcodeData.nl | Provide geolocation data based on postcode for Dutch addresses | None |
| Proweblook IP Checker | Proweblook lookup & Geolocation | KeyCORS |
| Queimadas INPE | Access to heat focus data (probable wildfire) | None |
| REST Countries | Get information about countries via a RESTful API | NoneCORS |
| RoadGoat Cities | Cities content & photos API | Key |
| Rwanda Locations | Rwanda Provences, Districts, Cities, Capital City, Sector, cells, villages and streets | None |
| SLF | German city, country, river, database | NoneCORS |
| SpotSense | Add location based interactions to your mobile app | Key |
| SpryTools IP Geolocation | Resolve IPv4/IPv6 to country, region, city, ISP, ASN and timezone via MaxMind GeoLite2 | Key |
| Telize | Telize offers location information from any IP address | KeyCORS |
| The IP API | IP to Location API, with data about country, region, city etc, with free plan allowing 1000 req/day | Key |
| Timezones Dictionary API | This API returns a list of all available timezones for your application | KeyCORS |
| TomTom | Maps, Directions, Places and Traffic APIs | KeyCORS |
| Uebermaps | Discover and share maps with friends | Key |
| US ZipCode | Validate and append data for any US ZipCode | KeyCORS |
| Utah AGRC | Utah Web API for geocoding Utah addresses | Key |
| What3Words | Three words as rememberable and unique coordinates worldwide | Key |
| Yandex.Maps Geocoder | Use geocoding to get an object's coordinates from its address | Key |
| ZipCodeAPI | US zip code distance, radius and location API | Key |
| Zipcodestack | Zip Code API - Free Postal Code Validation | Key |
| Ziptastic | Get the country, state, and city of any US zip-code | None |