---
title: "Forecast Demand 2D"
method: GET
path: "/gb/national-grid/forecasts/demand-2d"
tags: ["NESO"]
---

# Forecast Demand 2D

`GET /gb/national-grid/forecasts/demand-2d`

## Request

- Base URL: `https://api.modoenergy.com/pub/v1`
- URL: `https://api.modoenergy.com/pub/v1/gb/national-grid/forecasts/demand-2d`
- Auth: one of:
  - API key in header `X-Token`
  - none

This dataset contains national electricity demand forecast for 2 days ahead as well as all historic 2 day ahead demand forecasts. The forecast assist the industry to make efficient decisions in balancing their supply and demand positions.

## Query parameters

- `forecast_date_from` string, date, required
- `forecast_date_to` string, date, required
- `limit` integer
- `offset` integer

## Response `200`

Success

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` TwoDayAheadDemandForecast[], required
    - `daysAhead` integer, required
    - `targetDate` string, date, required
    - `forecastDemand` integer, required
    - `cardinalPoint` string, required
    - `cpType` string, required
    - `cpStTime` string, required
    - `cpEndTime` string, required
    - `fPoint` string, required
    - `forecastDate` string, date, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/modoenergy/apis/modo-energy-api.md) - [All operations](https://skmtc.dev/modoenergy/apis/modo-energy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/modoenergy/apis/modo-energy-api/revisions/7d9d1bd6ee06?raw)
