Getting started

Quickstart.

Create an API client, request an access token and list your wind farms.

1. Create an API client

In the portal, open Settings, Integrations, API clients and create a new client. Pick the scopes you need. You receive a client_id and a one time client_secret.

2. Request an access token

curl -X POST https://api.windpunt.io/v1/oauth/token \
  -H "Content-Type: application/json" \
  -d '{
    "grant_type": "client_credentials",
    "client_id": "wpc_live_abc123",
    "client_secret": "wpsk_live_...",
    "scope": "assets.read measurements.read"
  }'
{
  "access_token": "eyJhbGciOi...",
  "token_type": "Bearer",
  "expires_in": 3600,
  "scope": "assets.read measurements.read"
}

3. List your wind farms

curl https://api.windpunt.io/v1/windfarms \
  -H "Authorization: Bearer eyJhbGciOi..."

4. Stream measurements

Once you have a turbine id, you can fetch its time-series data. See the measurements section for windowing, aggregation and downsampling.