Weather Scraper avatar

Weather Scraper

Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
Weather Scraper

Weather Scraper

epctex/weather-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Get data about weather forecasts or analyze conditions in any location in the world. This scraper downloads information about forecasts, humidity, temperature, wind, etc. and delivers it in HTML, JSON, XLSX, and more.

You can access the Weather Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "startUrls": [
3    {
4      "url": "https://weather.com/weather/today/l/5aea1d50a6d6b9e99cf89ba79f463d67dcf21ea5061990aae1ffc1c7fa8911a9"
5    },
6    {
7      "url": "https://weather.com/weather/today/l/ada030b2de8db495da2d93d5a2ecf30de1ce8b54cb09725d19c803543685646d"
8    }
9  ],
10  "locations": [
11    "Montgomery, Alabama",
12    "Juneau, Alaska"
13  ],
14  "locationIds": [
15    "e60256f3426acd3c1b3380921210fcffeab628a120c41d1de03b59a0f0dd32ad",
16    "bf217d537cc1c8074ec195ce07fb74de3c1593caa6033b7c3be4645ccc5b01de"
17  ],
18  "timeFrame": "today",
19  "units": "imperial",
20  "maxItems": 10,
21  "proxyConfiguration": {
22    "useApifyProxy": true
23  },
24  "extendOutputFunction": "($) => { return {} }",
25  "customMapFunction": "(object) => { return {...object} }"
26}' |
27apify call epctex/weather-scraper --silent --output-dataset

Weather Scraper API through CLI

The Apify CLI is the official tool that allows you to use Weather Scraper locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 4 stars

  • >99% runs succeeded

  • Created in Aug 2020

  • Modified 2 days ago

Categories