The Global Country Insights API is a powerful resource that provides a wealth of information on countries, cities and states around the world. This comprehensive overview illustrates the importance, applications and potential of this valuable API.
Designed to be accessible, the Global Country Insights API offers seamless access to an extensive database. Obtaining the data from reputable sources ensures its integrity. Tailored for both experienced and novice users, the API facilitates the integration of location data into various projects with ease.
At its core are intricate country details, covering key data such as country codes and language codes. This information is indispensable for users seeking to expand around the world, travelers planning their trips, and educators fostering global awareness in their classrooms. In addition, understanding the geopolitical dynamics of countries is vital for cross-border research and international collaboration.
Cities are vibrant centers of commerce, culture and human interaction. The API provides a rich repository of information on cities around the world. This data is a boon to users targeting specific urban markets, travel enthusiasts planning adventures, and urban planners making informed decisions about infrastructure and urban development.
Our world's linguistic diversity reflects its cultural richness. For applications and services that strive to offer multilingual content and support, the API provides crucial information by revealing the linguistic codes of the official languages spoken in each country. In this way, tailored offerings can be made, fostering inclusiveness and global accessibility.
The Global Country Insights API is emerging as an indispensable asset that provides users, businesses, researchers and educators with a comprehensive set of country-focused data. Its adaptability, easy-to-use interface and broad functionality make it essential for a wide variety of industries. Whether you are expanding your business, planning your next expedition, delving into academic research or simply embarking on a journey of discovery, this API provides you with the data you need to make informed decisions and find innovative solutions. Discover limitless possibilities for your projects and research, explore the global tapestry with the Global Country Insights API.
It will receive parameters and provide you with a JSON.
Web content enhancement: Automatically generate relevant images to complement articles, blog posts and website content, making them more engaging.
Social media posts: Quickly create eye-catching images for social media posts and ads based on keywords and hashtags.
Online learning materials: Enhance educational materials with visuals, making complex concepts more understandable and engaging for learners.
Product catalogs: Generate product images and descriptions for e-commerce websites, streamlining the listing process.
Chatbots and virtual assistants: Enrich chatbot conversations with relevant images to improve user engagement and understanding.
Besides the number of API calls, there is no other limitation.
To use this endpoint just run it and you will get all available countries.
[{"id":1,"countryName":"Afghanistan","countryCode":"AF","languageCode":"af"},{"id":2,"countryName":"Aland Islands","countryCode":"AX","languageCode":"ax"},{"id":3,"countryName":"Albania","countryCode":"AL","languageCode":"al"},{"id":4,"countryName":"Algeria","countryCode":"DZ","languageCode":"dz"},{"id":5,"countryName":"American Samoa","countryCode":"AS","languageCode":"as"},{"id":6,"countryName":"Andorra","countryCode":"AD","languageCode":"ad"},{"id":7,"countryName":"Angola","countryCode":"AO","languageCode":"ao"},{"id":8,"countryName":"Anguilla","countryCode":"AI","languageCode":"ai"},{"id":9,"countryName":"Antarctica","countryCode":"AQ","languageCode":"aq"},{"id":10,"countryName":"Antigua And Barbuda","countryCode":"AG","languageCode":"ag"},{"id":11,"countryName":"Argentina","countryCode":"AR","languageCode":"ar"},{"id":12,"countryName":"Armenia","countryCode":"AM","languageCode":"am"},{"id":13,"countryName":"Aruba","countryCode":"AW","languageCode":"aw"},{"id":14,"countryName":"Australia","countryCode":"AU","languageCode":"au"},{"id":15,"countryName":"Austria","countryCode":"AT","languageCode":"at"},{"id":16,"countryName":"Azerbaijan","countryCode":"AZ","languageCode":"az"},{"id":17,"countryName":"The Bahamas","countryCode":"BS","languageCode":"bs"},{"id":18,"countryName":"Bahrain","countryCode":"BH","languageCode":"bh"},{"id":19,"countryName":"Bangladesh","countryCode":"BD","languageCode":"bd"},{"id":20,"countryName":"Barbados","countryCode":"BB","languageCode":"bb"},{"id":21,"countryName":"Belarus","countryCode":"BY","languageCode":"by"},{"id":22,"countryName":"Belgium","countryCode":"BE","languageCode":"be"},{"id":23,"countryName":"Belize","countryCode":"BZ","languageCode":"bz"},{"id":24,"countryName":"Benin","countryCode":"BJ","languageCode":"bj"},{"id":25,"countryName":"Bermuda","countryCode":"BM","languageCode":"bm"},{"id":26,"countryName":"Bhutan","countryCode":"BT","languageCode":"bt"},{"id":27,"countryName":"Bolivia","countryCode":"BO","languageCode":"bo"},{"id":28,"countryName":"Bosnia and Herzegovina","countryCode":"BA","languageCode":"ba"},{"id":29,"countryName":"Botswana","countryCode":"BW","languageCode":"bw"},{"id":30,"countryName":"Bouvet Island","countryCode":"BV","languageCode":"bv"},{"id":31,"countryName":"Brazil","countryCode":"BR","languageCode":"br"},{"id":32,"countryName":"British Indian Ocean Territory","countryCode":"IO","languageCode":"io"},{"id":33,"countryName":"Brunei","countryCode":"BN","languageCode":"bn"},{"id":34,"countryName":"Bulgaria","countryCode":"BG","languageCode":"bg"},{"id":35,"countryName":"Burkina Faso","countryCode":"BF","languageCode":"bf"},{"id":36,"countryName":"Burundi","countryCode":"BI","languageCode":"bi"},{"id":37,"countryName":"Cambodia","countryCode":"KH","languageCode":"kh"},{"id":38,"countryName":"Cameroon","countryCode":"CM","languageCode":"cm"},{"id":39,"countryName":"Canada","countryCode":"CA","languageCode":"ca"},{"id":40,"countryName":"Cape Verde","countryCode":"CV","languageCode":"cv"},{"id":41,"countryName":"Cayman Islands","countryCode":"KY","languageCode":"ky"},{"id":42,"countryName":"Central African Republic","countryCode":"CF","languageCode":"cf"},{"id":43,"countryName":"Chad","countryCode":"TD","languageCode":"td"},{"id":44,"countryName":"Chile","countryCode":"CL","languageCode":"cl"},{"id":45,"countryName":"China","countryCode":"CN","languageCode":"cn"},{"id":46,"countryName":"Christmas Island","countryCode":"CX","languageCode":"cx"},{"id":47,"countryName":"Cocos (Keeling) Islands","countryCode":"CC","languageCode":"cc"},{"id":48,"countryName":"Colombia","countryCode":"CO","languageCode":"co"},{"id":49,"countryName":"Comoros","countryCode":"KM","languageCode":"km"},{"id":50,"countryName":"Congo","countryCode":"CG","languageCode":"cg"},{"id":51,"countryName":"Democratic Republic of the Congo","countryCode":"CD","languageCode":"cd"},{"id":52,"countryName":"Cook Islands","countryCode":"CK","languageCode":"ck"},{"id":53,"countryName":"Costa Rica","countryCode":"CR","languageCode":"cr"},{"id":54,"countryName":"Cote D\u0027Ivoire (Ivory Coast)","countryCode":"CI","languageCode":"ci"},{"id":55,"countryName":"Croatia","countryCode":"HR","languageCode":"hr"},{"id":56,"countryName":"Cuba","countryCode":"CU","languageCode":"cu"},{"id":57,"countryName":"Cyprus","countryCode":"CY","languageCode":"cy"},{"id":58,"countryName":"Czech Republic","countryCode":"CZ","languageCode":"cz"},{"id":59,"countryName":"Denmark","countryCode":"DK","languageCode":"dk"},{"id":60,"countryName":"Djibouti","countryCode":"DJ","languageCode":"dj"},{"id":61,"countryName":"Dominica","countryCode":"DM","languageCode":"dm"},{"id":62,"countryName":"Dominican Republic","countryCode":"DO","languageCode":"do"},{"id":63,"countryName":"East Timor","countryCode":"TL","languageCode":"tl"},{"id":64,"countryName":"Ecuador","countryCode":"EC","languageCode":"ec"},{"id":65,"countryName":"Egypt","countryCode":"EG","languageCode":"eg"},{"id":66,"countryName":"El Salvador","countryCode":"SV","languageCode":"sv"},{"id":67,"countryName":"Equatorial Guinea","countryCode":"GQ","languageCode":"gq"},{"id":68,"countryName":"Eritrea","countryCode":"ER","languageCode":"er"},{"id":69,"countryName":"Estonia","countryCode":"EE","languageCode":"ee"},{"id":70,"countryName":"Ethiopia","countryCode":"ET","languageCode":"et"},{"id":71,"countryName":"Falkland Islands","countryCode":"FK","languageCode":"fk"},{"id":72,"countryName":"Faroe Islands","countryCode":"FO","languageCode":"fo"},{"id":73,"countryName":"Fiji Islands","countryCode":"FJ","languageCode":"fj"},{"id":74,"countryName":"Finland","countryCode":"FI","languageCode":"fi"},{"id":75,"countryName":"France","countryCode":"FR","languageCode":"fr"},{"id":76,"countryName":"French Guiana","countryCode":"GF","languageCode":"gf"},{"id":77,"countryName":"French Polynesia","countryCode":"PF","languageCode":"pf"},{"id":78,"countryName":"French Southern Territories","countryCode":"TF","languageCode":"tf"},{"id":79,"countryName":"Gabon","countryCode":"GA","languageCode":"ga"},{"id":80,"countryName":"The Gambia ","countryCode":"GM","languageCode":"gm"},{"id":81,"countryName":"Georgia","countryCode":"GE","languageCode":"ge"},{"id":82,"countryName":"Germany","countryCode":"DE","languageCode":"de"},{"id":83,"countryName":"Ghana","countryCode":"GH","languageCode":"gh"},{"id":84,"countryName":"Gibraltar","countryCode":"GI","languageCode":"gi"},{"id":85,"countryName":"Greece","countryCode":"GR","languageCode":"gr"},{"id":86,"countryName":"Greenland","countryCode":"GL","languageCode":"gl"},{"id":87,"countryName":"Grenada","countryCode":"GD","languageCode":"gd"},{"id":88,"countryName":"Guadeloupe","countryCode":"GP","languageCode":"gp"},{"id":89,"countryName":"Guam","countryCode":"GU","languageCode":"gu"},{"id":90,"countryName":"Guatemala","countryCode":"GT","languageCode":"gt"},{"id":91,"countryName":"Guernsey and Alderney","countryCode":"GG","languageCode":"gg"},{"id":92,"countryName":"Guinea","countryCode":"GN","languageCode":"gn"},{"id":93,"countryName":"Guinea-Bissau","countryCode":"GW","languageCode":"gw"},{"id":94,"countryName":"Guyana","countryCode":"GY","languageCode":"gy"},{"id":95,"countryName":"Haiti","countryCode":"HT","languageCode":"ht"},{"id":96,"countryName":"Heard Island and McDonald Islands","countryCode":"HM","languageCode":"hm"},{"id":97,"countryName":"Honduras","countryCode":"HN","languageCode":"hn"},{"id":98,"countryName":"Hong Kong S.A.R.","countryCode":"HK","languageCode":"hk"},{"id":99,"countryName":"Hungary","countryCode":"HU","languageCode":"hu"},{"id":100,"countryName":"Iceland","countryCode":"IS","languageCode":"is"},{"id":101,"countryName":"India","countryCode":"IN","languageCode":"in"},{"id":102,"countryName":"Indonesia","countryCode":"ID","languageCode":"id"},{"id":103,"countryName":"Iran","countryCode":"IR","languageCode":"ir"},{"id":104,"countryName":"Iraq","countryCode":"IQ","languageCode":"iq"},{"id":105,"countryName":"Ireland","countryCode":"IE","languageCode":"ie"},{"id":106,"countryName":"Israel","countryCode":"IL","languageCode":"il"},{"id":107,"countryName":"Italy","countryCode":"IT","languageCode":"it"},{"id":108,"countryName":"Jamaica","countryCode":"JM","languageCode":"jm"},{"id":109,"countryName":"Japan","countryCode":"JP","languageCode":"jp"},{"id":110,"countryName":"Jersey","countryCode":"JE","languageCode":"je"},{"id":111,"countryName":"Jordan","countryCode":"JO","languageCode":"jo"},{"id":112,"countryName":"Kazakhstan","countryCode":"KZ","languageCode":"kz"},{"id":113,"countryName":"Kenya","countryCode":"KE","languageCode":"ke"},{"id":114,"countryName":"Kiribati","countryCode":"KI","languageCode":"ki"},{"id":115,"countryName":"North Korea","countryCode":"KP","languageCode":"kp"},{"id":116,"countryName":"South Korea","countryCode":"KR","languageCode":"kr"},{"id":117,"countryName":"Kuwait","countryCode":"KW","languageCode":"kw"},{"id":118,"countryName":"Kyrgyzstan","countryCode":"KG","languageCode":"kg"},{"id":119,"countryName":"Laos","countryCode":"LA","languageCode":"la"},{"id":120,"countryName":"Latvia","countryCode":"LV","languageCode":"lv"},{"id":121,"countryName":"Lebanon","countryCode":"LB","languageCode":"lb"},{"id":122,"countryName":"Lesotho","countryCode":"LS","languageCode":"ls"},{"id":123,"countryName":"Liberia","countryCode":"LR","languageCode":"lr"},{"id":124,"countryName":"Libya","countryCode":"LY","languageCode":"ly"},{"id":125,"countryName":"Liechtenstein","countryCode":"LI","languageCode":"li"},{"id":126,"countryName":"Lithuania","countryCode":"LT","languageCode":"lt"},{"id":127,"countryName":"Luxembourg","countryCode":"LU","languageCode":"lu"},{"id":128,"countryName":"Macau S.A.R.","countryCode":"MO","languageCode":"mo"},{"id":129,"countryName":"North Macedonia","countryCode":"MK","languageCode":"mk"},{"id":130,"countryName":"Madagascar","countryCode":"MG","languageCode":"mg"},{"id":131,"countryName":"Malawi","countryCode":"MW","languageCode":"mw"},{"id":132,"countryName":"Malaysia","countryCode":"MY"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/4067/global+country+insights+api/4892/all+countries' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate a country ID in the parameter.
City by country ID - Recursos do endpoint
| Objeto | Descrição |
|---|---|
countryId |
[Obrigatório] |
[{"id":50,"cityName":"Andkhoy","cityCode":null},{"id":51,"cityName":"Asadabad","cityCode":null},{"id":52,"cityName":"Ashk\u0101sham","cityCode":null},{"id":53,"cityName":"A\u012bbak","cityCode":null},{"id":54,"cityName":"Baghl\u0101n","cityCode":null},{"id":55,"cityName":"Balkh","cityCode":null},{"id":56,"cityName":"Baraki Barak","cityCode":null},{"id":57,"cityName":"B\u0101my\u0101n","cityCode":null},{"id":58,"cityName":"B\u0101sawul","cityCode":null},{"id":59,"cityName":"B\u0101z\u0101rak","cityCode":null},{"id":60,"cityName":"Chah\u0101r Burj","cityCode":null},{"id":61,"cityName":"Charikar","cityCode":null},{"id":62,"cityName":"Ch\u012bras","cityCode":null},{"id":63,"cityName":"Darz\u0101b","cityCode":null},{"id":64,"cityName":"Dasht-e Arch\u012b","cityCode":null},{"id":65,"cityName":"Dowlat\u0101b\u0101d","cityCode":null},{"id":66,"cityName":"Farah","cityCode":null},{"id":67,"cityName":"Fayr\u014dz K\u014dh","cityCode":null},{"id":68,"cityName":"Fayzabad","cityCode":null},{"id":69,"cityName":"Gardez","cityCode":null},{"id":70,"cityName":"Gereshk","cityCode":null},{"id":71,"cityName":"Ghazni","cityCode":null},{"id":72,"cityName":"Ghormach","cityCode":null},{"id":73,"cityName":"Gh\u014driy\u0101n","cityCode":null},{"id":74,"cityName":"Her\u0101t","cityCode":null},{"id":75,"cityName":"Im\u0101m \u015e\u0101\u1e29ib","cityCode":null},{"id":76,"cityName":"Jabal os Saraj","cityCode":null},{"id":77,"cityName":"Jal\u0101l\u0101b\u0101d","cityCode":null},{"id":78,"cityName":"Jurm","cityCode":null},{"id":79,"cityName":"Kabul","cityCode":null},{"id":80,"cityName":"Kafir Qala","cityCode":null},{"id":81,"cityName":"Kandah\u0101r","cityCode":null},{"id":82,"cityName":"Karukh","cityCode":null},{"id":83,"cityName":"Khanabad","cityCode":null},{"id":84,"cityName":"Khand\u016bd","cityCode":null},{"id":85,"cityName":"Khulm","cityCode":null},{"id":86,"cityName":"Kh\u0101sh","cityCode":null},{"id":87,"cityName":"Kh\u014dst","cityCode":null},{"id":88,"cityName":"Kuhs\u0101n","cityCode":null},{"id":89,"cityName":"Kunduz","cityCode":null},{"id":90,"cityName":"Kushk","cityCode":null},{"id":91,"cityName":"Lab-Sar","cityCode":null},{"id":92,"cityName":"Larkird","cityCode":null},{"id":93,"cityName":"Lashkar G\u0101h","cityCode":null},{"id":94,"cityName":"Markaz-e Woluswal\u012b-ye \u0100ch\u012bn","cityCode":null},{"id":95,"cityName":"Markaz-e \u1e28uk\u016bmat-e Darw\u0113sh\u0101n","cityCode":null},{"id":96,"cityName":"Maymana","cityCode":null},{"id":97,"cityName":"Maz\u0101r-e Shar\u012bf","cityCode":null},{"id":98,"cityName":"Mehtar L\u0101m","cityCode":null},{"id":99,"cityName":"M\u012br Bachah K\u014d\u1e6f","cityCode":null},{"id":100,"cityName":"M\u012br\u0101b\u0101d","cityCode":null},{"id":101,"cityName":"Nahr\u012bn","cityCode":null},{"id":102,"cityName":"N\u012bl\u012b","cityCode":null},{"id":103,"cityName":"Paghm\u0101n","cityCode":null},{"id":104,"cityName":"Panj\u0101b","cityCode":null},{"id":105,"cityName":"Pul-e Khumr\u012b","cityCode":null},{"id":106,"cityName":"Pul-e \u2018Alam","cityCode":null},{"id":107,"cityName":"P\u0101r\u016bn","cityCode":null},{"id":108,"cityName":"Qala i Naw","cityCode":null},{"id":109,"cityName":"Qal\u0101t","cityCode":null},{"id":110,"cityName":"Qal\u2018ah-ye Shahr","cityCode":null},{"id":111,"cityName":"Qarah B\u0101gh","cityCode":null},{"id":112,"cityName":"Qarch\u012b Gak","cityCode":null},{"id":113,"cityName":"Qarq\u012bn","cityCode":null},{"id":114,"cityName":"Qar\u0101wul","cityCode":null},{"id":115,"cityName":"R\u0101ghist\u0101n","cityCode":null},{"id":116,"cityName":"R\u016bdb\u0101r","cityCode":null},{"id":117,"cityName":"Sang-e Ch\u0101rak","cityCode":null},{"id":118,"cityName":"Sang\u012bn","cityCode":null},{"id":119,"cityName":"Sar-e Pul","cityCode":null},{"id":120,"cityName":"Sa\u1e5f\u014db\u012b","cityCode":null},{"id":121,"cityName":"Shahrak","cityCode":null},{"id":122,"cityName":"Shibirgh\u0101n","cityCode":null},{"id":123,"cityName":"Sh\u012bn\u1e0fan\u1e0f","cityCode":null},{"id":124,"cityName":"Sidq\u0101b\u0101d","cityCode":null},{"id":125,"cityName":"Tag\u0101w-B\u0101y","cityCode":null},{"id":126,"cityName":"Taloqan","cityCode":null},{"id":127,"cityName":"Tarinkot","cityCode":null},{"id":128,"cityName":"Tukz\u0101r","cityCode":null},{"id":129,"cityName":"T\u012br Pul","cityCode":null},{"id":130,"cityName":"Uruzg\u0101n","cityCode":null},{"id":131,"cityName":"W\u0101kh\u0101n","cityCode":null},{"id":132,"cityName":"Zaranj","cityCode":null},{"id":133,"cityName":"Zargh\u016bn Shahr","cityCode":null},{"id":134,"cityName":"Za\u1e5fah Sharan","cityCode":null},{"id":135,"cityName":"Zindah J\u0101n","cityCode":null},{"id":136,"cityName":"\u0100qchah","cityCode":null},{"id":137,"cityName":"\u0100rt Khw\u0101jah","cityCode":null},{"id":138,"cityName":"\u0100sm\u0101r","cityCode":null},{"id":139,"cityName":"\u1e28uk\u016bmat\u012b Azrah","cityCode":null},{"id":140,"cityName":"\u1e28uk\u016bmat\u012b Dahanah-ye Gh\u014dr\u012b","cityCode":null},{"id":141,"cityName":"\u2018Al\u0101qahd\u0101r\u012b D\u012bsh\u016b","cityCode":null}]
curl --location --request GET 'https://zylalabs.com/api/4067/global+country+insights+api/4893/city+by+country+id?countryId=1' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate a country ID in the parameter.
States by country ID - Recursos do endpoint
| Objeto | Descrição |
|---|---|
countryId |
[Obrigatório] |
[{"id":3773,"stateName":"Ghazni","stateCode":"GHA"},{"id":3774,"stateName":"Badghis","stateCode":"BDG"},{"id":3775,"stateName":"Bamyan","stateCode":"BAM"},{"id":3776,"stateName":"Helmand","stateCode":"HEL"},{"id":3777,"stateName":"Zabul","stateCode":"ZAB"},{"id":3778,"stateName":"Baghlan","stateCode":"BGL"},{"id":3779,"stateName":"Kunar","stateCode":"KNR"},{"id":3780,"stateName":"Paktika","stateCode":"PKA"},{"id":3781,"stateName":"Khost","stateCode":"KHO"},{"id":3782,"stateName":"Kapisa","stateCode":"KAP"},{"id":3783,"stateName":"Nuristan","stateCode":"NUR"},{"id":3784,"stateName":"Panjshir","stateCode":"PAN"},{"id":3785,"stateName":"Nangarhar","stateCode":"NAN"},{"id":3786,"stateName":"Samangan","stateCode":"SAM"},{"id":3787,"stateName":"Balkh","stateCode":"BAL"},{"id":3788,"stateName":"Sar-e Pol","stateCode":"SAR"},{"id":3789,"stateName":"Jowzjan","stateCode":"JOW"},{"id":3790,"stateName":"Herat","stateCode":"HER"},{"id":3791,"stateName":"Gh\u014dr","stateCode":"GHO"},{"id":3792,"stateName":"Faryab","stateCode":"FYB"},{"id":3793,"stateName":"Kandahar","stateCode":"KAN"},{"id":3794,"stateName":"Laghman","stateCode":"LAG"},{"id":3795,"stateName":"Daykundi","stateCode":"DAY"},{"id":3796,"stateName":"Takhar","stateCode":"TAK"},{"id":3797,"stateName":"Paktia","stateCode":"PIA"},{"id":3798,"stateName":"Parwan","stateCode":"PAR"},{"id":3799,"stateName":"Nimruz","stateCode":"NIM"},{"id":3800,"stateName":"Logar","stateCode":"LOG"},{"id":3801,"stateName":"Urozgan","stateCode":"URU"},{"id":3802,"stateName":"Farah","stateCode":"FRA"},{"id":3803,"stateName":"Kunduz Province","stateCode":"KDZ"},{"id":3804,"stateName":"Badakhshan","stateCode":"BDS"},{"id":3805,"stateName":"Kabul","stateCode":"KAB"}]
curl --location --request GET 'https://zylalabs.com/api/4067/global+country+insights+api/4894/states+by+country+id?countryId=1' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate the ID of a state in the parameter.
City by state ID - Recursos do endpoint
| Objeto | Descrição |
|---|---|
stateId |
[Obrigatório] |
[{"id":37981,"cityName":"Alaba Special Wereda","cityCode":null},{"id":37982,"cityName":"Arba Minch","cityCode":null},{"id":37988,"cityName":"Bako","cityCode":null},{"id":37992,"cityName":"Bench Maji Zone","cityCode":null},{"id":37995,"cityName":"Bod\u012bt\u012b","cityCode":null},{"id":37996,"cityName":"Bonga","cityCode":null},{"id":37998,"cityName":"Butaj\u012bra","cityCode":null},{"id":38014,"cityName":"D\u012bla","cityCode":null},{"id":38018,"cityName":"Felege Neway","cityCode":null},{"id":38023,"cityName":"Gedeo Zone","cityCode":null},{"id":38034,"cityName":"Guraghe Zone","cityCode":null},{"id":38036,"cityName":"G\u012bdol\u0113","cityCode":null},{"id":38037,"cityName":"Hadiya Zone","cityCode":null},{"id":38040,"cityName":"Hawassa","cityCode":null},{"id":38041,"cityName":"Hosa\u2019ina","cityCode":null},{"id":38044,"cityName":"H\u0101gere Selam","cityCode":null},{"id":38051,"cityName":"Jinka","cityCode":null},{"id":38052,"cityName":"Kembata Alaba Tembaro Zone","cityCode":null},{"id":38057,"cityName":"Konso","cityCode":null},{"id":38059,"cityName":"K\u2019ol\u012bto","cityCode":null},{"id":38061,"cityName":"Leku","cityCode":null},{"id":38063,"cityName":"Lobuni","cityCode":null},{"id":38072,"cityName":"M\u012bzan Tefer\u012b","cityCode":null},{"id":38085,"cityName":"Sheka Zone","cityCode":null},{"id":38087,"cityName":"Sidama Zone","cityCode":null},{"id":38089,"cityName":"Sodo","cityCode":null},{"id":38094,"cityName":"Tippi","cityCode":null},{"id":38096,"cityName":"Turmi","cityCode":null},{"id":38099,"cityName":"Wendo","cityCode":null},{"id":38105,"cityName":"Wolayita Zone","cityCode":null},{"id":38107,"cityName":"Yem","cityCode":null},{"id":38108,"cityName":"Yirga \u2018Alem","cityCode":null},{"id":38114,"cityName":"\u0100reka","cityCode":null}]
curl --location --request GET 'https://zylalabs.com/api/4067/global+country+insights+api/4895/city+by+state+id?stateId=1' --header 'Authorization: Bearer YOUR_API_KEY'
| Cabeçalho | Descrição |
|---|---|
Authorization
|
[Obrigatório] Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito. |
Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.
To use this API the user must indicate a country or state id.
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.
Global Country Insights API is a tool that provides users: countries, cities and states around the world.
You would need a Global Country Insights API to gain access to a comprehensive database of country-specific information, including demographics, geographic details, language statistics, and more.
Each endpoint returns JSON data. The "GET All Countries" endpoint provides a list of countries with their names, codes, and language codes. The "GET City by country ID" and "GET States by country ID" endpoints return cities and states associated with a specific country, respectively, including their names and codes.
Key fields in the response data include "countryName," "countryCode," and "languageCode" for countries; "cityName" and "cityCode" for cities; and "stateName" and "stateCode" for states. These fields provide essential identifiers and names for each geographical entity.
The response data is organized as an array of objects. Each object represents a geographical entity (country, city, or state) and contains key-value pairs for relevant attributes, making it easy to parse and utilize in applications.
The "GET All Countries" endpoint provides country names, codes, and language codes. The "GET City by country ID" and "GET States by country ID" endpoints return city and state names and codes, respectively, allowing users to access detailed geographical hierarchies.
The "GET City by country ID" and "GET States by country ID" endpoints require a "country ID" parameter, while the "GET City by state ID" endpoint requires a "state ID." These parameters allow users to filter data based on specific geographical contexts.
Users can utilize the returned data by integrating it into applications for various purposes, such as displaying country information, creating location-based services, or enhancing educational content. The structured JSON format allows for easy manipulation and display in user interfaces.
The Global Country Insights API sources its data from reputable and authoritative databases, ensuring the integrity and reliability of the information provided. This commitment to quality helps users trust the data for critical applications.
Typical use cases include enhancing travel applications with country and city information, supporting educational platforms with geographical data, and aiding businesses in market research by providing insights into different regions and their demographics.
Nível de serviço:
100%
Tempo de resposta:
500ms
Nível de serviço:
100%
Tempo de resposta:
1.075ms
Nível de serviço:
100%
Tempo de resposta:
513ms
Nível de serviço:
100%
Tempo de resposta:
459ms
Nível de serviço:
100%
Tempo de resposta:
381ms
Nível de serviço:
100%
Tempo de resposta:
1.045ms
Nível de serviço:
90%
Tempo de resposta:
609ms
Nível de serviço:
100%
Tempo de resposta:
3.420ms
Nível de serviço:
100%
Tempo de resposta:
965ms
Nível de serviço:
100%
Tempo de resposta:
597ms
Nível de serviço:
100%
Tempo de resposta:
2.805ms
Nível de serviço:
100%
Tempo de resposta:
4.021ms
Nível de serviço:
100%
Tempo de resposta:
2.634ms
Nível de serviço:
100%
Tempo de resposta:
3.386ms
Nível de serviço:
100%
Tempo de resposta:
2.865ms
Nível de serviço:
50%
Tempo de resposta:
1.896ms
Nível de serviço:
50%
Tempo de resposta:
11.896ms
Nível de serviço:
50%
Tempo de resposta:
9.542ms
Nível de serviço:
50%
Tempo de resposta:
1.445ms
Nível de serviço:
50%
Tempo de resposta:
9.438ms