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.
To use this endpoint you must indicate a postal code.
Postal code - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
[{"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"
}'
To use this endpoint you must indicate the name of a country.
Country - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
[{"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"
}'
To use this endpoint you must indicate the name of a city.
City - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
[{"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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
1,779ms
Service Level:
100%
Response Time:
3,656ms
Service Level:
100%
Response Time:
155ms
Service Level:
100%
Response Time:
275ms
Service Level:
100%
Response Time:
211ms
Service Level:
100%
Response Time:
569ms
Service Level:
100%
Response Time:
195ms
Service Level:
100%
Response Time:
570ms
Service Level:
100%
Response Time:
747ms
Service Level:
100%
Response Time:
97ms
Service Level:
100%
Response Time:
4,198ms
Service Level:
100%
Response Time:
3,746ms
Service Level:
100%
Response Time:
3,085ms
Service Level:
100%
Response Time:
2,383ms
Service Level:
100%
Response Time:
15ms
Service Level:
100%
Response Time:
3,760ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
4,342ms
Service Level:
50%
Response Time:
1,606ms
Service Level:
100%
Response Time:
15ms