{
"count": 28,
"countries": [
{
"code": "AD",
"name": "Andorra",
"localizedName": "Andorra",
"native": "Andorra",
"capital": "Andorra la Vella",
"continent": "EU",
"continentName": "Europe",
"phone": [
376
],
"currency": [
"EUR"
],
"languages": [
"ca"
],
"flag": "🇦🇩"
},
{
"code": "AT",
"name": "Austria",
"localizedName": "Austria",
"native": "Österreich",
"capital": "Vienna",
"continent": "EU",
"continentName": "Europe",
"phone": [
43
],
"currency": [
"EUR"
],
"languages": [
"de"
],
"flag": "🇦🇹"
},
{
"code": "AX",
"name": "Aland",
"localizedName": "Åland Islands",
"native": "Åland",
"capital": "Mariehamn",
"continent": "EU",
"continentName": "Europe",
"phone": [
358
],
"currency": [
"EUR"
],
"languages": [
"sv"
],
"flag": "🇦🇽"
},
{
"code": "BE",
"name": "Belgium",
"localizedName": "Belgium",
"native": "België",
"capital": "Brussels",
"continent": "EU",
"continentName": "Europe",
"phone": [
32
],
"currency": [
"EUR"
],
"languages": [
"nl",
"fr",
"de"
],
"flag": "🇧🇪"
},
{
"code": "BG",
"name": "Bulgaria",
"localizedName": "Bulgaria",
"native": "България",
"capital": "Sofia",
"continent": "EU",
"continentName": "Europe",
"phone": [
359
],
"currency": [
"EUR"
],
"languages": [
"bg"
],
"flag": "🇧🇬"
},
{
"code": "CY",
"name": "Cyprus",
"localizedName": "Cyprus",
"native": "Κύπρος",
"capital": "Nicosia",
"continent": "EU",
"continentName": "Europe",
"phone": [
357
],
"currency": [
"EUR"
],
"languages": [
"el",
"tr",
"hy"
],
"flag": "🇨🇾"
},
{
"code": "DE",
"name": "Germany",
"localizedName": "Germany",
"native": "Deutschland",
"capital": "Berlin",
"continent": "EU",
"continentName": "Europe",
"phone": [
49
],
"currency": [
"EUR"
],
"languages": [
"de"
],
"flag": "🇩🇪"
},
{
"code": "EE",
"name": "Estonia",
"localizedName": "Estonia",
"native": "Eesti",
"capital": "Tallinn",
"continent": "EU",
"continentName": "Europe",
"phone": [
372
],
"currency": [
"EUR"
],
"languages": [
"et"
],
"flag": "🇪🇪"
},
{
"code": "ES",
"name": "Spain",
"localizedName": "Spain",
"native": "España",
"capital": "Madrid",
"continent": "EU",
"continentName": "Europe",
"phone": [
34
],
"currency": [
"EUR"
],
"languages": [
"es",
"eu",
"ca",
"gl",
"oc"
],
"flag": "🇪🇸"
},
{
"code": "FI",
"name": "Finland",
"localizedName": "Finland",
"native": "Suomi",
"capital": "Helsinki",
"continent": "EU",
"continentName": "Europe",
"phone": [
358
],
"currency": [
"EUR"
],
"languages": [
"fi",
"sv"
],
"flag": "🇫🇮"
},
{
"code": "FR",
"name": "France",
"localizedName": "France",
"native": "France",
"capital": "Paris",
"continent": "EU",
"continentName": "Europe",
"phone": [
33
],
"currency": [
"EUR"
],
"languages": [
"fr"
],
"flag": "🇫🇷"
},
{
"code": "GR",
"name": "Greece",
"localizedName": "Greece",
"native": "Ελλάδα",
"capital": "Athens",
"continent": "EU",
"continentName": "Europe",
"phone": [
30
],
"currency": [
"EUR"
],
"languages": [
"el"
],
"flag": "🇬🇷"
},
{
"code": "HR",
"name": "Croatia",
"localizedName": "Croatia",
"native": "Hrvatska",
"capital": "Zagreb",
"continent": "EU",
"continentName": "Europe",
"phone": [
385
],
"currency": [
"EUR"
],
"languages": [
"hr"
],
"flag": "🇭🇷"
},
{
"code": "IE",
"name": "Ireland",
"localizedName": "Ireland",
"native": "Éire",
"capital": "Dublin",
"continent": "EU",
"continentName": "Europe",
"phone": [
353
],
"currency": [
"EUR"
],
"languages": [
"ga",
"en"
],
"flag": "🇮🇪"
},
{
"code": "IT",
"name": "Italy",
"localizedName": "Italy",
"native": "Italia",
"capital": "Rome",
"continent": "EU",
"continentName": "Europe",
"phone": [
39
],
"currency": [
"EUR"
],
"languages": [
"it"
],
"flag": "🇮🇹"
},
{
"code": "LT",
"name": "Lithuania",
"localizedName": "Lithuania",
"native": "Lietuva",
"capital": "Vilnius",
"continent": "EU",
"continentName": "Europe",
"phone": [
370
],
"currency": [
"EUR"
],
"languages": [
"lt"
],
"flag": "🇱🇹"
},
{
"code": "LU",
"name": "Luxembourg",
"localizedName": "Luxembourg",
"native": "Luxembourg",
"capital": "Luxembourg",
"continent": "EU",
"continentName": "Europe",
"phone": [
352
],
"currency": [
"EUR"
],
"languages": [
"fr",
"de",
"lb"
],
"flag": "🇱🇺"
},
{
"code": "LV",
"name": "Latvia",
"localizedName": "Latvia",
"native": "Latvija",
"capital": "Riga",
"continent": "EU",
"continentName": "Europe",
"phone": [
371
],
"currency": [
"EUR"
],
"languages": [
"lv"
],
"flag": "🇱🇻"
},
{
"code": "MC",
"name": "Monaco",
"localizedName": "Monaco",
"native": "Monaco",
"capital": "Monaco",
"continent": "EU",
"continentName": "Europe",
"phone": [
377
],
"currency": [
"EUR"
],
"languages": [
"fr"
],
"flag": "🇲🇨"
},
{
"code": "ME",
"name": "Montenegro",
"localizedName": "Montenegro",
"native": "Црна Гора",
"capital": "Podgorica",
"continent": "EU"
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/14214/country+data+api+-+250+countries/35285/list+search+countries?continent=EU¤cy=EUR&lang=en' --header 'Authorization: Bearer YOUR_API_KEY'
{
"code": "ES",
"name": "Spain",
"localizedName": "España",
"native": "España",
"capital": "Madrid",
"continent": "EU",
"continentName": "Europe",
"phone": [
34
],
"currency": [
"EUR"
],
"languages": [
"es",
"eu",
"ca",
"gl",
"oc"
],
"flag": "🇪🇸"
}
curl --location --request GET 'https://zylalabs.com/api/14214/country+data+api+-+250+countries/35286/country+by+code?lang=es&code=Required' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Country Data API - 250 Countries simply include your bearer token in the Authorization header.
| 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.
Each endpoint returns comprehensive data about countries, including ISO codes, names in various languages, capital cities, continents, calling codes, currencies, languages, and emoji flags.
Key fields in the response include "code" (ISO code), "name" (country name), "capital" (capital city), "continent" (continent code), "phone" (calling codes), "currency" (currencies used), "languages" (spoken languages), and "flag" (emoji representation).
Users can filter data by parameters such as continent, currency, language, or perform a general search. This allows for customized queries to retrieve specific country information.
The response data is structured in JSON format, with a "count" field indicating the number of results and a "countries" array containing detailed information for each country, including all relevant attributes.
Typical use cases include building applications for travel, education, or data analysis, where users need to access country-specific information such as demographics, languages, or economic data.
Data accuracy is maintained through regular updates and quality checks, ensuring that the information reflects the most current geopolitical and demographic changes.
Users can utilize the returned data by parsing the JSON response to extract relevant fields for display or analysis, such as showing country names and flags in a user interface or generating reports based on specific criteria.
The data covers all recognized countries globally, categorized by continent, and includes diverse attributes such as languages and currencies, making it suitable for a wide range of geographical and cultural analyses.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund