# Get Forecast Premium Wind

`GET /data/forecast/premium_wind_power`

## Parameters

### Query Parameters

| Name | Type | Required | Description | Accepted Values |
| --- | --- | --- | --- | --- |
| `resource_id` | string | yes | The resource id of the resource. |  |
| `hours` | integer (int32) | no | The number of hours to return in the response. |  |
| `period` | string | no | Length of the averaging period in ISO 8601 duration format. Default is PT30M. | PT5M, PT10M, PT15M, PT20M, PT30M, PT60M |
| `format` | string | no | Response format. Default is HTML if not supplied. | json, csv |
| `output_parameters` | string[] | no | The output parameters to include in the response. | power, curtailed_power, wind_speed_hub_height, wind_direction_hub_height, availability, curtailment |

## Example request

### cURL

```bash
curl -X GET "https://api.solcast.com.au/data/forecast/premium_wind_power?resource_id=0000-0000-0000-0000&output_parameters=power&format=json" \
  -H "Authorization: Bearer $API_KEY"
```

### Python

```python
import requests

params = {
    "resource_id": "0000-0000-0000-0000",
    "output_parameters": "power",
    "format": "json",
}

response = requests.get(
    "https://api.solcast.com.au/data/forecast/premium_wind_power", params=params,
    headers={"Authorization": "Bearer API_KEY"},
)
data = response.json()
```

## Example response (200)

```json
{
  "forecasts": [
    {
      "power": 0.905,
      "period_end": "2026-08-27T08:00:00+00:00",
      "period": "PT30M"
    },
    {
      "power": 0.9793,
      "period_end": "2026-08-27T08:30:00+00:00",
      "period": "PT30M"
    },
    {
      "power": 0.958,
      "period_end": "2026-08-27T09:00:00+00:00",
      "period": "PT30M"
    }
  ]
}
```

## Responses

### 200 — OK

Schema: `ForecastPremiumWindPowerResponse`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `forecasts` | object[] | no |  |

Source: /docs/section/premium#getDataForecastPremiumWindPower
