# Weather forecast for 10 European capitals, next 48 hours

**Use case:** 

Hourly weather for the next 48 hours in London, Paris, Berlin, Madrid, Rome, Amsterdam, Vienna, Stockholm, Warsaw and Lisbon: temperature in C and F, rain, wind, clouds, humidity and pressure, with local time. One row per city per hour. Data from MET Norway (CC BY 4.0).

## Input

```json
{
  "cities": [
    "London, GB",
    "Paris, FR",
    "Berlin, DE",
    "Madrid, ES",
    "Rome, IT",
    "Amsterdam, NL",
    "Vienna, AT",
    "Stockholm, SE",
    "Warsaw, PL",
    "Lisbon, PT"
  ],
  "locations": [
    "-33.8688,151.2093",
    {
      "latitude": 64.1466,
      "longitude": -21.9426,
      "label": "Reykjavik harbour"
    }
  ],
  "maxHoursAhead": 48,
  "useCache": true,
  "maxRetries": 3
}
```

## Output

```json
{
  "query": {
    "label": "Input",
    "format": "string"
  },
  "matchedPlace": {
    "label": "Matched place",
    "format": "string"
  },
  "timeUtc": {
    "label": "Time (UTC)",
    "format": "string"
  },
  "localTime": {
    "label": "Local time",
    "format": "string"
  },
  "temperatureC": {
    "label": "°C",
    "format": "number"
  },
  "temperatureF": {
    "label": "°F",
    "format": "number"
  },
  "precipitationMmNext1h": {
    "label": "Rain mm (1 h)",
    "format": "number"
  },
  "precipitationMmNext6h": {
    "label": "Rain mm (6 h)",
    "format": "number"
  },
  "symbolNext1h": {
    "label": "Weather (1 h)",
    "format": "string"
  },
  "symbolNext6h": {
    "label": "Weather (6 h)",
    "format": "string"
  },
  "windSpeedMs": {
    "label": "Wind m/s",
    "format": "number"
  },
  "windSpeedKmh": {
    "label": "Wind km/h",
    "format": "number"
  },
  "windFromCompass": {
    "label": "Wind from",
    "format": "string"
  },
  "cloudCoverPercent": {
    "label": "Cloud %",
    "format": "number"
  },
  "relativeHumidityPercent": {
    "label": "Humidity %",
    "format": "number"
  },
  "pressureHpaSeaLevel": {
    "label": "Pressure hPa",
    "format": "number"
  },
  "attribution": {
    "label": "Source",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Weather Forecast API - Worldwide, Any City or Coordinates](https://apify.com/neverempty/weather-forecast-worldwide.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/weather-forecast-worldwide.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/weather-forecast-worldwide.md

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`).
