Google Weather Scraper
Pricing
from $2.49 / 1,000 results
Google Weather Scraper
Scrapes weather data and forecasts from Google Search weather widgets
Pricing
from $2.49 / 1,000 results
Rating
0.0
(0)
Developer
ScrapeAI
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
What does Google Weather Scraper do?
Scrapes weather data and forecasts from Google Search weather widgets It requests the live source at https://www.google.com/search?q=weather and turns the returned page or response into structured dataset records. This actor is useful when you need to extract current weather and forecast data for a location. Results are parsed from the configured Google source, and each record includes run metadata when the source exposes a usable result.
Why use this actor?
Use this actor when a repeatable Apify run is more useful than manually checking Google. Inputs are exposed as a schema, results are written to an Apify Dataset, and the checked sample in input.json can be copied into the Console or API. The actor keeps result fields predictable while retaining source and run context in metadata where available.
What data can it collect?
The dataset fields depend on the selected Google result type. Typical records include the visible title, URL, summary, rank, source details, and actor-specific fields such as prices, ratings, dates, language, coordinates, or travel information. See the Output table below for the fields declared by this actor's dataset schema. A field can be null or absent when Google does not expose it for a particular result.
How to scrape Google Weather Scraper?
- Open the actor in Apify and create a new run.
- Enter the search, location, URL, language, date, or other values shown in the Input table.
- Keep the prefilled proxy configuration for normal runs; use an appropriate Apify Proxy group when the source requires it.
- Start the run and open the Dataset tab to export JSON, CSV, Excel, or RSS-compatible records.
- For automation, send the same JSON to the Apify API or schedule the actor from the Console.
A complete checked example is available in input.json:
{"locations": ["New York"],"unit": "celsius","language": "en","proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
How much does it cost?
The total cost varies with run duration, compute usage, proxy traffic, result volume, and the Apify plan. Google pages can require retries or proxy requests, so a large pagination or expansion setting costs more than a single small query. Check the current estimate shown by Apify for the selected actor, proxy, and run before scaling it.
Input
All fields are optional unless marked required by the schema. Use the Apify Console form or pass JSON matching input_schema.json.
| Field | Type | Description | Prefill / default | Required |
|---|---|---|---|---|
| Locations | array | List of locations to get weather data for | ["New York","London","Tokyo"] | No |
| Temperature Unit | string | Temperature unit for weather results (celsius or fahrenheit) | celsius | No |
| Language | string | Language code for search results (e.g. en, de, fr) | en | No |
| Proxy Configuration | object | Proxy configuration. Use Apify Proxy with RESIDENTIAL group for best results. | {"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]} | No |
Output
When Google provides no usable weather widget, a live wttr.in API response supplies current conditions and forecast. metadata.source names the provider, and metadata.url points to the endpoint that supplied the record.
Each successful result is pushed to the Apify Dataset. The following fields are declared in .actor/dataset_schema.json:
| Field | Type | Description |
|---|---|---|
| Location | string | Location extracted from the source result when available. |
| Temperature | string | null | Temperature extracted from the source result when available. |
| Temperature Value | number | null | Temperature Value extracted from the source result when available. |
| Unit | string | Unit extracted from the source result when available. |
| Condition | string | null | Condition extracted from the source result when available. |
| Humidity | string | null | Humidity extracted from the source result when available. |
| Wind | string | null | Wind extracted from the source result when available. |
| Precipitation | string | null | Precipitation extracted from the source result when available. |
| Feels Like | string | null | Feels Like extracted from the source result when available. |
| Visibility | string | null | Visibility extracted from the source result when available. |
| Uv Index | string | null | Uv Index extracted from the source result when available. |
| Forecast | array | null | Forecast extracted from the source result when available. |
| Timestamp | string | Timestamp extracted from the source result when available. |
| Query | string | Input query associated with the record. |
| Metadata | object | Run metadata such as source URL, crawl time, actor ID, and run ID. |
Tips / Advanced options
- Start with one focused query and a conservative result limit, then increase the limit or page/expansion settings after checking the output.
- Keep the country, language, location, date, and device settings aligned with the search context you want to measure.
- Use a stable proxy configuration for repeatable runs; changing geography can change the visible Google results.
- Treat missing, null, or empty fields as normal because Google result layouts vary by query and over time.
- Store the input and run ID with downstream records so a later run can be compared with an earlier snapshot.
FAQ, Disclaimers, and Support
Why did a run return fewer records? Google may show fewer results, a consent page, a CAPTCHA, a block page, or no matching items for the query. Try a narrower query, a supported location, or an appropriate proxy and review the run log.
Does this provide guaranteed or permanent data? No. Google page structure, availability, ranking, prices, and policies can change. Results are a point-in-time snapshot and should be validated before high-impact decisions.
Can I use the data commercially? Check Google's terms, the source page's terms, applicable privacy rules, and your Apify plan before collecting or redistributing data. Do not use the actor to bypass access controls.
Where can I get help? Review the run log and input schema first, then contact the actor owner through the Apify Console with the actor version, input JSON, run ID, and a short description of the problem.