---
title: "Day-ahead generation forecast for wind and solar (DGWS/B1440)"
method: GET
path: "/forecast/generation/wind-and-solar/day-ahead"
tags: ["Generation Forecast"]
---

# Day-ahead generation forecast for wind and solar (DGWS/B1440)

`GET /forecast/generation/wind-and-solar/day-ahead`

## Request

- Base URL: `https://data.elexon.co.uk/bmrs/api/v1`
- URL: `https://data.elexon.co.uk/bmrs/api/v1/forecast/generation/wind-and-solar/day-ahead`
- Auth: none declared

This endpoint provides day-ahead forecast generation data for wind and solar.
            
This endpoint filters by startTime and provides a maximum data output range of 7 days.

## Query parameters

- `from` string, date-time, required
- `to` string, date-time, required
- `settlementPeriodFrom` integer
- `settlementPeriodTo` integer
- `processType` 'all' | 'day ahead' | 'intraday process' | 'intraday total', required
- `format` 'json' | 'xml' | 'csv'

## Response `200`

OK

- InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesTransparencyDayAheadGenerationForWindAndSolar
  - `data` InsightsApiModelsResponsesTransparencyDayAheadGenerationForWindAndSolar[], nullable
    - `publishTime` string, date-time
    - `processType` string, nullable
    - `businessType` string, nullable
    - `psrType` string, nullable
    - `startTime` string, date-time
    - `settlementDate` string, date
    - `settlementPeriod` integer
    - `quantity` number, double
  - `metadata` InsightsApiModelsMetadataApiResponseSourceMetadata
    - `datasets` string[], nullable

---

[API](https://skmtc.dev/elexon/apis/bmrs-insights.md) - [All operations](https://skmtc.dev/elexon/apis/bmrs-insights/llms.txt) - [OpenAPI document](https://skmtc.dev/elexon/apis/bmrs-insights/revisions/d992cbaa9351?raw)
