Weather Forecast and History Scraper avatar

Weather Forecast and History Scraper

Pricing

from $13.50 / 1,000 results

Go to Apify Store
Weather Forecast and History Scraper

Weather Forecast and History Scraper

Get weather for any place in the world: daily and hourly forecasts with sunrise and sunset, and daily history since 1981 with monthly summaries, degree days, frost and rain days. For the United States also get active weather alerts and live station observations. Export to CSV or Excel.

Pricing

from $13.50 / 1,000 results

Rating

0.0

(0)

Developer

ParseLab

ParseLab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Categories

Share

This weather scraper returns forecasts and past weather for any place in the world, plus active weather alerts and live observations for the United States. Enter city names or coordinates and get clean rows in metric or imperial units: a daily forecast with highs, lows, rain, wind, sunrise and sunset, an hourly forecast, daily history back to 1981, and monthly or yearly climate summaries.

Beyond the usual temperature and rain, the history rows include the numbers farmers, energy analysts and event planners ask for: growing degree days, heating and cooling degree days, frost days, rain days, hot days, solar radiation, dew point, humidity and wind. Monthly and yearly summaries add totals and counts for the whole period. For the United States you also get active alerts such as tornado, flood, heat and winter storm warnings, with severity, instructions and expiry time, and the latest reading measured at the nearest weather station.

Farmers, energy traders, logistics teams, insurers, event planners and app developers use it to plan, to model demand and to explain sales.

What can you do with this weather scraper?

  • Get a 7 day forecast for a list of cities
  • Get an hourly forecast with feels like temperature, wind gusts, cloud cover and UV
  • Find sunrise and sunset times for every day of the forecast
  • Download daily weather history for a place since 1981
  • Compare monthly rainfall and temperature across years
  • Count frost days, rain days and hot days in a season
  • Calculate heating and cooling degree days for energy demand
  • Track growing degree days for crops
  • List active tornado, flood and heat warnings in a state
  • Read the latest measured temperature, wind and visibility at a United States station
  • Export weather data to CSV or Excel

What data can you extract about the weather?

ModeOne row isHighlights
Forecast, dailyOne place and dayHigh, low and mean temperature, total precipitation, rainy periods, highest rain probability, wind and gust maximum, mean humidity, cloud cover, UV index, pressure, sunrise, sunset, main weather
Forecast, hourlyOne forecast stepTemperature, feels like, dew point, humidity, pressure, wind speed, gust and direction, cloud cover by layer, fog, UV, precipitation and probability, weather
HistoryOne place and day, month or yearMean, maximum and minimum temperature, dew point, humidity, precipitation, wind at 2 and 10 meters, pressure, solar radiation, degree days, frost, rain and hot day flags
Alerts (United States)One active alertEvent, severity, certainty, urgency, headline, description, instructions, area, states, effective and expiry time, sender
Observations (United States)One placeStation, time, conditions, temperature, dew point, humidity, wind, pressure, visibility, heat index, wind chill, cloud layers

Every row shows its units. You can switch all fields between metric and imperial.

How to scrape weather

  1. Choose What to collect, for example Forecast.
  2. Enter places as city names or coordinates such as 40.71,-74.00.
  3. Pick daily or hourly detail, the number of days and the units.
  4. For history, set the start and end dates. For alerts, enter states.
  5. Set Max Items and click Start.
  6. Export the dataset as CSV, Excel or from the Apify console.

Input example

{
"mode": "forecast",
"locations": ["40.71,-74.00", "Berlin"],
"forecastDays": 7,
"units": "metric",
"maxItems": 50
}

Daily forecast output example

{
"location": "40.71,-74.00",
"latitude": 40.71,
"longitude": -74,
"timezone": "America/New_York",
"date": "2026-09-29",
"temperatureMax": 21.2,
"temperatureMin": 14.8,
"temperatureMean": 19.3,
"precipitationTotal": 0,
"windSpeedMax": 9,
"humidityMeanPct": 82,
"cloudCoverMeanPct": 86,
"pressureMean": 1016.6,
"sunrise": "2026-09-29T06:50-04:00",
"sunset": "2026-09-29T18:41-04:00",
"weather": "Cloudy",
"units": { "temperature": "°C", "speed": "km/h", "precipitation": "mm", "pressure": "hPa" }
}

Monthly history output example

{
"location": "40.71,-74.00",
"period": "2025-01",
"days": 31,
"temperatureMean": 0.2,
"temperatureMax": 9.7,
"temperatureMin": -8.4,
"precipitationTotal": 22.3,
"rainDays": 5,
"frostDays": 22,
"humidityMeanPct": 76,
"heatingDegreeDaysTotal": 560,
"coolingDegreeDaysTotal": 0,
"source": "NASA POWER"
}

How much does it cost to scrape weather?

You pay per result: $18 per 1,000 rows plus a tiny start fee. The free plan returns up to 10 rows per run. A 7 day daily forecast for 100 cities is 700 rows, and a full year of daily history for one place is 365 rows.

Tips for better results

  • Coordinates are exact and faster. City names are looked up in a public place database and the first match is used, so check the place name in the result.
  • The first day of a forecast can be partial when you run late in the day. Daily rows show how many hours they cover and flag a partial day.
  • History comes from a global model that combines satellite and ground data at a resolution of about 50 kilometers. It is good for trends, farming and energy work, not for the exact reading of one weather station.
  • The most recent days of history are missing for a few days. The default end date is five days ago.
  • Alerts and observations cover the United States only. Forecast and history cover the whole world.

Who uses weather data?

  • Farmers and agronomists track growing degree days, frost and rain.
  • Energy and utility analysts model demand with heating and cooling degree days.
  • Retail, logistics and event teams plan around forecasts and past weather.
  • Developers power apps, dashboards and alerts.

Automate and connect

Schedule the Actor every morning for your list of places, or every hour for alerts in your states. Send finished datasets to Google Sheets, Slack, Zapier, Make or n8n, or trigger a webhook when a run ends.

FAQ

Do I need an account? No. The Actor works without any login.

Where does the data come from? Forecasts come from MET Norway and are shared under the Creative Commons Attribution 4.0 license, so credit MET Norway if you publish them. History comes from NASA POWER. Alerts and observations come from the United States National Weather Service.

How many days ahead is the forecast? Up to 10 days.

How far back does the history go? To 1981.

Does it include air quality? No. This Actor covers weather only.

This Actor collects information that is publicly visible on the website. Check the source site's terms and your local rules before using the data. Forecast data is provided by MET Norway. Weather can change quickly, so do not use this data alone for decisions about safety.

Support

Missing a field or found a bug? Open an issue from the Actor page.