Open-Meteo Weather Scraper avatar

Open-Meteo Weather Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Open-Meteo Weather Scraper

Open-Meteo Weather Scraper

Scrape Open-Meteo, free open-source weather API with global forecasts, historical weather, air quality, marine conditions, and climate data. No API key required.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(4)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

4

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Extract weather data from Open-Meteo — a free, open-source weather API with global coverage. Get weather forecasts up to 16 days ahead, historical weather going back to 1940, air quality data, marine conditions, and city geocoding. No API key required.

What you can scrape

  • Weather forecasts — up to 16 days of daily and hourly weather for any location worldwide
  • Historical weather — past weather data for any date range since 1940
  • Air quality — PM2.5, PM10, CO, NO2, ozone levels and European AQI index
  • Marine conditions — wave heights, wave periods, swell data for coastal/ocean locations
  • Geocoding — find latitude/longitude coordinates for any city worldwide

Input

FieldTypeDescription
modeselectWhat to fetch (see modes below)
locationstringCity name for automatic geocoding (e.g. Berlin, New York)
latitudenumberGeographic latitude (-90 to 90), overrides location
longitudenumberGeographic longitude (-180 to 180), overrides location
timezoneselectTimezone for results (default: auto)
forecastDaysintegerDays to forecast, 1–16 (default: 7)
startDatestringHistorical start date YYYY-MM-DD
endDatestringHistorical end date YYYY-MM-DD
hourlyVarsarrayHourly variables to include
dailyVarsarrayDaily summary variables to include
cityNamestringCity to search in geocode mode
countrystringCountry filter for geocode mode
maxItemsintegerMaximum records to return (1–10000)

Modes

  • forecast — Daily weather forecast for 1–16 days at any location
  • historical — Past weather from 1940 onward for any date range
  • airQuality — Air pollution data including PM2.5, PM10, NO2, ozone
  • marine — Ocean wave data for coastal and offshore locations
  • geocode — Translate city names to geographic coordinates

Output

Forecast / Historical daily record

{
"recordType": "forecast",
"dataGranularity": "daily",
"date": "2026-05-25",
"location": "Berlin, Germany",
"latitude": 52.52,
"longitude": 13.41,
"timezone": "Europe/Berlin",
"elevationMeters": 38.0,
"temperatureMax": 22.5,
"temperatureMin": 12.1,
"temperatureUnit": "°C",
"precipitation": 1.2,
"weathercode": 2,
"weatherDescription": "Partly cloudy",
"windspeedMax": 18.3,
"uvIndexMax": 5.2,
"sunrise": "2026-05-25T05:02",
"sunset": "2026-05-25T21:08",
"scrapedAt": "2026-05-25T12:00:00+00:00"
}

Air quality record

{
"recordType": "airQuality",
"time": "2026-05-25T00:00",
"location": "Berlin, Germany",
"latitude": 52.52,
"longitude": 13.41,
"pm25": 8.3,
"pm10": 14.2,
"co": 215.5,
"no2": 12.1,
"ozone": 62.8,
"europeanAqiIndex": 28,
"scrapedAt": "2026-05-25T12:00:00+00:00"
}

Marine record

{
"recordType": "marine",
"date": "2026-05-25",
"location": "North Sea",
"latitude": 54.0,
"longitude": 5.0,
"waveHeightMax": 2.1,
"waveDirectionDominant": 285.0,
"wavePeriodMax": 8.5,
"swellWaveHeightMax": 1.8,
"scrapedAt": "2026-05-25T12:00:00+00:00"
}

Geocode record

{
"recordType": "geocode",
"name": "Berlin",
"country": "Germany",
"countryCode": "DE",
"latitude": 52.52437,
"longitude": 13.41053,
"elevation": 74.0,
"timezone": "Europe/Berlin",
"population": 3426354,
"scrapedAt": "2026-05-25T12:00:00+00:00"
}

Weather codes (WMO standard)

CodeDescription
0Clear sky
1–3Mainly clear / Partly cloudy / Overcast
45–48Foggy
51–55Drizzle (light to dense)
61–67Rain (slight to freezing)
71–77Snow
80–82Rain showers
85–86Snow showers
95Thunderstorm
96–99Thunderstorm with hail

Example use cases

  • Travel planning — Get forecasts for upcoming trips to any city worldwide
  • Agriculture — Historical precipitation and temperature trends for farming decisions
  • Environmental monitoring — Track air quality trends for health and compliance
  • Shipping and logistics — Wave and marine conditions for coastal routes
  • Research — Long historical climate datasets going back to 1940

FAQs

Is an API key required? No. Open-Meteo is free for non-commercial use with no registration required.

How far back does historical data go? Historical data is available from 1940 onward for most locations.

How accurate is the forecast? Open-Meteo uses multiple global weather models (ECMWF, GFS, etc.) and is highly accurate, especially for the first 7 days.

Can I get hourly data? Yes — set hourlyVars to include variables like temperature_2m, windspeed_10m, etc.

Why is marine data not available for my location? Marine data requires coordinates in or near ocean/coastal areas. Inland coordinates will return an error.

What timezones are supported? Any IANA timezone string (e.g. Europe/Berlin, America/New_York). Use auto to detect from coordinates automatically.