La API de Global Country Insights es un poderoso recurso que proporciona una gran cantidad de información sobre países, ciudades y estados en todo el mundo. Esta visión general completa ilustra la importancia, aplicaciones y potencial de esta valiosa API.
Diseñada para ser accesible, la API de Global Country Insights ofrece acceso sin problemas a una extensa base de datos. Obtener los datos de fuentes confiables asegura su integridad. Adaptada tanto para usuarios experimentados como novatos, la API facilita la integración de datos de ubicación en varios proyectos con facilidad.
En su núcleo se encuentran detalles complejos de los países, cubriendo datos clave como códigos de país y códigos de idioma. Esta información es indispensable para los usuarios que buscan expandirse a nivel mundial, viajeros que planean sus viajes y educadores que fomentan la conciencia global en sus aulas. Además, comprender la dinámica geopolítica de los países es vital para la investigación transfronteriza y la colaboración internacional.
Las ciudades son centros vibrantes de comercio, cultura e interacción humana. La API proporciona un rico repositorio de información sobre ciudades de todo el mundo. Estos datos son una bendición para los usuarios que apuntan a mercados urbanos específicos, entusiastas de los viajes que planean aventuras y urbanistas que toman decisiones informadas sobre infraestructura y desarrollo urbano.
La diversidad lingüística de nuestro mundo refleja su riqueza cultural. Para aplicaciones y servicios que buscan ofrecer contenido y soporte multilingües, la API proporciona información crucial al revelar los códigos lingüísticos de los idiomas oficiales hablados en cada país. De esta manera, se pueden realizar ofertas personalizadas, fomentando la inclusividad y la accesibilidad global.
La API de Global Country Insights está surgiendo como un activo indispensable que brinda a usuarios, empresas, investigadores y educadores un conjunto completo de datos centrados en los países. Su adaptabilidad, interfaz fácil de usar y amplia funcionalidad la convierten en esencial para una variedad de industrias. Ya sea que esté expandiendo su negocio, planeando su próxima expedición, profundizando en la investigación académica o simplemente embarcándose en un viaje de descubrimiento, esta API le proporciona los datos que necesita para tomar decisiones informadas y encontrar soluciones innovadoras. Descubra posibilidades ilimitadas para sus proyectos e investigación, explore el tapiz global con la API de Global Country Insights.
Recibirá parámetros y le proporcionará un JSON.
Mejoramiento del contenido web: Generar automáticamente imágenes relevantes para complementar artículos, publicaciones de blog y contenido de sitios web, haciéndolos más atractivos.
Publicaciones en redes sociales: Crear rápidamente imágenes atractivas para publicaciones y anuncios en redes sociales basadas en palabras clave y hashtags.
Materiales de aprendizaje en línea: Mejorar materiales educativos con visuales, haciendo que conceptos complejos sean más comprensibles y atractivos para los aprendices.
Catálogos de productos: Generar imágenes y descripciones de productos para sitios web de comercio electrónico, optimizando el proceso de listado.
Chatbots y asistentes virtuales: Enriquecer las conversaciones de los chatbots con imágenes relevantes para mejorar el compromiso y la comprensión del usuario.
Además del número de llamadas a la API, no hay ninguna otra limitación.
Para usar este endpoint, solo ejecútalo y obtendrás todos los países disponibles.
[{"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","lan...
curl --location --request GET 'https://zylalabs.com/api/4067/global+country+insights+api/4892/all+countries' --header 'Authorization: Bearer YOUR_API_KEY'
Para utilizar este punto final, debe indicar un ID de país en el parámetro.
Ciudad por ID de país. - Características del Endpoint
Objeto | Descripción |
---|---|
countryId |
[Requerido] |
[{"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'
Para utilizar este endpoint, debe indicar un ID de país en el parámetro.
Estados por ID de país. - Características del Endpoint
Objeto | Descripción |
---|---|
countryId |
[Requerido] |
[{"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'
Para usar este endpoint, debe indicar el ID de un estado en el parámetro.
Ciudad por ID de estado. - Características del Endpoint
Objeto | Descripción |
---|---|
stateId |
[Requerido] |
[{"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'
Encabezado | Descripción |
---|---|
Autorización
|
[Requerido] Debería ser Bearer access_key . Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
Para usar esta API, el usuario debe indicar un país o un id de estado.
Hay diferentes planes que se adaptan a todos, incluido un período de prueba gratuito para una pequeña cantidad de solicitudes, pero su tarifa está limitada para prevenir el abuso del servicio.
Zyla ofrece una amplia gama de métodos de integración para casi todos los lenguajes de programación. Puedes utilizar estos códigos para integrar con tu proyecto según lo necesites.
La API de Información Global de Países es una herramienta que proporciona a los usuarios: países, ciudades y estados de todo el mundo.
Necesitarías una API de Perspectivas Globales de País para acceder a una base de datos completa de información específica de países, incluidos datos demográficos, detalles geográficos, estadísticas de idiomas, y más.
Cada punto final devuelve datos JSON. El punto final "GET All Countries" proporciona una lista de países con sus nombres, códigos y códigos de idioma. Los puntos finales "GET City by country ID" y "GET States by country ID" devuelven ciudades y estados asociados con un país específico, respectivamente, incluidos sus nombres y códigos.
Los campos clave en los datos de respuesta incluyen "countryName," "countryCode," y "languageCode" para países; "cityName" y "cityCode" para ciudades; y "stateName" y "stateCode" para estados. Estos campos proporcionan identificadores y nombres esenciales para cada entidad geográfica.
Los datos de respuesta están organizados como un arreglo de objetos. Cada objeto representa una entidad geográfica (país, ciudad o estado) y contiene pares de clave-valor para atributos relevantes, lo que facilita su análisis y utilización en aplicaciones.
El endpoint "GET Todos los Países" proporciona nombres de países, códigos y códigos de idioma. Los endpoints "GET Ciudad por ID de país" y "GET Estados por ID de país" devuelven nombres y códigos de ciudades y estados, respectivamente, permitiendo a los usuarios acceder a jerarquías geográficas detalladas.
Los endpoints "GET Ciudad por ID de país" y "GET Estados por ID de país" requieren un parámetro "ID de país", mientras que el endpoint "GET Ciudad por ID de estado" requiere un "ID de estado". Estos parámetros permiten a los usuarios filtrar datos basados en contextos geográficos específicos.
Los usuarios pueden utilizar los datos devueltos integrándolos en aplicaciones para diversos propósitos, como mostrar información sobre países, crear servicios basados en la ubicación o mejorar el contenido educativo. El formato JSON estructurado permite una fácil manipulación y visualización en las interfaces de usuario.
La API de Perspectivas Globales de Países obtiene sus datos de bases de datos reputadas y autorizadas, asegurando la integridad y la fiabilidad de la información proporcionada. Este compromiso con la calidad ayuda a los usuarios a confiar en los datos para aplicaciones críticas.
Los casos de uso típicos incluyen mejorar aplicaciones de viaje con información sobre países y ciudades, apoyar plataformas educativas con datos geográficos, y ayudar a las empresas en la investigación de mercado proporcionando información sobre diferentes regiones y sus demografías.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
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.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1.000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1.000 requests per month, this header will display 1.000.
The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3.600, it means 3.600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.
Nivel de Servicio:
100%
Tiempo de Respuesta:
499,64ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.352,65ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
527,86ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
316,98ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
488,02ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.389,63ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.139,76ms
Nivel de Servicio:
90%
Tiempo de Respuesta:
980,59ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.150,53ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
538,57ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
821,34ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
615,42ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
285,83ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
19.513,72ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.288,00ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
911,79ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
110,88ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.070,34ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
143,17ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
953,10ms