Map Code Locator API offers a comprehensive solution to retrieve location codes based on country, zip code, and city information. Leveraging Google's extensive database and powerful geocoding algorithms, this API allows users to accurately obtain location codes for any geographic area, enabling a wide range of location-based services and applications.
At its core, the Map Code Locator API simplifies the process of obtaining accurate location codes by providing an easy-to-use interface and robust query capabilities. Users can easily query the API with parameters like country, zip code, and city name to retrieve the corresponding Google location codes for specific locations around the world. Whether users need location codes for navigation, delivery services, mapping applications, or any other location-based functionality, this API offers a reliable and efficient solution.
Overall, the Map Code Locator API provides a powerful and versatile solution for obtaining location codes based on country, zip code, and city information. With its intuitive interface, advanced geocoding capabilities, and extensive documentation, this API enables users to create innovative location-based applications and services that deliver accurate and relevant location data to users around the world.
It will receive a parameter and provide you with a JSON.
1,000 requests per hour in all plans.
[{"location_name":"90001,California,United States","location_code":9030927},{"location_name":"490001,Chhattisgarh,India","location_code":9146866},{"location_name":"390001,Gujarat,India","location_code":9302006}]
curl --location --request POST 'https://zylalabs.com/api/3723/map+code+locator+api/4214/postal+code' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"postal": "90001"
}'
[{"location_name":"France","location_code":2250}]
curl --location --request POST 'https://zylalabs.com/api/3723/map+code+locator+api/4215/country' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"country": "france"
}'
[{"location_name":"Berlin,Berlin,Germany","location_code":1003854},{"location_name":"Uberlingen,Baden-Wurttemberg,Germany","location_code":1004063},{"location_name":"Berlin,Connecticut,United States","location_code":1014671},{"location_name":"New Berlin,Illinois,United States","location_code":1016715},{"location_name":"Oberlin,Kansas,United States","location_code":1017586},{"location_name":"Oberlin,Louisiana,United States","location_code":1018041},{"location_name":"Berlin,Massachusetts,United States","location_code":1018120},{"location_name":"Berlin,Maryland,United States","location_code":1018515},{"location_name":"Kimberling City,Missouri,United States","location_code":1020418},{"location_name":"Berlin,New Hampshire,United States","location_code":1021810},{"location_name":"Berlin,New Jersey,United States","location_code":1022031},{"location_name":"New Berlin,New York,United States","location_code":1023183},{"location_name":"Berlin Center,Ohio,United States","location_code":1023570},{"location_name":"Berlin Heights,Ohio,United States","location_code":1023571},{"location_name":"Oberlin,Ohio,United States","location_code":1023910},{"location_name":"Berlin,Pennsylvania,United States","location_code":1024660},{"location_name":"New Berlin,Pennsylvania,United States","location_code":1025131},{"location_name":"Berlin,Wisconsin,United States","location_code":1027857},{"location_name":"New Berlin,Wisconsin,United States","location_code":1028109},{"location_name":"Bernau bei Berlin,Brandenburg,Germany","location_code":9048216},{"location_name":"Berlin Township,New Jersey,United States","location_code":9051592},{"location_name":"Bressler-Enhaut-Oberlin,Pennsylvania,United States","location_code":9051638},{"location_name":"East Berlin,Pennsylvania,United States","location_code":9051858}]
curl --location --request POST 'https://zylalabs.com/api/3723/map+code+locator+api/4216/city' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"city": "berlin"
}'
| 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.
Users must indicate the name of a country, city or zip code.
The Map Code Locator API provides precise geolocation codes for specific addresses, allowing users to accurately identify locations on maps.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
Each endpoint returns a JSON array containing location names and their corresponding location codes. For example, querying a postal code returns location details like "90001, California, United States" with its unique code.
The key fields in the response data are "location_name," which provides the formatted address, and "location_code," which is the unique identifier for that location.
The response data is organized as a JSON array of objects. Each object contains "location_name" and "location_code," allowing users to easily access and utilize the information.
Each endpoint accepts specific parameters: for the postal code endpoint, provide a postal code; for the country endpoint, provide the country name; and for the city endpoint, provide the city name.
The postal code endpoint provides location codes based on zip codes, the country endpoint returns codes for specified countries, and the city endpoint offers codes for cities worldwide, enhancing location identification.
Data accuracy is maintained by leveraging Google's extensive database and geocoding algorithms, ensuring that the location codes provided are reliable and up-to-date.
Typical use cases include location identification for navigation, address verification for logistics, and integration into mapping applications to enhance user experience with accurate location data.
Users can utilize the returned data by integrating location codes into their applications for routing, mapping, or marketing purposes, ensuring precise targeting and efficient navigation.
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:
991ms
Service Level:
100%
Response Time:
2,140ms
Service Level:
100%
Response Time:
947ms
Service Level:
100%
Response Time:
1,024ms
Service Level:
100%
Response Time:
1,520ms
Service Level:
100%
Response Time:
406ms
Service Level:
100%
Response Time:
271ms
Service Level:
100%
Response Time:
249ms
Service Level:
100%
Response Time:
462ms
Service Level:
100%
Response Time:
117ms