---
title: "Day and day-ahead indicated margin (MELNGC) stream"
method: GET
path: "/datasets/MELNGC/stream"
tags: ["BMRS Datasets"]
---

# Day and day-ahead indicated margin (MELNGC) stream

`GET /datasets/MELNGC/stream`

This endpoint provides the indicated margin. Data is received every half an hour from NGESO.
Expressed as an average MW value for each settlement period. The indicated margin forecast for
each settlement period is the difference between the sum of the MELs submitted for that period,
and the National Demand forecast made by the System Operator. The greater the value, the higher
the margin between available generation capacity and forecast demand - that is to say, the more
spare capacity there is forecast to be in the system.

This endpoint has an optimised JSON payload and is aimed at frequent requests for the data.

## Query parameters

- `boundary` string
- `publishDateTimeFrom` string, date-time
- `publishDateTimeTo` string, date-time

## Response `200`

Data retrieved

- InsightsApiModelsResponsesIndicatedForecastDatasetRowsIndicatedMargin[]
  - `dataset` string, nullable
  - `margin` integer, nullable
  - `publishTime` string, date-time
  - `startTime` string, date-time
  - `settlementDate` string, date
  - `settlementPeriod` integer
  - `boundary` string, 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)
