# Meteociel Historical Scraper Task

**Use case:** 

Retrieve detailed hourly historical weather data for Paris from January 1, 2024. This task provides temperature, humidity, wind conditions, and more, giving you a comprehensive view of the city's weather during this period.

## Input

```json
{
  "stationCode": "7156",
  "cityName": "Paris",
  "dateFrom": "2024-01-01",
  "dateTo": "2024-01-05",
  "delayMs": 1000,
  "maxRetries": 3
}
```

## Output

```json
{
  "date": {
    "label": "Date",
    "format": "text"
  },
  "hour": {
    "label": "Hour",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "stationCode": {
    "label": "Station",
    "format": "text"
  },
  "temperature_c": {
    "label": "Temp (°C)",
    "format": "number"
  },
  "humidity_pct": {
    "label": "Humidity (%)",
    "format": "number"
  },
  "pressure_hpa": {
    "label": "Pressure (hPa)",
    "format": "number"
  },
  "wind_speed_kmh": {
    "label": "Wind (km/h)",
    "format": "number"
  },
  "wind_direction": {
    "label": "Wind Dir.",
    "format": "text"
  },
  "rainfall_mm": {
    "label": "Rain (mm)",
    "format": "number"
  },
  "weather_condition": {
    "label": "Condition",
    "format": "text"
  }
}
```

## FAQ

### What data does the Meteociel Historical Scraper Task return?

The Meteociel Historical Scraper Task returns hourly weather observations, including temperature, humidity, pressure, wind speed, rainfall, and weather conditions for a specified city or station.

### What input is needed for this task?

The task requires a city name or a station code, along with a specified date range with a start and end date.

### What is the output format of this task?

The task outputs data as structured JSON objects, with each object representing an hourly observation of weather data.

### How does the task resolve station codes for cities?

The task automatically resolves the station code from the provided city name if the station code is not specified.

### Can I schedule the Meteociel Historical Scraper Task to run automatically?

Yes, the task can be scheduled to run automatically in the Apify Console.

## About this Actor

This example demonstrates how to use [Meteociel Historical Scraper](https://securitybyobscurity.apify.com/outstretched_zinc/meteociel-historical-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://securitybyobscurity.apify.com/outstretched_zinc/meteociel-historical-scraper.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://securitybyobscurity.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://securitybyobscurity.apify.com/outstretched_zinc/meteociel-historical-scraper.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`).
