Country Data Lookup API

Country Data Lookup API

The Country Data Search API provides country, state and city data based on country codes.

API description

About the API:  

The Country Data Lookup API is a powerful tool that provides numerous data related to countries, states and cities around the world. With this API, users can access a wide range of information, including details of the specified country and city. It offers a simple and efficient way to retrieve accurate and up-to-date data for building location-based applications, creating dynamic drop-down menus, filling out address forms and more.

One of the main features of the API is its ability to retrieve country data based on a country code. By providing a valid country code, users can retrieve complete information about a particular country, such as its name, currency, utc and other relevant data. This data can be used in a variety of applications, from e-commerce platforms that require country-specific information to travel websites that offer country-specific guides and resources.

Another key feature of the API is the retrieval of states or provinces within a particular country. By specifying a country code, developers can obtain a list of the states or provinces associated with that country. This information is especially useful for applications that require state-specific data, such as address validation, regional analysis, or customized user experiences based on location.

In addition, the API allows developers to access city data based on a country code or a combination of country and state codes. Leveraging this functionality, developers can retrieve detailed information about cities within a specific country or state, including the name, latitude and longitude coordinates, country code and other relevant attributes. This data is valuable for applications that include location-based services, city-specific searches, weather forecasts and more.

The API offers a seamless integration process, allowing users to incorporate these powerful functions into their applications effortlessly. It provides well-documented endpoints and supports multiple programming languages, making it accessible to users who want to seamlessly use the API.

In conclusion, the API offers users a robust solution for accessing comprehensive data about countries, states and cities, this API provides a convenient and reliable way to retrieve accurate data for your location-based applications.


 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Location-based services: The API can be used in location-based services to retrieve country, state and city data based on country codes, allowing users to offer personalized experiences to their users based on their location.

  2. User registration: When users register on a website or application, the API can be used to validate and standardize the country, state and city information provided by the user based on country codes, ensuring accurate and consistent data entry.

  3. Travel and tourism applications: Travel and tourism applications can leverage the API to provide country and city specific information.

  4. Regional analysis: The API can be used in data analysis and reporting systems to perform regional analysis, aggregating data based on country, state and city codes to obtain information about specific geographic regions.

  5. Content localization: Content management systems and multilingual platforms can use the API to dynamically adjust content based on the country code selected by the user, ensuring that localized content is displayed to the user.

Are there any limitations to your plans?

  • Basic Plan: 15,000 API Calls. 500 requests per day.

  • Pro Plan: 150,000 API Calls. 5,000 requests per day.

  • Pro Plus Plan: 360,000 API Calls. 12,000 requests per day.

  • Premium Plan: 1,140,000 API Calls. 38,000 requests per day. 

API Documentation

Endpoints


To use this endpoint all you have to do is run it.



                                                                            
GET https://zylalabs.com/api/2205/country+data+lookup+api/2046/get+available+countries
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"name":"Afghanistan","isoCode":"AF","flag":"๐Ÿ‡ฆ๐Ÿ‡ซ","phonecode":"93","currency":"AFN","latitude":"33.00000000","longitude":"65.00000000","timezones":[{"zoneName":"Asia/Kabul","gmtOffset":16200,"gmtOffsetName":"UTC+04:30","abbreviation":"AFT","tzName":"Afghanistan Time"}]},{"name":"Aland Islands","isoCode":"AX","flag":"๐Ÿ‡ฆ๐Ÿ‡ฝ","phonecode":"+358-18","currency":"EUR","latitude":"60.11666700","longitude":"19.90000000","timezones":[{"zoneName":"Europe/Mariehamn","gmtOffset":7200,"gmtOffsetName":"UTC+02:00","abbreviation":"EET","tzName":"Eastern European Time"}]},{"name":"Albania","isoCode":"AL","flag":"๐Ÿ‡ฆ๐Ÿ‡ฑ","phonecode":"355","currency":"ALL","latitude":"41.00000000","longitude":"20.00000000","timezones":[{"zoneName":"Europe/Tirane","gmtOffset":3600,"gmtOffsetName":"UTC+01:00","abbreviation":"CET","tzName":"Central European Time"}]},{"name":"Algeria","isoCode":"DZ","flag":"๐Ÿ‡ฉ๐Ÿ‡ฟ","phonecode":"213","currency":"DZD","latitude":"28.00000000","longitude":"3.00000000","timezones":[{"zoneName":"Africa/Algiers","gmtOffset":3600,"gmtOffsetName":"UTC+01:00","abbreviation":"CET","tzName":"Central European Time"}]},{"name":"American Samoa","isoCode":"AS","flag":"๐Ÿ‡ฆ๐Ÿ‡ธ","phonecode":"+1-684","currency":"USD","latitude":"-14.33333333","longitude":"-170.00000000","timezones":[{"zoneName":"Pacific/Pago_Pago","gmtOffset":-39600,"gmtOffsetName":"UTC-11:00","abbreviation":"SST","tzName":"Samoa Standard Time"}]},{"name":"Andorra","isoCode":"AD","flag":"๐Ÿ‡ฆ๐Ÿ‡ฉ","phonecode":"376","currency":"EUR","latitude":"42.50000000","longitude":"1.50000000","timezones":[{"zoneName":"Europe/Andorra","gmtOffset":3600,"gmtOffsetName":"UTC+01:00","abbreviation":"CET","tzName":"Central European Time"}]},{"name":"Angola","isoCode":"AO","flag":"๐Ÿ‡ฆ๐Ÿ‡ด","phonecode":"244","currency":"AOA","latitude":"-12.50000000","longitude":"18.50000000","timezones":[{"zoneName":"Africa/Luanda","gmtOffset":3600,"gmtOffsetName":"UTC+01:00","abbreviation":"WAT","tzName":"West Africa Time"}]},{"name":"Anguilla","isoCode":"AI","flag":"๐Ÿ‡ฆ๐Ÿ‡ฎ","phonecode":"+1-264","currency":"XCD","latitude":"18.25000000","longitude":"-63.16666666","timezones":[{"zoneName":"America/Anguilla","gmtOffset":-14400,"gmtOffsetName":"UTC-04:00","abbreviation":"AST","tzName":"Atlantic Standard Time"}]},{"name":"Antarctica","isoCode":"AQ","flag":"๐Ÿ‡ฆ๐Ÿ‡ถ","phonecode":"672","currency":"AAD","latitude":"-74.65000000","longitude":"4.48000000","timezones":[{"zoneName":"Antarctica/Casey","gmtOffset":39600,"gmtOffsetName":"UTC+11:00","abbreviation":"AWST","tzName":"Australian Western Standard Time"},{"zoneName":"Antarctica/Davis","gmtOffset":25200,"gmtOffsetName":"UTC+07:00","abbreviation":"DAVT","tzName":"Davis Time"},{"zoneName":"Antarctica/DumontDUrville","gmtOffset":36000,"gmtOffsetName":"UTC+10:00","abbreviation":"DDUT","tzName":"Dumont d'Urville Time"},{"zoneName":"Antarctica/Mawson","gmtOffset":18000,"gmtOffsetName":"UTC+05:00","abbreviation":"MAWT","tzName":"Mawson Station Time"},{"zoneName":"Antarctica/McMurdo","gmtOffset":46800,"gmtOffsetName":"UTC+13:00","abbreviation":"NZDT","tzName":"New Zealand Daylight Time"},{"zoneName":"Antarctica/Palmer","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"CLST","tzName":"Chile Summer Time"},{"zoneName":"Antarctica/Rothera","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ROTT","tzName":"Rothera Research Station Time"},{"zoneName":"Antarctica/Syowa","gmtOffset":10800,"gmtOffsetName":"UTC+03:00","abbreviation":"SYOT","tzName":"Showa Station Time"},{"zoneName":"Antarctica/Troll","gmtOffset":0,"gmtOffsetName":"UTCยฑ00","abbreviation":"GMT","tzName":"Greenwich Mean Time"},{"zoneName":"Antarctica/Vostok","gmtOffset":21600,"gmtOffsetName":"UTC+06:00","abbreviation":"VOST","tzName":"Vostok Station Time"}]},{"name":"Antigua And Barbuda","isoCode":"AG","flag":"๐Ÿ‡ฆ๐Ÿ‡ฌ","phonecode":"+1-268","currency":"XCD","latitude":"17.05000000","longitude":"-61.80000000","timezones":[{"zoneName":"America/Antigua","gmtOffset":-14400,"gmtOffsetName":"UTC-04:00","abbreviation":"AST","tzName":"Atlantic Standard Time"}]},{"name":"Argentina","isoCode":"AR","flag":"๐Ÿ‡ฆ๐Ÿ‡ท","phonecode":"54","currency":"ARS","latitude":"-34.00000000","longitude":"-64.00000000","timezones":[{"zoneName":"America/Argentina/Buenos_Aires","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Catamarca","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Cordoba","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Jujuy","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/La_Rioja","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Mendoza","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Rio_Gallegos","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Salta","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/San_Juan","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/San_Luis","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Tucuman","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"},{"zoneName":"America/Argentina/Ushuaia","gmtOffset":-10800,"gmtOffsetName":"UTC-03:00","abbreviation":"ART","tzName":"Argentina Time"}]},{"name":"Armenia","isoCode":"AM","flag":"๐Ÿ‡ฆ๐Ÿ‡ฒ","phonecode":"374","currency":"AMD","latitude":"40.00000000","longitude":"45.00000000","timezones":[{"zoneName":"Asia/Yerevan","gmtOffset":14400,"gmtOffsetName":"UTC+04:00","abbreviation":"AMT","tzName":"Armenia Time"}]},{"name":"Aruba","isoCode":"AW","flag":"๐Ÿ‡ฆ๐Ÿ‡ผ","phonecode":"297","currency":"AWG","latitude":"12.50000000","longitude":"-69.96666666","timezones":[{"zoneName":"America/Aruba","gmtOffset":-14400,"gmtOffsetName":"UTC-04:00","abbreviation":"AST","tzName":"Atlantic Standard Time"}]},{"name":"Australia","isoCode":"AU","flag":"๐Ÿ‡ฆ๐Ÿ‡บ","phonecode":"61","currency":"AUD","latitude":"-27.00000000","longitude":"133.00000000","timezones":[{"zoneName":"Antarctica/Macquarie","gmtOffset":39600,"gmtOffsetName":"UTC+11:00","abbreviation":"MIST","tzName":"Macquarie Island Station Time"},{"zoneName":"Australia/Adelaide","gmtOffset":37800,"gmtOffsetName":"UTC+10:30","abbreviation":"ACDT","tzName":"Australian Central Daylight Saving Time"},{"zoneName":"Australia/Brisbane","gmtOffset":36000,"gmtOffsetName":"UTC+10:00","abbreviation":"AEST","tzName":"Australian Eastern Standard Time"},{"zoneName":"Australia/Broken_Hill","gmtOffset":37800,"gmtOffsetName":"UTC+10:30","abbreviation":"ACDT","tzName":"Australian Central Daylight Saving Time"},{"zoneName":"Australia/Currie","gmtOffset":39600,"gmtOffsetName":"UTC+11:00","abbreviation":"AEDT","tzName":"Australian Eastern Daylight Saving Time"},{"zoneName":"Australia/Darwin","gmtOffset":34200,"gmtOffsetName":"UTC+09:30","abbreviation":"ACST","tzName":"Australian Central Standard Time"},{"zoneName":"Australia/Eucla","gmtOffset":31500,"gmtOffsetName":"UTC+08:45","abbreviation":"ACWST","tzName":"Australian Central Western Standard Time (Unofficial)"},{"zoneName":"Australia/Hobart","gmtOffset":39600,"gmtOffsetName":"UTC+11:00","abbreviation":"AEDT","tzName":"Australian Eastern Daylight Saving Time"},{"zoneName":"Australia/Lindeman","gmtOffset":36000,"gmtOffsetName":"UTC+10:00","abbreviation":"AEST","tzName":"Australian Eastern Standard Time"},{"zoneName":"Australia/Lord_Howe","gmtOffset":39600,"gmtOffsetName":"UTC+11:00","abbreviation":"LHST","tzName":"Lord Howe Summer Time"},{"zoneName":"Australia/Melbourne","gmtOffset":39600,"gmtOffsetName":"UTC+11:00","abbreviation":"AEDT","tzName":"Australian Eastern Daylight Saving Time"},{"zoneName":"Australia/Perth","gmtOffset":28800,"gmtOffsetName":"UTC+08:00","abbreviation":"AWST","tzName":"Australian Western Standard Time"},{"zoneName":"Australia/Sydney","gmtOffset":39600,"gmtOffsetName":"UTC+11:00","abbreviation":"AEDT","tzName":"Australian Eastern Daylight Saving Time"}]},{"name":"Austria","isoCode":"AT","flag":"๐Ÿ‡ฆ๐Ÿ‡น","phonecode":"43","currency":"EUR","latitude":"47.33333333","longitude":"13.33333333","timezones":[{"zoneName":"Europe/Vienna","gmtOffset":3600,"gmtOffsetName":"UTC+01:00","abbreviation":"CET","tzName":"Central European Time"}]},{"name":"Azerbaijan","isoCode":"AZ","flag":"๐Ÿ‡ฆ๐Ÿ‡ฟ","phonecode":"994","currency":"AZN","latitude":"40.50000000","longitude":"47.50000000","timezones":[{"zoneName":"Asia/Baku","gmtOffset":14400,"gmtOffsetName":"UTC+04:00","abbreviation":"AZT","tzName":"Azerbaijan Time"}]},{"name":"The Bahamas","isoCode":"BS","flag":"๐Ÿ‡ง๐Ÿ‡ธ","phonecode":"+1-242","currency":"BSD","latitude":"24.25000000","longitude":"-76.00000000","timezones":[{"zoneName":"America/Nassau","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America)"}]},{"name":"Bahrain","isoCode":"BH","flag":"๐Ÿ‡ง๐Ÿ‡ญ","phonecode":"973","currency":"BHD","latitude":"26.00000000","longitude":"50.55000000","timezones":[{"zoneName":"Asia/Bahrain","gmtOffset":10800,"gmtOffsetName":"UTC+03:00","abbreviation":"AST","tzName":"Arabia Standard Time"}]},{"name":"Bangladesh","isoCode":"BD","flag":"๐Ÿ‡ง๐Ÿ‡ฉ","phonecode":"880","currency":"BDT","latitude":"24.00000000","longitude":"90.00000000","timezones":[{"zoneName":"Asia/Dhaka","gmtOffset":21600,"gmtOffsetName":"UTC+06:00","abbreviation":"BDT","tzName":"Bangladesh Standard Time"}]},{"name":"Barbados","isoCode":"BB","flag":"๐Ÿ‡ง๐Ÿ‡ง","phonecode":"+1-246",...
                                                                                                                                                                                                                    
                                                                                                    

Get available countries - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2205/country+data+lookup+api/2046/get+available+countries' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint, all you have to do is indicate a country code in the parameter.



                                                                            
GET https://zylalabs.com/api/2205/country+data+lookup+api/2048/country+information+by+country+code
                                                                            
                                                                        

Country Information by country code - Endpoint Features
Object Description
countrycode [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"name":"United States","isoCode":"US","flag":"๐Ÿ‡บ๐Ÿ‡ธ","phonecode":"1","currency":"USD","latitude":"38.00000000","longitude":"-97.00000000","timezones":[{"zoneName":"America/Adak","gmtOffset":-36000,"gmtOffsetName":"UTC-10:00","abbreviation":"HST","tzName":"Hawaiiโ€“Aleutian Standard Time"},{"zoneName":"America/Anchorage","gmtOffset":-32400,"gmtOffsetName":"UTC-09:00","abbreviation":"AKST","tzName":"Alaska Standard Time"},{"zoneName":"America/Boise","gmtOffset":-25200,"gmtOffsetName":"UTC-07:00","abbreviation":"MST","tzName":"Mountain Standard Time (North America"},{"zoneName":"America/Chicago","gmtOffset":-21600,"gmtOffsetName":"UTC-06:00","abbreviation":"CST","tzName":"Central Standard Time (North America"},{"zoneName":"America/Denver","gmtOffset":-25200,"gmtOffsetName":"UTC-07:00","abbreviation":"MST","tzName":"Mountain Standard Time (North America"},{"zoneName":"America/Detroit","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Indiana/Indianapolis","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Indiana/Knox","gmtOffset":-21600,"gmtOffsetName":"UTC-06:00","abbreviation":"CST","tzName":"Central Standard Time (North America"},{"zoneName":"America/Indiana/Marengo","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Indiana/Petersburg","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Indiana/Tell_City","gmtOffset":-21600,"gmtOffsetName":"UTC-06:00","abbreviation":"CST","tzName":"Central Standard Time (North America"},{"zoneName":"America/Indiana/Vevay","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Indiana/Vincennes","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Indiana/Winamac","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Juneau","gmtOffset":-32400,"gmtOffsetName":"UTC-09:00","abbreviation":"AKST","tzName":"Alaska Standard Time"},{"zoneName":"America/Kentucky/Louisville","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Kentucky/Monticello","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Los_Angeles","gmtOffset":-28800,"gmtOffsetName":"UTC-08:00","abbreviation":"PST","tzName":"Pacific Standard Time (North America"},{"zoneName":"America/Menominee","gmtOffset":-21600,"gmtOffsetName":"UTC-06:00","abbreviation":"CST","tzName":"Central Standard Time (North America"},{"zoneName":"America/Metlakatla","gmtOffset":-32400,"gmtOffsetName":"UTC-09:00","abbreviation":"AKST","tzName":"Alaska Standard Time"},{"zoneName":"America/New_York","gmtOffset":-18000,"gmtOffsetName":"UTC-05:00","abbreviation":"EST","tzName":"Eastern Standard Time (North America"},{"zoneName":"America/Nome","gmtOffset":-32400,"gmtOffsetName":"UTC-09:00","abbreviation":"AKST","tzName":"Alaska Standard Time"},{"zoneName":"America/North_Dakota/Beulah","gmtOffset":-21600,"gmtOffsetName":"UTC-06:00","abbreviation":"CST","tzName":"Central Standard Time (North America"},{"zoneName":"America/North_Dakota/Center","gmtOffset":-21600,"gmtOffsetName":"UTC-06:00","abbreviation":"CST","tzName":"Central Standard Time (North America"},{"zoneName":"America/North_Dakota/New_Salem","gmtOffset":-21600,"gmtOffsetName":"UTC-06:00","abbreviation":"CST","tzName":"Central Standard Time (North America"},{"zoneName":"America/Phoenix","gmtOffset":-25200,"gmtOffsetName":"UTC-07:00","abbreviation":"MST","tzName":"Mountain Standard Time (North America"},{"zoneName":"America/Sitka","gmtOffset":-32400,"gmtOffsetName":"UTC-09:00","abbreviation":"AKST","tzName":"Alaska Standard Time"},{"zoneName":"America/Yakutat","gmtOffset":-32400,"gmtOffsetName":"UTC-09:00","abbreviation":"AKST","tzName":"Alaska Standard Time"},{"zoneName":"Pacific/Honolulu","gmtOffset":-36000,"gmtOffsetName":"UTC-10:00","abbreviation":"HST","tzName":"Hawaiiโ€“Aleutian Standard Time"}]}
                                                                                                                                                                                                                    
                                                                                                    

Country Information by country code - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2205/country+data+lookup+api/2048/country+information+by+country+code?countrycode=us' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint responds with the names and codes of all states or provinces belonging to the country specified by the "countrycode" query parameter.



                                                                            
GET https://zylalabs.com/api/2205/country+data+lookup+api/2085/states+by+country+code
                                                                            
                                                                        

States By Country Code - Endpoint Features
Object Description
countrycode [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"name":"Alabama","isoCode":"AL","countryCode":"US","latitude":"32.31823140","longitude":"-86.90229800"},{"name":"Alaska","isoCode":"AK","countryCode":"US","latitude":"64.20084130","longitude":"-149.49367330"},{"name":"American Samoa","isoCode":"AS","countryCode":"US","latitude":"-14.27097200","longitude":"-170.13221700"},{"name":"Arizona","isoCode":"AZ","countryCode":"US","latitude":"34.04892810","longitude":"-111.09373110"},{"name":"Arkansas","isoCode":"AR","countryCode":"US","latitude":"35.20105000","longitude":"-91.83183340"},{"name":"Baker Island","isoCode":"UM-81","countryCode":"US","latitude":"0.19362660","longitude":"-176.47690800"},{"name":"California","isoCode":"CA","countryCode":"US","latitude":"36.77826100","longitude":"-119.41793240"},{"name":"Colorado","isoCode":"CO","countryCode":"US","latitude":"39.55005070","longitude":"-105.78206740"},{"name":"Connecticut","isoCode":"CT","countryCode":"US","latitude":"41.60322070","longitude":"-73.08774900"},{"name":"Delaware","isoCode":"DE","countryCode":"US","latitude":"38.91083250","longitude":"-75.52766990"},{"name":"District of Columbia","isoCode":"DC","countryCode":"US","latitude":"38.90719230","longitude":"-77.03687070"},{"name":"Florida","isoCode":"FL","countryCode":"US","latitude":"27.66482740","longitude":"-81.51575350"},{"name":"Georgia","isoCode":"GA","countryCode":"US","latitude":"32.16562210","longitude":"-82.90007510"},{"name":"Guam","isoCode":"GU","countryCode":"US","latitude":"13.44430400","longitude":"144.79373100"},{"name":"Hawaii","isoCode":"HI","countryCode":"US","latitude":"19.89676620","longitude":"-155.58278180"},{"name":"Howland Island","isoCode":"UM-84","countryCode":"US","latitude":"0.81132190","longitude":"-176.61827360"},{"name":"Idaho","isoCode":"ID","countryCode":"US","latitude":"44.06820190","longitude":"-114.74204080"},{"name":"Illinois","isoCode":"IL","countryCode":"US","latitude":"40.63312490","longitude":"-89.39852830"},{"name":"Indiana","isoCode":"IN","countryCode":"US","latitude":"40.26719410","longitude":"-86.13490190"},{"name":"Iowa","isoCode":"IA","countryCode":"US","latitude":"41.87800250","longitude":"-93.09770200"},{"name":"Jarvis Island","isoCode":"UM-86","countryCode":"US","latitude":"-0.37435030","longitude":"-159.99672060"},{"name":"Johnston Atoll","isoCode":"UM-67","countryCode":"US","latitude":"16.72950350","longitude":"-169.53364770"},{"name":"Kansas","isoCode":"KS","countryCode":"US","latitude":"39.01190200","longitude":"-98.48424650"},{"name":"Kentucky","isoCode":"KY","countryCode":"US","latitude":"37.83933320","longitude":"-84.27001790"},{"name":"Kingman Reef","isoCode":"UM-89","countryCode":"US","latitude":"6.38333300","longitude":"-162.41666700"},{"name":"Louisiana","isoCode":"LA","countryCode":"US","latitude":"30.98429770","longitude":"-91.96233270"},{"name":"Maine","isoCode":"ME","countryCode":"US","latitude":"45.25378300","longitude":"-69.44546890"},{"name":"Maryland","isoCode":"MD","countryCode":"US","latitude":"39.04575490","longitude":"-76.64127120"},{"name":"Massachusetts","isoCode":"MA","countryCode":"US","latitude":"42.40721070","longitude":"-71.38243740"},{"name":"Michigan","isoCode":"MI","countryCode":"US","latitude":"44.31484430","longitude":"-85.60236430"},{"name":"Midway Atoll","isoCode":"UM-71","countryCode":"US","latitude":"28.20721680","longitude":"-177.37349260"},{"name":"Minnesota","isoCode":"MN","countryCode":"US","latitude":"46.72955300","longitude":"-94.68589980"},{"name":"Mississippi","isoCode":"MS","countryCode":"US","latitude":"32.35466790","longitude":"-89.39852830"},{"name":"Missouri","isoCode":"MO","countryCode":"US","latitude":"37.96425290","longitude":"-91.83183340"},{"name":"Montana","isoCode":"MT","countryCode":"US","latitude":"46.87968220","longitude":"-110.36256580"},{"name":"Navassa Island","isoCode":"UM-76","countryCode":"US","latitude":"18.41006890","longitude":"-75.01146120"},{"name":"Nebraska","isoCode":"NE","countryCode":"US","latitude":"41.49253740","longitude":"-99.90181310"},{"name":"Nevada","isoCode":"NV","countryCode":"US","latitude":"38.80260970","longitude":"-116.41938900"},{"name":"New Hampshire","isoCode":"NH","countryCode":"US","latitude":"43.19385160","longitude":"-71.57239530"},{"name":"New Jersey","isoCode":"NJ","countryCode":"US","latitude":"40.05832380","longitude":"-74.40566120"},{"name":"New Mexico","isoCode":"NM","countryCode":"US","latitude":"34.51994020","longitude":"-105.87009010"},{"name":"New York","isoCode":"NY","countryCode":"US","latitude":"40.71277530","longitude":"-74.00597280"},{"name":"North Carolina","isoCode":"NC","countryCode":"US","latitude":"35.75957310","longitude":"-79.01929970"},{"name":"North Dakota","isoCode":"ND","countryCode":"US","latitude":"47.55149260","longitude":"-101.00201190"},{"name":"Northern Mariana Islands","isoCode":"MP","countryCode":"US","latitude":"15.09790000","longitude":"145.67390000"},{"name":"Ohio","isoCode":"OH","countryCode":"US","latitude":"40.41728710","longitude":"-82.90712300"},{"name":"Oklahoma","isoCode":"OK","countryCode":"US","latitude":"35.46756020","longitude":"-97.51642760"},{"name":"Oregon","isoCode":"OR","countryCode":"US","latitude":"43.80413340","longitude":"-120.55420120"},{"name":"Palmyra Atoll","isoCode":"UM-95","countryCode":"US","latitude":"5.88850260","longitude":"-162.07866560"},{"name":"Pennsylvania","isoCode":"PA","countryCode":"US","latitude":"41.20332160","longitude":"-77.19452470"},{"name":"Puerto Rico","isoCode":"PR","countryCode":"US","latitude":"18.22083300","longitude":"-66.59014900"},{"name":"Rhode Island","isoCode":"RI","countryCode":"US","latitude":"41.58009450","longitude":"-71.47742910"},{"name":"South Carolina","isoCode":"SC","countryCode":"US","latitude":"33.83608100","longitude":"-81.16372450"},{"name":"South Dakota","isoCode":"SD","countryCode":"US","latitude":"43.96951480","longitude":"-99.90181310"},{"name":"Tennessee","isoCode":"TN","countryCode":"US","latitude":"35.51749130","longitude":"-86.58044730"},{"name":"Texas","isoCode":"TX","countryCode":"US","latitude":"31.96859880","longitude":"-99.90181310"},{"name":"United States Minor Outlying Islands","isoCode":"UM","countryCode":"US","latitude":"19.28231920","longitude":"166.64704700"},{"name":"United States Virgin Islands","isoCode":"VI","countryCode":"US","latitude":"18.33576500","longitude":"-64.89633500"},{"name":"Utah","isoCode":"UT","countryCode":"US","latitude":"39.32098010","longitude":"-111.09373110"},{"name":"Vermont","isoCode":"VT","countryCode":"US","latitude":"44.55880280","longitude":"-72.57784150"},{"name":"Virginia","isoCode":"VA","countryCode":"US","latitude":"37.43157340","longitude":"-78.65689420"},{"name":"Wake Island","isoCode":"UM-79","countryCode":"US","latitude":"19.27961900","longitude":"166.64993480"},{"name":"Washington","isoCode":"WA","countryCode":"US","latitude":"47.75107410","longitude":"-120.74013850"},{"name":"West Virginia","isoCode":"WV","countryCode":"US","latitude":"38.59762620","longitude":"-80.45490260"},{"name":"Wisconsin","isoCode":"WI","countryCode":"US","latitude":"43.78443970","longitude":"-88.78786780"},{"name":"Wyoming","isoCode":"WY","countryCode":"US","latitude":"43.07596780","longitude":"-107.29028390"}]
                                                                                                                                                                                                                    
                                                                                                    

States By Country Code - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2205/country+data+lookup+api/2085/states+by+country+code?countrycode=us' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint, all you have to do is enter a country code and a state code in the parameters.



                                                                            
GET https://zylalabs.com/api/2205/country+data+lookup+api/2086/cities+by+country+and+state
                                                                            
                                                                        

Cities by Country and State - Endpoint Features
Object Description
countrycode [Required]
statecode [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"name":"Aberdeen","countryCode":"US","stateCode":"FL","latitude":"26.55063000","longitude":"-80.14866000"},{"name":"Alachua","countryCode":"US","stateCode":"FL","latitude":"29.75163000","longitude":"-82.42483000"},{"name":"Alachua County","countryCode":"US","stateCode":"FL","latitude":"29.67476000","longitude":"-82.35770000"},{"name":"Alafaya","countryCode":"US","stateCode":"FL","latitude":"28.56410000","longitude":"-81.21140000"},{"name":"Allapattah","countryCode":"US","stateCode":"FL","latitude":"25.81454000","longitude":"-80.22394000"},{"name":"Altamonte Springs","countryCode":"US","stateCode":"FL","latitude":"28.66111000","longitude":"-81.36562000"},{"name":"Alturas","countryCode":"US","stateCode":"FL","latitude":"27.87169000","longitude":"-81.71508000"},{"name":"Alva","countryCode":"US","stateCode":"FL","latitude":"26.71562000","longitude":"-81.61008000"},{"name":"Andover","countryCode":"US","stateCode":"FL","latitude":"25.96843000","longitude":"-80.21283000"},{"name":"Anna Maria","countryCode":"US","stateCode":"FL","latitude":"27.53115000","longitude":"-82.73343000"},{"name":"Apalachicola","countryCode":"US","stateCode":"FL","latitude":"29.72600000","longitude":"-84.98560000"},{"name":"Apollo Beach","countryCode":"US","stateCode":"FL","latitude":"27.77308000","longitude":"-82.40759000"},{"name":"Apopka","countryCode":"US","stateCode":"FL","latitude":"28.67617000","longitude":"-81.51186000"},{"name":"Arcadia","countryCode":"US","stateCode":"FL","latitude":"27.21588000","longitude":"-81.85842000"},{"name":"Archer","countryCode":"US","stateCode":"FL","latitude":"29.52997000","longitude":"-82.51900000"},{"name":"Asbury Lake","countryCode":"US","stateCode":"FL","latitude":"30.04913000","longitude":"-81.82149000"},{"name":"Astatula","countryCode":"US","stateCode":"FL","latitude":"28.70972000","longitude":"-81.73285000"},{"name":"Astor","countryCode":"US","stateCode":"FL","latitude":"29.16248000","longitude":"-81.52535000"},{"name":"Atlantic Beach","countryCode":"US","stateCode":"FL","latitude":"30.33441000","longitude":"-81.39870000"},{"name":"Atlantis","countryCode":"US","stateCode":"FL","latitude":"26.59090000","longitude":"-80.10088000"},{"name":"Auburndale","countryCode":"US","stateCode":"FL","latitude":"28.06530000","longitude":"-81.78869000"},{"name":"Aventura","countryCode":"US","stateCode":"FL","latitude":"25.95648000","longitude":"-80.13921000"},{"name":"Avon Park","countryCode":"US","stateCode":"FL","latitude":"27.59587000","longitude":"-81.50619000"},{"name":"Azalea Park","countryCode":"US","stateCode":"FL","latitude":"28.54111000","longitude":"-81.30062000"},{"name":"Babson Park","countryCode":"US","stateCode":"FL","latitude":"27.83197000","longitude":"-81.52230000"},{"name":"Bagdad","countryCode":"US","stateCode":"FL","latitude":"30.59880000","longitude":"-87.03223000"},{"name":"Baker County","countryCode":"US","stateCode":"FL","latitude":"30.33107000","longitude":"-82.28459000"},{"name":"Bal Harbour","countryCode":"US","stateCode":"FL","latitude":"25.89176000","longitude":"-80.12699000"},{"name":"Baldwin","countryCode":"US","stateCode":"FL","latitude":"30.30274000","longitude":"-81.97539000"},{"name":"Balm","countryCode":"US","stateCode":"FL","latitude":"27.75947000","longitude":"-82.26120000"},{"name":"Bartow","countryCode":"US","stateCode":"FL","latitude":"27.89641000","longitude":"-81.84314000"},{"name":"Bay County","countryCode":"US","stateCode":"FL","latitude":"30.23765000","longitude":"-85.63262000"},{"name":"Bay Harbor Islands","countryCode":"US","stateCode":"FL","latitude":"25.88759000","longitude":"-80.13116000"},{"name":"Bay Hill","countryCode":"US","stateCode":"FL","latitude":"28.46806000","longitude":"-81.51618000"},{"name":"Bay Pines","countryCode":"US","stateCode":"FL","latitude":"27.81419000","longitude":"-82.77816000"},{"name":"Bayonet Point","countryCode":"US","stateCode":"FL","latitude":"28.32667000","longitude":"-82.68343000"},{"name":"Bayshore Gardens","countryCode":"US","stateCode":"FL","latitude":"27.42532000","longitude":"-82.59038000"},{"name":"Beacon Square","countryCode":"US","stateCode":"FL","latitude":"28.20862000","longitude":"-82.75538000"},{"name":"Bee Ridge","countryCode":"US","stateCode":"FL","latitude":"27.28394000","longitude":"-82.48065000"},{"name":"Bellair-Meadowbrook Terrace","countryCode":"US","stateCode":"FL","latitude":"30.17881000","longitude":"-81.74341000"},{"name":"Belle Glade","countryCode":"US","stateCode":"FL","latitude":"26.68451000","longitude":"-80.66756000"},{"name":"Belle Glade Camp","countryCode":"US","stateCode":"FL","latitude":"26.65757000","longitude":"-80.68284000"},{"name":"Belle Isle","countryCode":"US","stateCode":"FL","latitude":"28.45834000","longitude":"-81.35924000"},{"name":"Belleair","countryCode":"US","stateCode":"FL","latitude":"27.93585000","longitude":"-82.80621000"},{"name":"Belleair Beach","countryCode":"US","stateCode":"FL","latitude":"27.92308000","longitude":"-82.84316000"},{"name":"Belleair Bluffs","countryCode":"US","stateCode":"FL","latitude":"27.92141000","longitude":"-82.81705000"},{"name":"Belleview","countryCode":"US","stateCode":"FL","latitude":"29.05526000","longitude":"-82.06231000"},{"name":"Bellview","countryCode":"US","stateCode":"FL","latitude":"30.46159000","longitude":"-87.31497000"},{"name":"Beverly Hills","countryCode":"US","stateCode":"FL","latitude":"28.91692000","longitude":"-82.45815000"},{"name":"Big Coppitt Key","countryCode":"US","stateCode":"FL","latitude":"24.59653000","longitude":"-81.66009000"},{"name":"Big Pine Key","countryCode":"US","stateCode":"FL","latitude":"24.66987000","longitude":"-81.35397000"},{"name":"Biscayne Park","countryCode":"US","stateCode":"FL","latitude":"25.88260000","longitude":"-80.18060000"},{"name":"Bithlo","countryCode":"US","stateCode":"FL","latitude":"28.55472000","longitude":"-81.10645000"},{"name":"Black Diamond","countryCode":"US","stateCode":"FL","latitude":"28.91248000","longitude":"-82.48593000"},{"name":"Bloomingdale","countryCode":"US","stateCode":"FL","latitude":"27.89364000","longitude":"-82.24037000"},{"name":"Blountstown","countryCode":"US","stateCode":"FL","latitude":"30.44379000","longitude":"-85.04744000"},{"name":"Boca Del Mar","countryCode":"US","stateCode":"FL","latitude":"26.34508000","longitude":"-80.14671000"},{"name":"Boca Pointe","countryCode":"US","stateCode":"FL","latitude":"26.33313000","longitude":"-80.15949000"},{"name":"Boca Raton","countryCode":"US","stateCode":"FL","latitude":"26.35869000","longitude":"-80.08310000"},{"name":"Bokeelia","countryCode":"US","stateCode":"FL","latitude":"26.70563000","longitude":"-82.15898000"},{"name":"Bonifay","countryCode":"US","stateCode":"FL","latitude":"30.79186000","longitude":"-85.67965000"},{"name":"Bonita Springs","countryCode":"US","stateCode":"FL","latitude":"26.33981000","longitude":"-81.77870000"},{"name":"Boulevard Gardens","countryCode":"US","stateCode":"FL","latitude":"26.12326000","longitude":"-80.17997000"},{"name":"Bowling Green","countryCode":"US","stateCode":"FL","latitude":"27.63837000","longitude":"-81.82397000"},{"name":"Boyette","countryCode":"US","stateCode":"FL","latitude":"27.81753000","longitude":"-82.22259000"},{"name":"Boynton Beach","countryCode":"US","stateCode":"FL","latitude":"26.52535000","longitude":"-80.06643000"},{"name":"Bradenton","countryCode":"US","stateCode":"FL","latitude":"27.49893000","longitude":"-82.57482000"},{"name":"Bradenton Beach","countryCode":"US","stateCode":"FL","latitude":"27.46698000","longitude":"-82.70399000"},{"name":"Bradford County","countryCode":"US","stateCode":"FL","latitude":"29.94996000","longitude":"-82.16878000"},{"name":"Brandon","countryCode":"US","stateCode":"FL","latitude":"27.93780000","longitude":"-82.28592000"},{"name":"Brent","countryCode":"US","stateCode":"FL","latitude":"30.46881000","longitude":"-87.23608000"},{"name":"Brevard County","countryCode":"US","stateCode":"FL","latitude":"28.30031000","longitude":"-80.70121000"},{"name":"Bristol","countryCode":"US","stateCode":"FL","latitude":"30.43247000","longitude":"-84.97702000"},{"name":"Broadview Park","countryCode":"US","stateCode":"FL","latitude":"26.09953000","longitude":"-80.20866000"},{"name":"Bronson","countryCode":"US","stateCode":"FL","latitude":"29.44774000","longitude":"-82.64233000"},{"name":"Brookridge","countryCode":"US","stateCode":"FL","latitude":"28.55110000","longitude":"-82.49204000"},{"name":"Brooksville","countryCode":"US","stateCode":"FL","latitude":"28.55554000","longitude":"-82.38991000"},{"name":"Broward County","countryCode":"US","stateCode":"FL","latitude":"26.15186000","longitude":"-80.45589000"},{"name":"Broward Estates","countryCode":"US","stateCode":"FL","latitude":"26.12564000","longitude":"-80.19338000"},{"name":"Brownsville","countryCode":"US","stateCode":"FL","latitude":"25.82176000","longitude":"-80.24116000"},{"name":"Buckhead Ridge","countryCode":"US","stateCode":"FL","latitude":"27.13033000","longitude":"-80.89367000"},{"name":"Buckingham","countryCode":"US","stateCode":"FL","latitude":"26.67507000","longitude":"-81.73203000"},{"name":"Buenaventura Lakes","countryCode":"US","stateCode":"FL","latitude":"28.33584000","longitude":"-81.35313000"},{"name":"Bunche Park","countryCode":"US","stateCode":"FL","latitude":"25.92065000","longitude":"-80.23699000"},{"name":"Bunnell","countryCode":"US","stateCode":"FL","latitude":"29.46609000","longitude":"-81.25784000"},{"name":"Burnt Store Marina","countryCode":"US","stateCode":"FL","latitude":"26.76507000","longitude":"-82.05092000"},{"name":"Bushnell","countryCode":"US","stateCode":"FL","latitude":"28.66499000","longitude":"-82.11286000"},{"name":"Butler Beach","countryCode":"US","stateCode":"FL","latitude":"29.79830000","longitude":"-81.26701000"},{"name":"Calhoun County","countryCode":"US","stateCode":"FL","latitude":"30.40603000","longitude":"-85.19721000"},{"name":"Callahan","countryCode":"US","stateCode":"FL","latitude":"30.56218000","longitude":"-81.83066000"},{"name":"Callaway","countryCo...
                                                                                                                                                                                                                    
                                                                                                    

Cities by Country and State - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2205/country+data+lookup+api/2086/cities+by+country+and+state?countrycode=us&statecode=fl' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint, all you have to do is enter a country code in the parameter.



                                                                            
GET https://zylalabs.com/api/2205/country+data+lookup+api/2087/city+by+country+code
                                                                            
                                                                        

City by country code - Endpoint Features
Object Description
countrycode [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"name":"Abbeville","countryCode":"US","stateCode":"AL","latitude":"31.57184000","longitude":"-85.25049000"},{"name":"Abbeville","countryCode":"US","stateCode":"GA","latitude":"31.99212000","longitude":"-83.30682000"},{"name":"Abbeville","countryCode":"US","stateCode":"LA","latitude":"29.97465000","longitude":"-92.13429000"},{"name":"Abbeville","countryCode":"US","stateCode":"SC","latitude":"34.17817000","longitude":"-82.37901000"},{"name":"Abbeville County","countryCode":"US","stateCode":"SC","latitude":"34.22257000","longitude":"-82.45871000"},{"name":"Abbotsford","countryCode":"US","stateCode":"WI","latitude":"44.94636000","longitude":"-90.31597000"},{"name":"Abbottstown","countryCode":"US","stateCode":"PA","latitude":"39.88649000","longitude":"-76.98470000"},{"name":"Aberdeen","countryCode":"US","stateCode":"FL","latitude":"26.55063000","longitude":"-80.14866000"},{"name":"Aberdeen","countryCode":"US","stateCode":"ID","latitude":"42.94408000","longitude":"-112.83833000"},{"name":"Aberdeen","countryCode":"US","stateCode":"IN","latitude":"41.43893000","longitude":"-87.11142000"},{"name":"Aberdeen","countryCode":"US","stateCode":"MD","latitude":"39.50956000","longitude":"-76.16412000"},{"name":"Aberdeen","countryCode":"US","stateCode":"MS","latitude":"33.82511000","longitude":"-88.54366000"},{"name":"Aberdeen","countryCode":"US","stateCode":"NC","latitude":"35.13155000","longitude":"-79.42948000"},{"name":"Aberdeen","countryCode":"US","stateCode":"SD","latitude":"45.46470000","longitude":"-98.48648000"},{"name":"Aberdeen","countryCode":"US","stateCode":"WA","latitude":"46.97537000","longitude":"-123.81572000"},{"name":"Aberdeen Proving Ground","countryCode":"US","stateCode":"MD","latitude":"39.46686000","longitude":"-76.13066000"},{"name":"Abernathy","countryCode":"US","stateCode":"TX","latitude":"33.83230000","longitude":"-101.84295000"},{"name":"Abilene","countryCode":"US","stateCode":"KS","latitude":"38.91722000","longitude":"-97.21391000"},{"name":"Abilene","countryCode":"US","stateCode":"TX","latitude":"32.44874000","longitude":"-99.73314000"},{"name":"Abingdon","countryCode":"US","stateCode":"IL","latitude":"40.80448000","longitude":"-90.40180000"},{"name":"Abingdon","countryCode":"US","stateCode":"VA","latitude":"36.70983000","longitude":"-81.97735000"},{"name":"Abington","countryCode":"US","stateCode":"MA","latitude":"42.10482000","longitude":"-70.94532000"},{"name":"Abita Springs","countryCode":"US","stateCode":"LA","latitude":"30.47864000","longitude":"-90.04008000"},{"name":"Abram","countryCode":"US","stateCode":"TX","latitude":"26.19980000","longitude":"-98.41113000"},{"name":"Absarokee","countryCode":"US","stateCode":"MT","latitude":"45.52050000","longitude":"-109.44294000"},{"name":"Absecon","countryCode":"US","stateCode":"NJ","latitude":"39.42845000","longitude":"-74.49571000"},{"name":"Acadia Parish","countryCode":"US","stateCode":"LA","latitude":"30.29053000","longitude":"-92.41198000"},{"name":"Acalanes Ridge","countryCode":"US","stateCode":"CA","latitude":"37.90472000","longitude":"-122.07857000"},{"name":"Accokeek","countryCode":"US","stateCode":"MD","latitude":"38.66762000","longitude":"-77.02831000"},{"name":"Accomac","countryCode":"US","stateCode":"VA","latitude":"37.71957000","longitude":"-75.66548000"},{"name":"Accomack County","countryCode":"US","stateCode":"VA","latitude":"37.76494000","longitude":"-75.75656000"},{"name":"Ackerman","countryCode":"US","stateCode":"MS","latitude":"33.31012000","longitude":"-89.17284000"},{"name":"Ackley","countryCode":"US","stateCode":"IA","latitude":"42.55415000","longitude":"-93.05326000"},{"name":"Acres Green","countryCode":"US","stateCode":"CO","latitude":"39.55666000","longitude":"-104.89609000"},{"name":"Acton","countryCode":"US","stateCode":"CA","latitude":"34.46999000","longitude":"-118.19674000"},{"name":"Acton","countryCode":"US","stateCode":"MA","latitude":"42.48509000","longitude":"-71.43284000"},{"name":"Acton","countryCode":"US","stateCode":"ME","latitude":"43.53425000","longitude":"-70.90978000"},{"name":"Acushnet","countryCode":"US","stateCode":"MA","latitude":"41.68066000","longitude":"-70.90782000"},{"name":"Acushnet Center","countryCode":"US","stateCode":"MA","latitude":"41.68508000","longitude":"-70.90642000"},{"name":"Acworth","countryCode":"US","stateCode":"GA","latitude":"34.06635000","longitude":"-84.67837000"},{"name":"Ada","countryCode":"US","stateCode":"MN","latitude":"47.29969000","longitude":"-96.51535000"},{"name":"Ada","countryCode":"US","stateCode":"OH","latitude":"40.76950000","longitude":"-83.82271000"},{"name":"Ada","countryCode":"US","stateCode":"OK","latitude":"34.77453000","longitude":"-96.67834000"},{"name":"Ada County","countryCode":"US","stateCode":"ID","latitude":"43.45112000","longitude":"-116.24109000"},{"name":"Adair County","countryCode":"US","stateCode":"IA","latitude":"41.33075000","longitude":"-94.47094000"},{"name":"Adair County","countryCode":"US","stateCode":"KY","latitude":"37.10416000","longitude":"-85.28065000"},{"name":"Adair County","countryCode":"US","stateCode":"MO","latitude":"40.19056000","longitude":"-92.60072000"},{"name":"Adair County","countryCode":"US","stateCode":"OK","latitude":"35.88393000","longitude":"-94.65868000"},{"name":"Adairsville","countryCode":"US","stateCode":"GA","latitude":"34.36870000","longitude":"-84.93411000"},{"name":"Adams","countryCode":"US","stateCode":"MA","latitude":"42.62425000","longitude":"-73.11760000"},{"name":"Adams","countryCode":"US","stateCode":"NY","latitude":"43.80923000","longitude":"-76.02409000"},{"name":"Adams","countryCode":"US","stateCode":"WI","latitude":"43.95608000","longitude":"-89.81818000"},{"name":"Adams Center","countryCode":"US","stateCode":"NY","latitude":"43.86006000","longitude":"-76.00548000"},{"name":"Adams County","countryCode":"US","stateCode":"CO","latitude":"39.87363000","longitude":"-104.33791000"},{"name":"Adams County","countryCode":"US","stateCode":"IA","latitude":"41.02898000","longitude":"-94.69918000"},{"name":"Adams County","countryCode":"US","stateCode":"ID","latitude":"44.88965000","longitude":"-116.45387000"},{"name":"Adams County","countryCode":"US","stateCode":"IL","latitude":"39.98789000","longitude":"-91.18849000"},{"name":"Adams County","countryCode":"US","stateCode":"IN","latitude":"40.74566000","longitude":"-84.93665000"},{"name":"Adams County","countryCode":"US","stateCode":"MS","latitude":"31.48294000","longitude":"-91.35350000"},{"name":"Adams County","countryCode":"US","stateCode":"ND","latitude":"46.09684000","longitude":"-102.52853000"},{"name":"Adams County","countryCode":"US","stateCode":"NE","latitude":"40.52447000","longitude":"-98.50121000"},{"name":"Adams County","countryCode":"US","stateCode":"OH","latitude":"38.84551000","longitude":"-83.47215000"},{"name":"Adams County","countryCode":"US","stateCode":"PA","latitude":"39.87145000","longitude":"-77.21789000"},{"name":"Adams County","countryCode":"US","stateCode":"WA","latitude":"46.98338000","longitude":"-118.56050000"},{"name":"Adams County","countryCode":"US","stateCode":"WI","latitude":"43.96963000","longitude":"-89.77064000"},{"name":"Adams Morgan","countryCode":"US","stateCode":"DC","latitude":"38.92150000","longitude":"-77.04220000"},{"name":"Adamstown","countryCode":"US","stateCode":"MD","latitude":"39.31094000","longitude":"-77.47471000"},{"name":"Adamstown","countryCode":"US","stateCode":"PA","latitude":"40.24120000","longitude":"-76.05633000"},{"name":"Adamsville","countryCode":"US","stateCode":"AL","latitude":"33.60094000","longitude":"-86.95611000"},{"name":"Adamsville","countryCode":"US","stateCode":"TN","latitude":"35.23591000","longitude":"-88.39060000"},{"name":"Addis","countryCode":"US","stateCode":"LA","latitude":"30.35380000","longitude":"-91.26539000"},{"name":"Addison","countryCode":"US","stateCode":"IL","latitude":"41.93170000","longitude":"-87.98896000"},{"name":"Addison","countryCode":"US","stateCode":"ME","latitude":"44.61841000","longitude":"-67.74416000"},{"name":"Addison","countryCode":"US","stateCode":"NY","latitude":"42.10285000","longitude":"-77.23359000"},{"name":"Addison","countryCode":"US","stateCode":"TX","latitude":"32.96179000","longitude":"-96.82917000"},{"name":"Addison","countryCode":"US","stateCode":"VT","latitude":"44.08867000","longitude":"-73.30262000"},{"name":"Addison","countryCode":"US","stateCode":"WI","latitude":"43.42278000","longitude":"-88.37454000"},{"name":"Addison County","countryCode":"US","stateCode":"VT","latitude":"44.03091000","longitude":"-73.14094000"},{"name":"Adel","countryCode":"US","stateCode":"GA","latitude":"31.13727000","longitude":"-83.42408000"},{"name":"Adel","countryCode":"US","stateCode":"IA","latitude":"41.61443000","longitude":"-94.01745000"},{"name":"Adelanto","countryCode":"US","stateCode":"CA","latitude":"34.58277000","longitude":"-117.40922000"},{"name":"Adelphi","countryCode":"US","stateCode":"MD","latitude":"39.00317000","longitude":"-76.97192000"},{"name":"Adjuntas","countryCode":"US","stateCode":"PR","latitude":"18.16277778","longitude":"-66.72222222"},{"name":"Adrian","countryCode":"US","stateCode":"MI","latitude":"41.89755000","longitude":"-84.03717000"},{"name":"Adrian","countryCode":"US","stateCode":"MN","latitude":"43.63497000","longitude":"-95.93280000"},{"name":"Adrian","countryCode":"US","stateCode":"MO","latitude":"38.39752000","longitude":"-94.35162000"},{"name":"Advance","countryCode":"US","stateCode":"MO","latitude":"37.10455000","longitude":"-89.90953000"},{"name":"Advance","countryCode":"US","stateCode":"NC","latitude":"35.94125000","longitude":"-80.40922000"},{"name":"Adwolf","countryCode":"US","stateCode":"VA","latitude":"36.78928000","longitude":"-81.58206000"},{"name":"Affton","countryCode":"US","stateCode":"MO","latitude":"38.55061000","longitude":"-90.33317000"},{"name":"Afton","countryCode":"US","stateCode":"MN","latitude":"44.90275000","longitude":"-92.78354000"},{"name":"Afton","countryCode":"US","stateCode":"OK","latitude":"36.69369000","...
                                                                                                                                                                                                                    
                                                                                                    

City by country code - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2205/country+data+lookup+api/2087/city+by+country+code?countrycode=us' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Country Data Lookup API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

๐Ÿš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • โœ”๏ธŽ Only Pay for Successful Requests
  • โœ”๏ธŽ Free 7-Day Trial
  • โœ”๏ธŽ Multi-Language Support
  • โœ”๏ธŽ One API Key, All APIs.
  • โœ”๏ธŽ Intuitive Dashboard
  • โœ”๏ธŽ Comprehensive Error Handling
  • โœ”๏ธŽ Developer-Friendly Docs
  • โœ”๏ธŽ Postman Integration
  • โœ”๏ธŽ Secure HTTPS Connections
  • โœ”๏ธŽ Reliable Uptime

The API may impose limits to ensure fair use and prevent abuse. Please refer to the API plans for specific details on limitations.

Yes, the API is designed for easy integration and typically supports various programming languages and protocols, such as SDK.

Yes, the API can be used for personal or non-commercial projects.

The API supports filtering options to retrieve countries based on criteria such as country code or state code by endpoint.

This API is a data service that provides information about countries, states and cities. It provides several endpoints to retrieve country related data, country, state, city specific data.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldโ€™s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected โ€” plus overage fees applied when a developer exceeds a planโ€™s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
216ms

Category:


Tags:


Related APIs