---
title: "2-14 days ahead demand surplus forecast (OCNMFD)"
method: GET
path: "/datasets/OCNMFD"
tags: ["BMRS Datasets"]
---

# 2-14 days ahead demand surplus forecast (OCNMFD)

`GET /datasets/OCNMFD`

The demand surplus forecast data is received hourly from NGESO.
It shows the daily peak half hour MW value of generating plant demand surplus for each day for the 2 to 14 days ahead.

This API endpoint provides a maximum data output range of 7 days.
            
Specific publish time filters may be supplied, otherwise this will retrieve the latest published forecast.

## Query parameters

- `publishDateTimeFrom` string, date-time
- `publishDateTimeTo` string, date-time
- `format` 'json' | 'xml' | 'csv'

## Response `200`

Data retrieved

- InsightsApiModelsResponsesDatasetResponse1InsightsApiModelsResponsesForecastSurplusDatasetRowsForecastSurplusDaily
  - `data` InsightsApiModelsResponsesForecastSurplusDatasetRowsForecastSurplusDaily[], nullable
    - `dataset` string, nullable
    - `publishTime` string, date-time
    - `forecastDate` string, date
    - `surplus` integer, nullable

## Other responses

- `400` — Error with query parameters - see response for details
- `429` — Too many requests
- `500` — Server error - please try again later

---

[API](https://skmtc.net/elexon/apis/bmrs-insights.md) · [All operations](https://skmtc.net/elexon/apis/bmrs-insights/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elexon/bmrs-insights/versions/d94e9edb295e/schema)
