# Get Resource

`GET /resources/wind_power_site`

Retrieve details of a specific premium wind power site.

## Parameters

### Query Parameters

| Name | Type | Required | Description | Accepted Values |
| --- | --- | --- | --- | --- |
| `resource_id` | string | yes | The unique identifier of the resource. |  |
| `format` | string | no | Response format. Default is HTML if not supplied. | json, csv |

## Example request

### cURL

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

### Python

```python
import requests

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

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

## Example response (200)

```json
{
  "resource_id": "0000-0000-0000-0000",
  "name": "Site Name",
  "latitude": 51.178882,
  "longitude": -1.826215,
  "capacity": 25,
  "rotor_diameter": 100,
  "rated_power": 2.1875,
  "hub_height": 80,
  "number_of_turbines": 12,
  "cut_in_wind_speed": 3,
  "cut_out_wind_speed": 25,
  "rated_wind_speed": 12,
  "allow_negative_power": false
}
```

## Responses

### 200 — OK

Schema: `PremiumWindPowerResource`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `allow_negative_power` | boolean | no | Whether forecasts for this site may contain negative power values. Defaults to false. This setting is used when predictions are produced; the API does not modify forecast values. |
| `capacity` | number (double) | no | The site capacity (rated power × number of turbines) in MW. |
| `cut_in_wind_speed` | number (double) | no | Minimum wind speed for generation in m/s. Must be between 0 and 10. Defaults to 3. |
| `cut_out_wind_speed` | number (double) | no | Maximum wind speed before shutdown in m/s. Must be between 15 and 35. Defaults to 25. |
| `grid_export_limit` | number (double) | no | Optional maximum power export allowed by the site's grid connection, in MW. Omit this field when no limit is configured. Values >= 0  configure a limit. Value of -1 is treated as no configured limit. A configured limit will be in effect the next time predictions are updated. |
| `hub_height` | number (double) | no | Average height of turbine hub in metres. Must be between 10 and 200. Defaults to 80. |
| `latitude` | number (double) | no | The latitude of the resource. Must be a decimal number between -90 and 90. |
| `longitude` | number (double) | no | The longitude of the resource. Must be between -180 and 180. |
| `name` | string | no | The name of the resource. |
| `number_of_turbines` | integer (int32) | no | Total number of turbines at site. Must be between 1 and 500. Defaults to 1. |
| `rated_power` | number (double) | no | Average turbine rated power in MW. Must be between 0.1 and 15000. |
| `rated_wind_speed` | number (double) | no | Wind speed at rated power in m/s. Must be between 8 and 20. Defaults to 12. |
| `resource_id` | string | no | The unique identifier of the resource. |
| `rotor_diameter` | number (double) | no | Average diameter of turbine rotor in metres. Must be between 20 and 200. |

Source: /docs/section/premium#getResourcesWindPowerSite
