Get accurate weather forecasts for any city worldwide. Powered by Open-Meteo, a free and open-source weather API with data from national weather services.

🅞 Powered by Open-Meteo

This API uses Open-Meteo, a free and open-source weather API that combines data from multiple national weather services including ECMWF, DWD, MeteoFrance, NOAA, and more. Open-Meteo provides high-resolution weather forecasts with up to 16 days of data.

🌐 open-meteo.com  |  📖 API Docs  |  💻 GitHub

API Endpoint

Send a GET request to:

https://api.ethioall.com/weather/weather.php

Parameters

Parameter Type Default Description
city string (required) City name (e.g., "Addis Ababa", "London", "Dubai")

Try the API

Response:
Click a button to see the response here...

Example Request

GET /weather/weather.php?city=Addis+Ababa
GET /weather/weather.php?city=London
GET /weather/weather.php?city=Dubai

Example Response

{
    "source": "Open-Meteo",
    "city": "Addis Ababa",
    "country": "Ethiopia",
    "current": {
        "temperature": 22.5,
        "humidity": 45,
        "condition": "Partly cloudy"
    },
    "hourly": [
        {
            "time": "2026-07-09T00:00",
            "temp": 16.2,
            "condition": "Clear sky"
        }
    ],
    "daily": [
        {
            "date": "2026-07-09",
            "max_temp": 24.8,
            "min_temp": 14.2,
            "condition": "Partly cloudy"
        }
    ]
}

Features

🌎 Worldwide Coverage Weather data for any city on Earth
🌡 Current Conditions Temperature, humidity, and weather condition
📈 3-Day Forecast Hourly (24h) and daily (3 days) forecasts
🌎 Auto Geocoding Just provide a city name, coordinates are resolved automatically
🌍 Free & Open Powered by Open-Meteo, completely free and open-source
💾 Cached Responses 30-minute cache for better performance

Response Fields

Field Description
sourceData source ("Open-Meteo")
cityResolved city name
countryResolved country name
current.temperatureCurrent temperature in °C
current.humidityCurrent relative humidity (%)
current.conditionCurrent weather condition description
hourly[].timeISO8601 timestamp
hourly[].tempTemperature at that hour (°C)
hourly[].conditionWeather condition description
daily[].dateDate (YYYY-MM-DD)
daily[].max_tempMaximum temperature (°C)
daily[].min_tempMinimum temperature (°C)
daily[].conditionWeather condition description

WMO Weather Codes

Weather conditions are based on WMO weather interpretation codes:

CodeDescription
0Clear sky
1, 2, 3Mainly clear, Partly cloudy, Overcast
45, 48Foggy
51-55Drizzle (light to dense)
61-65Rain (slight to heavy)
71-75Snow (slight to heavy)
80-82Rain showers
95-99Thunderstorm with possible hail

Error Response

{
    "error": "City is required"
}

or

{
    "error": "City not found"
}