The Global Alcohol Stats API is a RESTful API designed to serve alcohol consumption statistics by country. Users can: Retrieve the list of all countries in the dataset. Query overall alcohol consumption for a specific country. Get female-specific alcohol consumption statistics for a given country. Get male-specific alcohol consumption statistics for a given country. The API is built to support flexible queries, enabling developers, researchers, and policymakers to access structured, reliable, and easily filterable consumption data.
[
{
"countries": [
"Russia",
"Greece",
"Lesotho",
"Madagascar",
"Djibouti",
"Grenada",
"Poland",
"Belarus",
"Bulgaria",
"Australia",
"Tuvalu",
"Burkina Faso",
"Romania",
"United Kingdom",
"Malawi",
"Lebanon",
"Ivory Coast",
"United Arab Emirates",
"Fiji",
"Slovenia",
"Rwanda",
"Solomon Islands",
"Morocco",
"Georgia",
"Sierra Leone",
"Switzerland",
"Nicaragua",
"Indonesia",
"Cape Verde",
"Costa Rica",
"Andorra",
"Canada",
"Sweden",
"DR Congo",
"Saint Vincent and the Grenadines",
"Uganda",
"Spain",
"Gambia",
"North Korea",
"Portugal",
"Benin",
"New Zealand",
"Barbados",
"Germany",
"Argentina",
"Vietnam",
"Thailand",
"Iran",
"Seychelles",
"Republic of the Congo",
"Brazil",
"Montenegro",
"Cyprus",
"Chile",
"Norway",
"Guinea-Bissau",
"Botswana",
"South Korea",
"Mauritius",
"Japan",
"Micronesia",
"Finland",
"Cameroon",
"Antigua and Barbuda",
"Eswatini",
"El Salvador",
"Peru",
"Kazakhstan",
"Denmark",
"Cook Islands",
"Trinidad and Tobago",
"Cambodia",
"Suriname",
"Bosnia and Herzegovina",
"Guinea",
"Philippines",
"Paraguay",
"Samoa",
"Uruguay",
"Czech Republic",
"Mauritania",
"Nauru",
"Hungary",
"Egypt",
"Moldova",
"Saint Lucia",
"Panama",
"China",
"Kiribati",
"Albania",
"North Macedonia",
"Libya",
"Armenia",
"Guatemala",
"Colombia",
"Burundi",
"Angola",
"Iraq",
"Dominica",
"Niue",
"Honduras",
"Niger",
"Belize",
"Bahamas",
"Latvia",
"Zambia",
"Bolivia",
"Gabon",
"Croatia",
"Estonia",
"Iceland",
"Jordan",
"India",
"France",
"Sri Lanka",
"Chad",
"Saint Kitts and Nevis",
"Lithuania",
"Cuba",
"Jamaica",
"Nepal",
"Zimbabwe",
"Turkey",
"Equatorial Guinea",
"Azerbaijan",
"Kuwait",
"Sao Tome and Principe",
"Uzbekistan",
"Ukraine",
"Vanuatu",
"Mongolia",
"Venezuela",
"Dominican Republic",
"Myanmar",
"Slovakia",
"Central African Republic",
"Tunisia",
"Guyana",
"Malta",
"Somalia",
"Togo",
"Turkmenistan",
"Liberia",
"Bahrain",
"Papua New Guinea",
"Ethiopia",
"Netherlands",
"Qatar",
"Malaysia",
"Tanzania",
"Mali",
"Kyrgyzstan",
"Ghana",
"Algeria",
"Haiti",
"Israel",
"Oman",
"Brunei",
"Mozambique",
"Ecuador",
"Serbia",
"Tonga",
"Singapore",
"Italy",
"Kenya",
"Comoros",
"Bhutan",
"Timor-Leste",
"Nigeria",
"Eritrea",
"Bangladesh",
"Syria",
"Pakistan",
"Ireland",
"Yemen",
"Sudan",
"Luxembourg"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/9289/global+alcohol+stats+api/16786/get+list+of+all+countries+available' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"country": "Russia",
"total_consumption": "16.8"
}
]
curl --location --request POST 'https://zylalabs.com/api/9289/global+alcohol+stats+api/16787/get+total+alcohol+consumption+for+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[
{
"country": "Mozambique",
"female_consumption": "0.12"
}
]
curl --location --request POST 'https://zylalabs.com/api/9289/global+alcohol+stats+api/16788/get+female+alcohol+consumption+for+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[
{
"country": "France",
"male_consumption": 5.2
}
]
curl --location --request POST 'https://zylalabs.com/api/9289/global+alcohol+stats+api/16789/get+male+alcohol+consumption+for+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
| 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.
The API provides overall alcohol consumption statistics, as well as male-specific and female-specific consumption statistics for each country.
You can query the API by specifying the country name to retrieve overall alcohol consumption statistics, or you can specify gender to get male or female-specific statistics.
The API offers structured, reliable, and easily filterable alcohol consumption data, making it a valuable resource for researchers, policymakers, and analysts focused on public health and alcohol-related issues.
The API returns data in a structured format, typically JSON, which includes specific fields for country names, overall consumption, and gender-specific statistics.
The API can be used for research studies, public health initiatives, policy-making, and analytics to understand alcohol consumption trends and their implications on health and society.
Each endpoint returns specific alcohol consumption statistics. The "get list of all countries" endpoint returns a list of country names. The "get total alcohol consumption" endpoint provides overall consumption in litres per capita. The "get female alcohol consumption" and "get male alcohol consumption" endpoints return gender-specific consumption statistics for the specified country.
The key fields in the response data include "country" for the country's name, "total_consumption" for overall consumption, "female_consumption" for female-specific data, and "male_consumption" for male-specific data. Each field provides essential insights into alcohol consumption patterns.
The response data is organized in a JSON format, structured as an array of objects. Each object contains relevant fields such as "country" and consumption statistics, making it easy to parse and utilize in applications or analyses.
The primary parameter used with the consumption endpoints is the "country" name, which must be specified to retrieve data. Users can obtain valid country names from the "get list of all countries" endpoint to ensure accurate queries.
The "get list of all countries" endpoint provides a comprehensive list of countries. The "get total alcohol consumption" endpoint offers overall consumption data, while the "get female alcohol consumption" and "get male alcohol consumption" endpoints provide gender-specific statistics for the specified country.
Users can analyze the returned data to identify trends in alcohol consumption by country and gender. For example, researchers can compare male and female consumption rates or assess overall consumption levels to inform public health initiatives and policy decisions.
The Global Alcohol Stats API aggregates data from reputable global health organizations and research studies. This ensures that the statistics provided are based on reliable sources, enhancing the credibility of the information for users.
Typical use cases include academic research on alcohol consumption trends, public health assessments, policy formulation regarding alcohol regulations, and analytics for understanding the social impacts of alcohol use across different demographics.
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:
10,438ms
Service Level:
100%
Response Time:
18,736ms
Service Level:
100%
Response Time:
56ms
Service Level:
100%
Response Time:
17,244ms
Service Level:
100%
Response Time:
52ms
Service Level:
100%
Response Time:
2,083ms
Service Level:
100%
Response Time:
765ms
Service Level:
100%
Response Time:
198ms
Service Level:
100%
Response Time:
534ms
Service Level:
100%
Response Time:
135ms
Service Level:
100%
Response Time:
607ms
Service Level:
100%
Response Time:
2,258ms
Service Level:
100%
Response Time:
7,634ms
Service Level:
100%
Response Time:
1,079ms
Service Level:
100%
Response Time:
261ms
Service Level:
100%
Response Time:
173ms
Service Level:
100%
Response Time:
904ms
Service Level:
100%
Response Time:
831ms
Service Level:
100%
Response Time:
582ms
Service Level:
100%
Response Time:
280ms