The Global Wind Stats API provides a structured and developer-friendly way to access wind energy data from countries across the globe. With dedicated endpoints, it enables users to retrieve lists of countries, installed wind capacity (total and onshore), total energy generation, and consumption data filtered by country. This segmented approach avoids returning large datasets in one request, making it more efficient for applications, analytics platforms, and research tools. The API supports filtering by country and ensures responses are consistent, easy to integrate, and well-documented.
[
{
"country_names": [
"China",
"United States",
"Germany",
"India",
"Spain",
"United Kingdom",
"Brazil",
"France",
"Canada",
"Sweden",
"Turkey",
"Australia",
"Netherlands",
"Poland",
"Denmark",
"Mexico",
"Finland",
"Vietnam",
"Portugal",
"Belgium",
"Japan",
"Greece",
"Norway",
"Ireland",
"Chile",
"Austria",
"Argentina",
"South Africa",
"Romania",
"Taiwan",
"Russia",
"South Korea",
"Egypt",
"Morocco",
"Pakistan",
"Ukraine",
"Thailand",
"Uruguay",
"Kazakhstan",
"Lithuania",
"Croatia",
"New Zealand",
"Peru",
"Bulgaria",
"Jordan",
"Serbia",
"Philippines",
"Kenya",
"Dominican Republic",
"Costa Rica",
"Estonia",
"Saudi Arabia",
"Iran",
"Czech Republic",
"Panama",
"Ethiopia",
"Hungary",
"Israel",
"Sri Lanka",
"Tunisia",
"Honduras",
"Luxembourg",
"Nicaragua",
"Senegal",
"Cyprus",
"Mongolia",
"Indonesia",
"Moldova",
"Latvia",
"Mauritania",
"Bolivia",
"Bosnia and Herzegovina",
"Belarus",
"Montenegro",
"North Macedonia",
"Guatemala",
"United Arab Emirates",
"Jamaica",
"Puerto Rico",
"Switzerland",
"Djibouti",
"Ecuador",
"Azerbaijan",
"Cuba",
"New Caledonia",
"El Salvador",
"Guadeloupe",
"Oman",
"Curacao",
"Venezuela",
"Aruba",
"Cape Verde",
"Faroe Islands",
"Georgia",
"Colombia",
"Reunion",
"Martinique",
"Kuwait",
"Mauritius",
"Algeria",
"Fiji",
"Seychelles",
"Namibia",
"Somalia",
"Slovakia",
"Bangladesh",
"Lebanon",
"Armenia",
"Slovenia",
"Bahrain",
"Vanuatu",
"Falkland Islands",
"Tanzania",
"North Korea",
"Iceland",
"Saint Kitts and Nevis",
"Uzbekistan",
"Syria",
"Chad",
"Hong Kong",
"Eritrea",
"Gambia",
"Bhutan",
"Maldives",
"Barbados",
"Samoa",
"Micronesia",
"Tonga",
"Cayman Islands",
"British Virgin Islands"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/9319/global+wind+stats+api/16831/fetch+list+of+countries' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"country_code": "China",
"total_capacity": "441,895",
"onshore_capacity": "404,605",
"unit": "MWh"
}
]
curl --location --request POST 'https://zylalabs.com/api/9319/global+wind+stats+api/16832/get+wind+power+capacity+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[
{
"country": "China",
"total_generation": "886",
"unit": "TWh"
}
]
curl --location --request POST 'https://zylalabs.com/api/9319/global+wind+stats+api/16833/get+total+energy+generation+by+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 Global Wind Stats API provides access to worldwide wind power statistics, including lists of countries, installed wind capacity (both total and onshore), total energy generation, and consumption data filtered by specific countries.
The API returns data in a structured format, typically JSON, which is easy to integrate into applications and analytics platforms.
The API can be used for various applications such as energy market analysis, research on renewable energy trends, development of energy management tools, and creating visualizations of wind energy statistics.
API responses include fields such as country name, installed wind capacity (total and onshore), total energy generation, and consumption metrics, allowing for detailed analysis of wind energy in different regions.
You can integrate the API by making requests to its dedicated endpoints for specific data needs, allowing for efficient data retrieval without overwhelming your application with large datasets.
This endpoint returns a comprehensive list of countries included in the Global Wind Stats API. The data is structured as an array of country names, allowing users to easily identify which countries' wind statistics are available for querying.
The response includes fields such as "country_code," "total_capacity," "onshore_capacity," and "unit." This allows users to understand the wind power capacity metrics for the specified country.
The response is structured as an array of objects, each containing the "country" name and "total_generation" value, along with the "unit." This organization facilitates easy access to energy generation data for specific countries.
Users must specify a "country" parameter to retrieve data. This parameter should match one of the country names obtained from the "fetch list of countries" endpoint to ensure accurate results.
Users can customize requests by selecting specific countries when querying capacity or generation data. This targeted approach allows for focused analysis on particular regions or countries of interest.
The data is sourced from reputable global energy databases and organizations that track wind power statistics. This ensures that the information is reliable and reflects current trends in wind energy.
Typical use cases include conducting energy market research, analyzing renewable energy trends, developing energy management applications, and creating visualizations to showcase wind energy statistics across different countries.
Users should check the response for the presence of data fields. If results are empty, it may indicate that the specified country has no recorded data. Implementing error handling in applications can help manage such scenarios effectively.
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:
55ms
Service Level:
100%
Response Time:
60ms
Service Level:
100%
Response Time:
11,502ms
Service Level:
100%
Response Time:
196ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
181ms
Service Level:
100%
Response Time:
54ms
Service Level:
100%
Response Time:
200ms
Service Level:
100%
Response Time:
1,178ms
Service Level:
100%
Response Time:
199ms
Service Level:
100%
Response Time:
689ms
Service Level:
100%
Response Time:
239ms
Service Level:
100%
Response Time:
477ms
Service Level:
100%
Response Time:
519ms
Service Level:
100%
Response Time:
569ms
Service Level:
100%
Response Time:
349ms
Service Level:
100%
Response Time:
950ms
Service Level:
100%
Response Time:
127ms
Service Level:
100%
Response Time:
219ms
Service Level:
100%
Response Time:
1,142ms