The Latitude Lookup API is a versatile tool that transforms city and country names into precise geographic coordinates. This makes it an essential resource for developers who need accurate location data for applications spanning navigation, logistics, weather updates, etc. By providing reliable latitude, longitude and country code information for cities around the world, the API enables seamless integration of geolocation functions into various systems.
This simple yet powerful functionality eliminates the need for complex geodatabases, providing a streamlined solution for retrieving accurate location data. Users can rely on the API to perform global searches, ensuring access to both large cities and smaller towns.
[{"name": "London", "latitude": 51.5073219, "longitude": -0.1276474, "country": "GB", "state": "England"}, {"name": "City of London", "latitude": 51.5156177, "longitude": -0.0919983, "country": "GB", "state": "England"}, {"name": "Chelsea", "latitude": 51.4875167, "longitude": -0.1687007, "country": "GB", "state": "England"}, {"name": "Vauxhall", "latitude": 51.4874834, "longitude": -0.1229297, "country": "GB", "state": "England"}]
curl --location --request GET 'https://zylalabs.com/api/5740/latitude+lookup+api/7465/get+coordinates?city=London&country=England' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
To use this API, users must indicate a latitude and longitude.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The Latitude Lookup API converts city and country names into coordinates.
The API returns city names, latitudes, longitudes, country codes, and state information for precise geographic identification and mapping applications.
The Latitude Lookup API returns geographic data including city names, latitude, longitude, country codes, and state information. This data is essential for applications requiring precise location identification.
The key fields in the response data include "name" (city name), "latitude" (geographic latitude), "longitude" (geographic longitude), "country" (country code), and "state" (state or region name).
The response data is organized as a JSON array of objects, where each object represents a location with its corresponding attributes such as name, latitude, longitude, country, and state.
The primary parameters for the GET Get Coordinates endpoint are "city" and "country." Users must specify both to retrieve accurate geographic coordinates.
Users can customize their requests by specifying different city and country combinations in the parameters. This allows for targeted searches for specific locations worldwide.
Typical use cases include navigation applications, logistics planning, weather forecasting, and any system requiring accurate geolocation data for cities and towns globally.
Data accuracy is maintained through regular updates and quality checks against reliable geographic databases, ensuring that the coordinates provided are precise and up-to-date.
If users receive partial or empty results, they should verify the city and country names for accuracy. Additionally, trying alternative names or checking for spelling errors may yield better results.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
657ms
Service Level:
100%
Response Time:
118ms
Service Level:
100%
Response Time:
743ms
Service Level:
100%
Response Time:
278ms
Service Level:
100%
Response Time:
427ms
Service Level:
100%
Response Time:
969ms
Service Level:
100%
Response Time:
756ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
452ms
Service Level:
100%
Response Time:
723ms
Service Level:
100%
Response Time:
2,170ms
Service Level:
100%
Response Time:
1,411ms
Service Level:
100%
Response Time:
1,781ms
Service Level:
100%
Response Time:
4,465ms
Service Level:
100%
Response Time:
1,441ms
Service Level:
100%
Response Time:
1,658ms
Service Level:
100%
Response Time:
871ms
Service Level:
100%
Response Time:
609ms
Service Level:
100%
Response Time:
497ms
Service Level:
100%
Response Time:
1,003ms