# Solar & Wind Resource Weather History — Open-Meteo

**Use case:** 

One week of hourly ERA5 history for Almaty from Open-Meteo: shortwave and diffuse radiation, direct normal irradiance, wind speed at 10 m and 100 m and temperature, one row per hour. For solar and wind site assessment and yield models. Swap in your site coordinates and extend the period back to 1940.

## Input

```json
{
  "locations": [
    "Almaty"
  ],
  "mode": "historyHourly",
  "days": 7,
  "units": "metric",
  "variables": [
    "shortwave_radiation",
    "direct_normal_irradiance",
    "diffuse_radiation",
    "wind_speed_100m",
    "wind_speed_10m",
    "temperature_2m"
  ],
  "includeEnsembleMembers": false,
  "startDate": "2025-06-01",
  "endDate": "2025-06-07",
  "timezone": "auto",
  "temperatureUnit": "",
  "windSpeedUnit": "",
  "precipitationUnit": "",
  "geocodeLanguage": "en",
  "cellSelection": "land",
  "airQualityDomain": "auto",
  "layout": "rows",
  "maxItems": 200
}
```

## Output

```json
{
  "location": {
    "label": "Location",
    "format": "text"
  },
  "date": {
    "label": "Date",
    "format": "text"
  },
  "time": {
    "label": "Time",
    "format": "text"
  },
  "temperature_2m_max": {
    "label": "T max",
    "format": "number"
  },
  "temperature_2m_min": {
    "label": "T min",
    "format": "number"
  },
  "temperature_2m": {
    "label": "T",
    "format": "number"
  },
  "precipitation_sum": {
    "label": "Precip sum",
    "format": "number"
  },
  "precipitation": {
    "label": "Precip",
    "format": "number"
  },
  "wind_speed_10m_max": {
    "label": "Wind max",
    "format": "number"
  },
  "wind_speed_10m": {
    "label": "Wind",
    "format": "number"
  },
  "weather": {
    "label": "Weather",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Open-Meteo Weather Scraper — Forecast, History, Air Quality](https://apify.com/yadroo/open-meteo-weather.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/open-meteo-weather.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/yadroo/open-meteo-weather.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`).
