Location and Timezone API
Geocoding autocomplete with coordinates and timezone for astrology apps
City search and geocoding API covering 7,000+ cities across 227 countries. Returns latitude, longitude, IANA timezone, and DST-aware UTC offset. Built as the location layer for birth chart forms, horoscope apps, event planners, and any feature that needs place-to-coordinates resolution.
Want to ship faster? Clone a free starter app and go from zero to production in 30 minutes.
Need help getting started? Get free integration guidance from our team.
Key Features
Everything you need from our Location and Timezone API, built for production:
City autocomplete search across 7,000+ cities worldwide, sorted by relevance and population
Latitude, longitude, IANA timezone, and UTC offset in every result for direct use in astrology APIs
Global coverage across 227 countries with ISO 3166 codes
DST-aware UTC offset that adjusts automatically for daylight saving time
Fully offline dataset with sub-5ms response times, no external geocoding API dependencies
Response fields map directly to astrology API parameters for seamless integration
All Endpoints
Click any endpoint to view detailed documentation, parameters, and response examples.
Search cities worldwide - Geocoding autocomplete with coordinates and timezone
City autocomplete and geocoding search across 7,000+ locations in 227 countries. Returns geographic coordinates (latitude, longitude), IANA timezone, and DST-aware UTC offset for each match. Built for birth chart location pickers, horoscope apps, event scheduling, and any feature requiring place-to-coordinates resolution. Partial name matching with intelligent ranking: exact prefix matches first, then sorted by population for relevance. Covers all major cities in Europe, Americas, Asia, Africa, and Oceania.
List all 227 countries - ISO codes and city coverage
Returns all 227 countries with ISO 3166-1 alpha-2 and alpha-3 codes, plus the number of searchable cities per country. Use this endpoint to build country dropdown menus, regional filters, or to check city coverage before querying. Sorted alphabetically by country name. Covers Europe, Americas, Asia, Middle East, Africa, and Oceania.
Get cities in a country - Geocoding directory sorted by population
Returns all cities for a specific country, identified by ISO 3166-1 alpha-2 code (e.g. DE for Germany, FR for France, GB for United Kingdom, US for United States). Each city includes geographic coordinates, IANA timezone, and DST-aware UTC offset for direct use in astrology birth chart, horoscope, transit, and panchang calculations. Cities sorted by population with the largest metropolitan areas first.
What You Can Build with Location and Timezone API
Real-world applications and use cases for integrating Location and Timezone API into your projects:
Birth chart location picker: autocomplete city search that auto-fills latitude, longitude, and timezone
Event location for transits: get coordinates and timezone for planetary transit and panchang calculations
Timezone conversion: look up IANA timezone and current UTC offset for any city worldwide
Country and city directory: browse all 227 countries and their cities for location dropdowns and filters
Getting Started with Location and Timezone API
Start building in under 2 minutes. No signup required.
Next Steps
| Get your API key | View Plans |
| Explore the API | View Docs |
AI-Native Integration
MCPFirst-class Model Context Protocol support for AI agents and autonomous applications
Start Using Location and Timezone API Today
Geocoding autocomplete with coordinates and timezone for astrology apps
Choose a plan and get your API key instantly delivered to your email. No credit card required for testing. Pay-as-you-go pricing with 3+ endpoints included.
View Pricing & Get API Key