Weather Data Scraper avatar

Weather Data Scraper

Pricing

from $1.00 / 1,000 weather data scrapers

Go to Apify Store
Weather Data Scraper

Weather Data Scraper

Collect daily and 48-hour forecasts plus rolling recent observations from weather.com for locations worldwide. Select metric or imperial units and cap the number of dataset records.

Pricing

from $1.00 / 1,000 weather data scrapers

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Weather.com Weather Data Scraper

Extract daily and 48-hour forecasts plus rolling recent observations from public Weather.com data for recognized locations. Pricing is $0.001 per saved dataset item on the Free plan, plus $0.00005 per Actor Start event on the Free plan.

  • Scrape daily conditions, temperatures, precipitation chances, wind, and sun times for travel planning.
  • Extract hourly forecast details grouped by local date for short-term monitoring.
  • Analyze rolling 24-hour observations, including temperature, pressure, visibility, and precipitation.
  • Compare locations in metric or imperial units while capping saved records across the run.
  • Run without a buyer-owned Weather.com API key or login; the Actor discovers the public client key at runtime.

What you get

The Actor uses Weather.com location search and public weather data routes:

  • forecast-daily returns up to 10 daily records per location.
  • forecast-hourly groups the 48-hour forecast into records by local date.
  • history groups the rolling 24-hour observations by local date and calculates summary values.

Source fields that are unavailable are omitted. summary is omitted when it has no values, and empty fields inside hourly arrays are omitted.

Field familyFieldsTypeMode
Record identitylocation, locationName, locationId, dataType, date, dayOfWeek, unitsstringAll modes; omitted when unavailable
Collection timescrapedAtISO 8601 stringAll modes; omitted when unavailable
Daily forecast valueshighTemp, lowTemp, precipitation, windSpeednumberforecast-daily; omitted when unavailable
Daily forecast valuesprecipChance, humidity, cloudCover, uvIndexintegerforecast-daily; omitted when unavailable
Daily forecast valuesconditions, windDirection, narrativestringforecast-daily; omitted when unavailable
Daily sun timessunrise, sunsetstringforecast-daily; omitted when unavailable
Hourly forecasthourlyForecast.time, hourlyForecast.windDirection, hourlyForecast.conditionsstringforecast-hourly; omitted when unavailable
Hourly forecasthourlyForecast.temp, hourlyForecast.feelsLike, hourlyForecast.windSpeednumberforecast-hourly; omitted when unavailable
Hourly forecasthourlyForecast.humidity, hourlyForecast.precipChance, hourlyForecast.cloudCover, hourlyForecast.uvIndexintegerforecast-hourly; omitted when unavailable
Hourly observationshourlyObservations.time, hourlyObservations.windDirection, hourlyObservations.conditionsstringhistory; omitted when unavailable
Hourly observationshourlyObservations.temp, hourlyObservations.dewPoint, hourlyObservations.windSpeed, hourlyObservations.windGust, hourlyObservations.precip24Hour, hourlyObservations.pressure, hourlyObservations.visibilitynumberhistory; omitted when unavailable
Hourly observationshourlyObservations.humidityintegerhistory; omitted when unavailable
Observation summarysummaryobjecthistory; omitted when empty
Observation summary valuessummary.highTemp, summary.lowTemp, summary.avgTemp, summary.dewPoint, summary.maxWindSpeed, summary.avgWindSpeed, summary.precipitation24Hour, summary.pressure, summary.visibilitynumberhistory; individual fields omitted when unavailable
Hourly data arrayshourlyForecast, hourlyObservationsarray of objectsforecast-hourly or history; entries for each local date

Sample output

Example forecast-daily record for San Francisco, CA

{
"location": "San Francisco, CA", "locationName": "San Francisco",
"locationId": "USCA0987:1:US", "dataType": "forecast-daily",
"date": "2026-11-16", "units": "metric",
"scrapedAt": "2026-11-17T00:51:36.970524+00:00",
"dayOfWeek": "Monday", "highTemp": 16, "lowTemp": 10,
"conditions": "Partly Cloudy", "precipChance": 18, "humidity": 76,
"windSpeed": 13, "windDirection": "NNW", "cloudCover": 36,
"uvIndex": 0, "narrative": "Partly cloudy. Low 8C.",
"precipitation": 0, "sunrise": "2026-11-16T06:51:03-0800",
"sunset": "2026-11-16T16:57:20-0800"
}

Pricing

This Actor uses pay-per-event billing:

Charge eventUnitFree-plan price
apify-actor-startevent$0.00005 per event on the Free plan
apify-default-dataset-itemevent$0.001 per event on the Free plan

Each saved dataset record is one billable dataset-item event. On the Free plan, 1,000 saved dataset records with one Actor Start event cost 1,000 × $0.001 + $0.00005 = $1.00005, and 10,000 saved dataset records with one Actor Start event cost 10,000 × $0.001 + $0.00005 = $10.00005. On the Free plan, the $5 credit covers 4,999 dataset items (with one Actor Start event).

Apify’s Free plan includes $5 of monthly platform usage credit.

You pay only for the events listed above. This Actor does not use the Pay per event + usage option, so compute, proxy traffic, and storage are not billed separately to you.

How to use

  1. Open the Actor in your Apify account.
  2. Choose forecast-daily, forecast-hourly, or history for dataType.
  3. Enter one or more city names or Weather.com-recognized locations.
  4. Select metric or imperial units and set maxResults to the total record limit.
  5. Use the default Apify Proxy with the RESIDENTIAL group, select another group in proxyConfiguration, or disable the proxy for direct requests.
  6. Run the Actor and read the records from its dataset.
  7. Repeat the run through Apify Schedules; daily is a suitable starting point for regularly collecting weather records.

Example input:

{
"dataType": "forecast-hourly",
"locations": ["San Francisco, CA", "Prague"],
"units": "metric",
"maxResults": 20
}

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

ParameterWhat it doesDefault
dataTypeSelects forecast-daily, forecast-hourly, or history.forecast-daily
locationsArray of non-empty city names or Weather.com-recognized locations. A string is also accepted as one location.No default; UI prefill: San Francisco, CA
unitsSelects Weather.com units for temperature, wind, and precipitation: metric or imperial.metric
maxResultsMaximum dataset records saved across the run.50
proxyConfigurationOptional Apify Proxy configuration. Select a proxy group or disable the proxy for direct requests.Apify Proxy, RESIDENTIAL group

Limits and edge cases

ConditionWhat you seeWhat to do
Records are generated for a locationforecast-daily returns at most 10 records per location. forecast-hourly returns one record per local date in its 48-hour payload, about 2-3 per location. history returns one per local date in its 24-hour payload, about 1-2 per location. Unparseable dates are skipped. Each record is billable.Choose the mode and time range you need.
maxResults is reachedThe Actor stops pushing records when the total reaches the configured limit.Increase maxResults or split locations across runs.
A location is ambiguous, has no candidates, or has no coordinatesOne candidate is used. Matching uses the part before the first comma, so Prague can resolve to an unintended place. The result appears in locationName and locationId; no candidate or coordinates raises an error.Check those fields and use a more specific location.
A weather payload is not an object or has no usable timestampsNo records are produced; the run does not fail, so the dataset can be empty or shorter than expected.Check the mode and location, then run again.
A request fails, returns HTTP 429, or returns HTTP 500 or higherThe request is retried up to three attempts. Continued failure raises an error. Other HTTP responses raise an error without those retries.Retry the run or select another proxy group.
Weather.com JavaScript does not list expected chunks or a public client keyThe run raises an error during public-key discovery.Retry later or use the proxy configuration.
dataType is unsupported, or locations is missing or emptyValidation fails.Use one supported mode and provide one or more non-empty locations.
units is not metric or imperialmetric is used.Use a supported unit value.
maxResults is zero or negativeThe run ends as Succeeded with an empty dataset.Use an integer of at least 1.

Records are pushed as each location is parsed. An error, timeout, or abort leaves already-pushed records in the dataset. A failing location stops the run, so later locations are not processed; pushed records remain subject to dataset-item billing.

FAQ

How much does it cost to scrape Weather.com?

See Pricing for the event prices, Free-plan calculation, and platform usage treatment.

Why did the run return an empty dataset?

A payload can produce no records when it is not an object or has no usable timestamps. An unresolved location raises an error during discovery. Check the locations and selected dataType.

What should I check if the Actor is not working?

Confirm dataType, units, and maxResults. Network failures, HTTP 429, and HTTP 500-or-higher responses are retried up to three attempts. The Apify Proxy is on by default, and another proxy group can be selected in proxyConfiguration.

The Actor collects public data supplied through Weather.com’s public route. Whether a use is legal or allowed under the source’s terms and applicable law depends on the buyer’s use case; review those terms and requirements.