Weather Forecast & Historical Data
Pricing
from $10.00 / 1,000 results
Weather Forecast & Historical Data
Scrapes weather forecasts, historical weather, and air quality data from the Open-Meteo API. Supports multi-location batch queries, 50+ weather variables, city name geocoding, and data going back to 1940. No API key required.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
Jamshaid Arif
Actor stats
0
Bookmarked
3
Total users
2
Monthly active users
2 days ago
Last modified
Categories
Share
🌤️ Open-Meteo — Weather Forecast & Historical Data — Apify Actor
Scrapes weather forecasts, historical weather, and air quality data from the Open-Meteo API. Supports multi-location batch queries, 50+ weather variables, city name geocoding, and data going back to 1940. No API key required.
Features
- 3 data modes — forecast (up to 16 days), historical (1940–present), and air quality.
- Multi-location — batch query any number of cities or coordinates in one run.
- Auto-geocoding — type city names like
Lahore, PK— coordinates are resolved automatically. - 50+ weather variables — temperature, precipitation, wind, humidity, UV, cloud cover, soil, solar radiation, and more.
- 21 air quality variables — PM2.5, PM10, ozone, NO₂, CO, pollen, AQI indices.
- Hourly + Daily — fetch either or both granularities.
- Unit selection — °C/°F, km/h/mph/m·s⁻¹/knots, mm/inches.
- WMO weather codes decoded into human-readable descriptions.
- 4 output formats — one-per-day, one-per-hour, one-per-location, raw.
Input Examples
7-Day Forecast for Multiple Cities
{"mode": "forecast","locations": "New York, US\nLondon, UK\nTokyo, JP\nLahore, PK","dailyVariables": ["temperature_2m_max", "temperature_2m_min","precipitation_sum", "windspeed_10m_max","weathercode", "sunrise", "sunset", "uv_index_max"],"forecastDays": 7,"temperatureUnit": "celsius","outputFormat": "one_per_day"}
Hourly Forecast with Wind & Humidity
{"mode": "forecast","locations": "48.8566,2.3522,Paris\n40.7128,-74.0060,New York","hourlyVariables": ["temperature_2m", "apparent_temperature","relative_humidity_2m", "windspeed_10m","precipitation_probability", "weathercode"],"forecastDays": 3,"outputFormat": "one_per_hour"}
Historical Weather for 2024
{"mode": "historical","locations": "Islamabad, PK\nDelhi, IN","dailyVariables": ["temperature_2m_max", "temperature_2m_min","precipitation_sum", "windspeed_10m_max"],"startDate": "2024-01-01","endDate": "2024-12-31","outputFormat": "one_per_day"}
Air Quality Monitoring
{"mode": "air_quality","locations": "Lahore, PK\nDelhi, IN\nBeijing, CN","airQualityVariables": ["pm2_5", "pm10", "us_aqi","nitrogen_dioxide", "ozone", "carbon_monoxide"],"forecastDays": 5,"outputFormat": "one_per_hour"}
Location Input Formats
Each line in the locations field can be:
| Format | Example | Notes |
|---|---|---|
| City, Country | Lahore, PK | Auto-geocoded via Open-Meteo |
| City name | London | Works but add country for precision |
| Coordinates | 32.68,73.96 | Direct lat,lon |
| Coords + Label | 32.68,73.96,Lala Musa | Lat,lon with custom name |
Output Formats
One Per Day (default)
Best for daily data. Each row = one location × one date.
| Field | Example |
|---|---|
id | 1 |
location | London, United Kingdom |
latitude | 51.5085 |
longitude | -0.1257 |
country | United Kingdom |
timezone | Europe/London |
date | 2025-04-06 |
temperature_2m_max | 14.2 |
temperature_2m_max_unit | °C |
temperature_2m_min | 7.8 |
precipitation_sum | 0.3 |
weathercode | 3 |
weather_description | Overcast |
sunrise | 2025-04-06T06:23 |
sunset | 2025-04-06T19:42 |
One Per Hour
Best for hourly data. Each row = one location × one hour.
One Per Location
All daily/hourly data nested under each location. Best for JSON export.
Raw
Original API response with _location_label added.
Daily Variables (21 available)
Temperature (max/min, actual/apparent), precipitation (total/rain/snow/hours/probability), weather code, sunrise/sunset, sunshine/daylight duration, wind (speed/gusts/direction), solar radiation, evapotranspiration, UV index.
Hourly Variables (29 available)
Temperature, apparent temperature, humidity, dewpoint, precipitation, rain, snowfall, snow depth, weather code, pressure (MSL/surface), cloud cover (total/low/mid/high), visibility, wind (speed/direction/gusts at 10m and 80m), UV index, is_day flag, sunshine duration, radiation (shortwave/direct/diffuse), soil temperature, soil moisture.
Air Quality Variables (21 available)
PM10, PM2.5, CO, NO₂, SO₂, O₃, dust, UV, ammonia, pollen (6 types), European AQI, US AQI (total and per-pollutant).
WMO Weather Codes
The actor automatically decodes WMO numeric codes into descriptions:
| Code | Description | Code | Description |
|---|---|---|---|
| 0 | Clear sky | 61 | Slight rain |
| 1 | Mainly clear | 63 | Moderate rain |
| 2 | Partly cloudy | 65 | Heavy rain |
| 3 | Overcast | 71 | Slight snowfall |
| 45 | Fog | 80 | Slight rain showers |
| 51 | Light drizzle | 95 | Thunderstorm |