In our fast-paced, interconnected world, countries and cities are the epicenters of innovation, culture and human activity. Understanding the dynamics of these urban landscapes has never been more crucial. The Country and City Information API is a powerful resource that links a vast trove of data on cities around the world. This article delves into the multifaceted world of the Country and City Insights API, exploring its significance, its applications, and the valuable insights it offers.
Country and City Insights API opens the door to a world of urban information. It is a versatile and invaluable tool that allows individuals and organizations to unravel the complex web of cities around the world. By providing access to a wide range of data, this API transforms the way we interact with countries and cities. It catalyzes informed decision-making, drives innovation and fosters a deeper appreciation of the intricate systems that underpin urban life. With the Country and City Insights API, the essence of cities is more accessible than ever, inviting us to explore and analyze different aspects.
In today's interconnected world, access to comprehensive data about countries and cities is invaluable for a wide range of applications, from travel planning and business expansion to academic research and urban development. The Country and City Insights API offers a gateway to a wealth of information, providing users with detailed insights into countries and cities worldwide. One of the standout features of this API is its user-friendly and straightforward integration process.
It will receive parameters and provide you with a JSON.
Demographic data: Access city data on population numbers for studies and research.
Business expansion: Analyze demographics and market trends to make informed decisions about opening new branches or entering new markets.
Academic research: Researchers can use demographic and geographic data for studies on urbanization and society.
Local business information: Support local businesses by providing competitive information, reviews, and location data.
Geographic data: Obtain information on iso codes for different analyses and studies.
Basic Plan: 1,500 API Calls. 50 requests per day and 10 requests per second.
Pro Plan: 6,000 API Calls. 200 requests per day and 10 requests per second.
Pro Plus Plan: 24,000 API Calls. 800 requests per day and 10 requests per second.
To use this endpoint just run it and you will get all available countries.
[{"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"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/2653/country+and+city+insights+api/5254/countries+available' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate a country code in the parameter.
Country data by code - Endpoint Features
| Object | Description |
|---|---|
countrycode |
[Required] |
{"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"}]}
curl --location --request GET 'https://zylalabs.com/api/2653/country+and+city+insights+api/5255/country+data+by+code?countrycode=us' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate a country code in the parameter.
States by country code - Endpoint Features
| Object | Description |
|---|---|
countrycode |
[Required] |
[{"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"}]
curl --location --request GET 'https://zylalabs.com/api/2653/country+and+city+insights+api/5256/states+by+country+code?countrycode=us' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate a country code and a state code in the parameter.
Cities by country code - Endpoint Features
| Object | Description |
|---|---|
countrycode |
[Required] |
statecode |
[Required] |
[{"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"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/2653/country+and+city+insights+api/5257/cities+by+country+code?countrycode=us&statecode=fl' --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 you must indicate the name of a city, country or ISO code.
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.
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.
The Country and City Insights API is a powerful tool that provides access to a wide range of data about countries and cities worldwide.
Each endpoint returns structured JSON data. For example, the "GET Countries Available" endpoint provides country names, ISO codes, flags, phone codes, currencies, and geographical coordinates.
Key fields include "name," "isoCode," "flag," "phonecode," "currency," "latitude," and "longitude." For time zones, fields like "zoneName," "gmtOffset," and "abbreviation" are included.
Parameters vary by endpoint. For "GET Country data by code," you must provide a country code. For "GET Cities by country code," both country and state codes are required.
The response data is organized in JSON format, typically as an array of objects. Each object contains relevant fields, making it easy to parse and utilize in applications.
The API provides demographic data, geographic details, and local business information. For instance, the "GET States by country code" endpoint lists states with their names and geographical coordinates.
Data accuracy is maintained through regular updates and quality checks. The API sources data from reputable databases and organizations to ensure reliability.
Typical use cases include demographic analysis for research, market analysis for business expansion, and travel planning. Users can leverage the data for informed decision-making.
Users can parse the JSON response to extract specific fields for their applications. For example, they can use latitude and longitude for mapping or demographic data for market analysis.
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:
500ms
Service Level:
100%
Response Time:
1,067ms
Service Level:
100%
Response Time:
223ms
Service Level:
100%
Response Time:
544ms
Service Level:
100%
Response Time:
1,480ms
Service Level:
100%
Response Time:
1,075ms
Service Level:
100%
Response Time:
381ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
479ms
Service Level:
100%
Response Time:
2,557ms