The world's location data. One clean API.
Search cities, resolve postal codes, detect timezones, and explore admin regions across 248 countries — with one API key and zero complexity.
Free tier includes 1,000 calls/day - No credit card required - Live in 5 minutes
$ curl "https://api.localityapi.com/v1/search?q=Dubai&country=AE" \
-H "X-API-Key: lapi_xxxxxxxx"|{
"results": [{
"name": "Dubai",
"country": "AE",
"admin1": "Dubai",
"lat": 25.2048,
"lng": 55.2708,
"timezone": "Asia/Dubai",
"population": 3331420
}],
"query_ms": 8
}Everything you need. Nothing you don't.
City & Town Search
Fuzzy search across 12M+ cities, towns, villages, and suburbs worldwide with ranked results
Postal Code Lookup
Resolve any postal code to its city, admin region, country, and coordinates instantly
Timezone Resolution
Get the correct IANA timezone for any city or coordinates — no guesswork
Admin Hierarchy
Drill into countries, states, provinces, counties, and districts with structured data
Radius Search
Find all cities within any radius of a lat/lng point using PostGIS spatial queries
Autocomplete Ready
Typeahead endpoint optimized for speed — returns suggestions in under 20ms
Simple, consistent endpoints
/v1/searchSearch cities and places by name/v1/postalLook up a postal code/v1/citiesFilter cities by country, population, type/v1/nearbyFind places within a radius/v1/autocompleteTypeahead suggestionsWorks with any language
Simple REST API. No SDK required.
curl "https://api.localityapi.com/v1/search?q=Dubai&country=AE" \
-H "X-API-Key: lapi_your_key_here"{
"results": [{
"name": "Dubai",
"country": "AE",
"admin1": "Dubai",
"lat": 25.2048,
"lng": 55.2708,
"timezone": "Asia/Dubai",
"population": 3331420
}],
"query_ms": 8
}Simple, predictable pricing
Start free. Scale when you're ready. No surprise bills.
Free
Perfect for testing and small projects
- 1,000 API calls per day
- All core endpoints
- Community support
- Attribution required
- No credit card needed
Starter
For apps and products in production
- 50,000 API calls per day
- All endpoints including autocomplete
- Email support
- No attribution required
- Cancel anytime
Pro
For growing products with higher volume
- 500,000 API calls per day
- All endpoints + radius search
- Priority email support
- 99.9% uptime SLA
- Cancel anytime
Enterprise
For high-volume teams needing reliability
- Unlimited API calls
- Dedicated infrastructure
- Slack support channel
- Custom endpoints on request
- White-label option available
Built for developers searching for a Google Maps alternative
LocalityAPI is the leading alternative to Google Maps Platform for developers who need city search, postal code lookup, timezone detection and location autocomplete. Our REST API covers 248 countries with 12M+ locations — at a fraction of the cost. Used by developers building address forms, logistics platforms, e-commerce stores, SaaS products and mobile applications that need reliable location data without the Google Maps price tag.
Frequently asked questions
Ready to add location data to your app?
Join developers already using LocalityAPI. Free to start, scales with you.