# Ventusky Weather Scraper - Forecasts, Temperature & Rain (`axery/ventusky-weather-scraper`) Actor

Fast and lightweight scraper for Ventusky. Extract global 14-day forecasts, hourly temperatures (C and F), rain probabilities, and wind speeds with zero blocking.

- **URL**: https://apify.com/axery/ventusky-weather-scraper.md
- **Developed by:** [Axery](https://apify.com/axery) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 location weather forecasts

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Ventusky Weather Scraper

Fast, lightweight, and cost-effective Apify Actor to extract real-time weather, multi-day forecasts, and hourly conditions from **Ventusky**.

***

### 🚀 Key Features

- **Worldwide City Coverage**: Query weather for any city or location globally (e.g. `london`, `new-york`, `paris`, `tokyo`, `jakarta`).
- **Dual Units (°C and °F, mm and inches)**: All temperatures, rainfall levels, and wind speeds are automatically calculated and provided in both metric and imperial units.
- **Detailed Hourly Forecast**: Extract hourly breakdowns covering temperature, rain accumulation, precipitation chance %, wind direction, and speed.
- **Multi-Day Outlook**: High-level daily forecast for upcoming days.
- **Ultra-Lightweight & Fast**: Runs in ~1 second per location using `curl_cffi`, requiring only 256MB RAM.

***

### 📥 Input Configuration

| Parameter | Type | Default | Description |
|---|---|---|---|
| `locations` | Array | `["london", "new-york", "tokyo"]` | Cities or location slugs to query. |
| `includeHourly` | Boolean | `true` | Include detailed 24-hour hourly forecast rows. |
| `incremental` | Boolean | `false` | Avoid querying previously seen locations on recurring runs. |
| `proxyConfiguration` | Object | Direct | Optional proxy configuration. |

***

### 📤 Output Data Schema

```json
{
  "location_query": "london",
  "city_name": "London",
  "latitude": 51.5073359,
  "longitude": -0.12765,
  "current_temp_c": 17.8,
  "current_temp_f": 64.0,
  "current_rain_mm": 0.0,
  "current_wind_kmh": 12.9,
  "current_wind_dir": "SW",
  "days_overview": [
    {"day": "Fri", "max_temp_c": 22.8, "max_temp_f": 73.0},
    {"day": "Sat", "max_temp_c": 22.2, "max_temp_f": 72.0}
  ],
  "hourly_forecast": [
    {
      "time": "13:00",
      "temp_c": 22.2,
      "temp_f": 72.0,
      "rain_mm": 0.0,
      "rain_inch": 0.0,
      "rain_probability_pct": 0,
      "wind_direction": "W",
      "wind_kmh": 11.3,
      "wind_mph": 7
    }
  ],
  "url": "https://www.ventusky.com/london",
  "scraped_at": "2026-09-10T17:12:21.796000+00:00"
}
```

# Actor input Schema

## `locations` (type: `array`):

List of cities or locations to extract weather forecasts for (e.g. \['london', 'paris', 'tokyo', 'new-york']).

## `includeHourly` (type: `boolean`):

If enabled, includes full 24-hour detailed breakdown with rain, wind speed, and direction.

## `incremental` (type: `boolean`):

When enabled, avoids re-querying locations processed in recent runs.

## `proxyConfiguration` (type: `object`):

Optional proxy configuration.

## Actor input object example

```json
{
  "locations": [
    "london",
    "new-york",
    "tokyo",
    "paris",
    "jakarta"
  ],
  "includeHourly": true,
  "incremental": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing output records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "london",
        "new-york",
        "tokyo",
        "paris",
        "jakarta"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("axery/ventusky-weather-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "locations": [
        "london",
        "new-york",
        "tokyo",
        "paris",
        "jakarta",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("axery/ventusky-weather-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "london",
    "new-york",
    "tokyo",
    "paris",
    "jakarta"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call axery/ventusky-weather-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,axery/ventusky-weather-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ydUHjyJg3HifxJ8Pt/builds/Oao1e4q122idCwrUZ/openapi.json
