{
"count": 252,
"countries": [
{
"alpha2": "AF",
"alpha3": "AFG",
"numeric": "004",
"name": "Afghanistan",
"flag": "🇦🇫",
"capital": "Kabul",
"continent": "Asia",
"continent_code": "AS",
"currency_code": "AFN",
"calling_code": "+93",
"population": 43844111
},
{
"alpha2": "AX",
"alpha3": "ALA",
"numeric": "248",
"name": "Aland Islands",
"flag": "🇦🇽",
"capital": "Mariehamn",
"continent": "Europe",
"continent_code": "EU",
"currency_code": "EUR",
"calling_code": "+358-18",
"population": 26711
},
{
"alpha2": "AL",
"alpha3": "ALB",
"numeric": "008",
"name": "Albania",
"flag": "🇦🇱",
"capital": "Tirana",
"continent": "Europe",
"continent_code": "EU",
"currency_code": "ALL",
"calling_code": "+355",
"population": 2349580
}
],
"attribution": "Country data from GeoNames (geonames.org), CC BY 4.0. Subdivisions from ISO 3166-2."
}
curl --location --request GET 'https://zylalabs.com/api/15050/countries+api/39818/list+or+search+countries?eu_only=false' --header 'Authorization: Bearer YOUR_API_KEY'
{
"code": "EUR",
"name": "Euro",
"numeric": "978",
"countries": [
{
"alpha2": "AX",
"name": "Aland Islands",
"flag": "🇦🇽"
},
{
"alpha2": "AD",
"name": "Andorra",
"flag": "🇦🇩"
},
{
"alpha2": "AT",
"name": "Austria",
"flag": "🇦🇹"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15050/countries+api/39819/currency+details+and+the+countries+that+use+it&code=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"alpha2": "FR",
"alpha3": "FRA",
"numeric": "250",
"name": "France",
"flag": "🇫🇷",
"capital": "Paris",
"continent": "Europe",
"continent_code": "EU",
"currency_code": "EUR",
"calling_code": "+33",
"population": 68720337,
"official_name": "French Republic",
"currency_name": "Euro",
"area_km2": 547030,
"tld": ".fr",
"languages": [
"fr-FR",
"frp",
"br"
],
"neighbours": [
"CH",
"DE",
"BE"
],
"time_zones": [
"Europe/Paris"
],
"eu_member": true,
"eurozone": true,
"postal_code_format": "#####",
"postal_code_regex": "^(\\d{5})$",
"subdivision_count": 124,
"attribution": "Country data from GeoNames (geonames.org), CC BY 4.0. Subdivisions from ISO 3166-2."
}
curl --location --request GET 'https://zylalabs.com/api/15050/countries+api/39820/look+up+one+country&code=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"country": "US",
"count": 57,
"subdivisions": [
{
"code": "US-AL",
"name": "Alabama",
"type": "State",
"parent": null
},
{
"code": "US-AK",
"name": "Alaska",
"type": "State",
"parent": null
},
{
"code": "US-AS",
"name": "American Samoa",
"type": "Outlying area",
"parent": null
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15050/countries+api/39821/states+provinces+and+regions+of+a+country&code=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"country": "DE",
"count": 9,
"neighbours": [
{
"alpha2": "CH",
"alpha3": "CHE",
"numeric": "756",
"name": "Switzerland",
"flag": "🇨🇭",
"capital": "Bern",
"continent": "Europe",
"continent_code": "EU",
"currency_code": "CHF",
"calling_code": "+41",
"population": 9092436
},
{
"alpha2": "PL",
"alpha3": "POL",
"numeric": "616",
"name": "Poland",
"flag": "🇵🇱",
"capital": "Warsaw",
"continent": "Europe",
"continent_code": "EU",
"currency_code": "PLN",
"calling_code": "+48",
"population": 36435861
},
{
"alpha2": "NL",
"alpha3": "NLD",
"numeric": "528",
"name": "The Netherlands",
"flag": "🇳🇱",
"capital": "Amsterdam",
"continent": "Europe",
"continent_code": "EU",
"currency_code": "EUR",
"calling_code": "+31",
"population": 18087633
}
],
"attribution": "Country data from GeoNames (geonames.org), CC BY 4.0. Subdivisions from ISO 3166-2."
}
curl --location --request GET 'https://zylalabs.com/api/15050/countries+api/39822/countries+sharing+a+land+border&code=Required' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए देश API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें।
आईएसओ कोड द्वारा देश डेटा: राजधानी, मुद्रा, कॉलिंग कोड, भाषाएं, समय क्षेत्र, पड़ोसी और उपविभाजन
बंडल किए गए जियोनिम्स देश तालिका (CC BY 4.0) और ISO 3166-2 उपखंड। प्रतिक्रियाओं में जियोनिम्स का श्रेय शामिल है
जनसंख्या और क्षेत्र एक भू-नाम स्नैपशॉट है जो 2026-11-14 की तारीख का है