IRENA — Renewable Electricity Capacity by Country
irena.energy.capacity_countryQuery renewable and non-renewable electricity installed capacity (MW) for any country from the IRENA IRENASTAT database. Covers 226 countries and territories, 26 energy technologies (Total renewable energy, Solar photovoltaic, Wind, Hydropower, Bioenergy, Geothermal, etc.), on-grid and off-grid, from 2000 to 2025. Returns a time-series of MW values per year. Official IRENA data — the authoritative global source for renewable energy statistics used by the IPCC, IEA, and UN agencies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO 3166-1 alpha-3 country code (e.g. USA, DEU, CHN, IND, BRA). Must be exactly 3 letters. | |
| year_to | No | End year (inclusive, 2000–2025, must be ≥ year_from). Default: 2025. | |
| year_from | No | Start year (inclusive, 2000–2025). Default: 2020. | |
| technology | No | Energy technology to query. Default: "Total renewable energy". Renewable options: Total renewable energy, Solar energy, Solar photovoltaic, Wind energy, Onshore wind energy, Offshore wind energy, Renewable hydropower, Bioenergy, Geothermal energy. | |
| grid_connection | No | Grid connection type. Default: "OnGrid". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |