Skip to main content

GET /api/weather

Retrieve current weather conditions and forecast for the Dowa district (where Dzaleka is located).
Weather data is sourced from the Malawi Meteorological Services website and updated regularly.

Query Parameters

No query parameters required.

Response Format

string
required
Location name (typically “Dowa”)
string
required
Forecast date
object
required
Weather forecast data
object
required
Current weather conditions
string
Maximum temperature
string
Minimum temperature
string
Weather condition (e.g., “Sunny”, “Rain”, “Cloudy”)
string
Expected rainfall amount
string
Wind speed
string
Wind direction
string
Time period for forecast
array
required
Hourly forecast breakdown with same fields as current
array
required
Array of weather alerts and warnings
string
Alert type (“warning”, “severe”, “info”)
string
Alert message with details
string
required
ISO 8601 timestamp of last data update

Example Request

Example Response

Error Responses

string
Error message if weather data fetch fails
500 Internal Server Error:

Use Cases

  • Display current weather on community dashboard
  • Plan outdoor events based on forecast
  • Agriculture and farming planning
  • Community safety alerts during severe weather

Data Source

Weather data is scraped from the Malawi Meteorological Services daily forecast for Dowa district.

Events API

Plan events with weather data

Population API

Camp population statistics