# Live Power Cuts Great Britain: Outages by Postcode (`thomasjacks/gb-power-cuts-live`) Actor

Current and planned power cuts from four electricity network operators, covering 11 of the 14 network areas in Great Britain, in one table: postcodes, customers affected, start time and estimated restoration time. Open data.

- **URL**: https://apify.com/thomasjacks/gb-power-cuts-live.md
- **Developed by:** [Thomas Jacks](https://apify.com/thomasjacks) (community)
- **Categories:** News, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Live Power Cuts Great Britain: Outages by Postcode

Get the **power cuts that are live now** across most of Great Britain as one clean table. Each row is one incident: where it is, which postcodes it touches, how many customers are off, when it started and when the operator expects the power back.

The electricity network operators each publish their power cuts as open data, but in four different places and four different layouts. This Actor reads all four, puts them into the same columns and lets you filter by postcode, size, operator and planned or unplanned.

Built for newsrooms covering storms, councils and resilience teams, facilities and telecoms teams watching sites, and anyone building an outage alert or map.

### What is covered

Four operators, which run 11 of the 14 electricity distribution areas in Great Britain:

| Operator | Areas | Source | How fresh |
|---|---|---|---|
| UK Power Networks | London, the East of England, the South East | Live Faults, UK Power Networks Open Data Portal | Near real time |
| Northern Powergrid | North East, Yorkshire | Live Power Cut Data, Northern Powergrid Open Data Portal | Near real time |
| National Grid Electricity Distribution | East Midlands, West Midlands, South Wales, South West | Live Power Cuts, Connected Data Portal | Near real time |
| SSEN Distribution | Central southern England, the north of Scotland | Real Time Outage, SSEN Data Portal | Hourly |

**Not covered:** Electricity North West (north west England) and SP Energy Networks (central and southern Scotland, Merseyside, Cheshire and North Wales). Their open data portals do not give access to live power cut data without signing in. Northern Ireland is not part of the Great Britain network.

Every row has `sourceUpdated`, the time the operator last updated that record or file, so you can see how fresh each one is.

### Input

| Field | What it does |
|---|---|
| `postcodes` | Only power cuts that touch these places. Use an area (`LS`), district (`LS11`), sector (`LS11 7`) or full postcode (`LS11 7NG`). |
| `operators` | One or more of the four operators. Empty means all. |
| `statuses` | `live` (default), `upcoming` (planned work not yet started), `restored` (power back on, still listed by the operator). |
| `outageType` | `all`, `unplanned` or `planned`. |
| `minCustomers` | Only power cuts with at least this many customers affected or predicted. Leaves out power cuts with no published number. |
| `sortBy` | `customers` (largest first), `newest` or `operator`. |
| `maxResults` | Stop after this many rows. Default 1,000. |

With no input the Actor returns every live power cut, largest first.

### Output

One row per incident.

| Field | Meaning |
|---|---|
| `operator`, `area` | The network operator and its area, as published. UK Power Networks gives an operating zone, for example `CHELMSFORD`. |
| `incidentReference` | The operator's reference for the incident. |
| `outageType` | `unplanned` or `planned`. |
| `status` | `live`, `upcoming` or `restored`, worked out the same way for every operator (see below). |
| `statusAsReported` | The operator's own status or type wording. |
| `startTime` | When the fault was reported, or when planned work starts. UTC. |
| `estimatedRestorationTime` | When the operator expects the power back. UTC. Often empty early in a fault. |
| `restoredTime` | When the power came back, where the operator publishes it. UTC. |
| `customersAffected` | Customers confirmed off. |
| `customersPredicted` | Customers the operator predicts are off, where it publishes this (Northern Powergrid, National Grid). |
| `voltage` | Low voltage (LV) or high voltage (HV), where published. |
| `postcodes` | Postcodes affected, as a list. See the notes on precision below. |
| `postcodeDistricts` | The districts those postcodes are in, for example `LS11`. |
| `latitude`, `longitude` | A point for the incident, where published. |
| `cause`, `message` | The operator's description and its latest message to customers, where published. |
| `sourceUpdated` | When the operator last updated the record or file. UTC. |
| `sourceDataset`, `sourceUrl`, `licence`, `attribution` | Where the row came from, its licence and the credit line to use. |
| `scrapedAt` | When this run read the data. UTC. |

Example row:

```json
{
  "operator": "Northern Powergrid",
  "area": "Yorkshire",
  "incidentReference": "INCD-838682-A",
  "outageType": "unplanned",
  "status": "live",
  "statusAsReported": "Localised Fault",
  "startTime": "2026-11-18T23:30:00Z",
  "estimatedRestorationTime": "2026-11-19T11:00:00Z",
  "restoredTime": null,
  "customersAffected": 99,
  "customersPredicted": 0,
  "voltage": "LV",
  "postcodes": ["LS11 7NG", "LS11 7BN", "LS11 7BJ"],
  "postcodeDistricts": ["LS11"],
  "latitude": 53.771957,
  "longitude": -1.557737,
  "sourceUpdated": "2026-11-19T08:25:17Z",
  "sourceDataset": "Northern Powergrid, Live Power Cut Data",
  "attribution": "Supported by Northern Powergrid Open Data"
}
```

### How status is worked out

- `restored`: the operator marks the incident as restored or gives a restoration time.
- `upcoming`: planned work whose start time is still in the future.
- `live`: everything else.

Operators keep restored incidents on their lists for different lengths of time, so the `restored` rows are a recent sample and not a history.

### Things to know before you rely on it

- **Three of the 14 areas are missing** (see above). A run with no rows for the north west of England or central Scotland does not mean there are no power cuts there.
- **SSEN Distribution's file is hourly and has no customer numbers.** `customersAffected` is empty for its rows, and its postcodes are sectors (for example `RG27 8`) and not full postcodes.
- **UK Power Networks gives a customer number for some incidents only.** On 19 November 2026, 17 of the 118 incidents it listed had one. The others show 0, as published.
- **Upcoming planned work comes from two operators.** On 19 November 2026 only UK Power Networks and Northern Powergrid listed planned work before it started. National Grid and SSEN Distribution listed it once it was under way.
- **Postcode precision differs.** UK Power Networks, Northern Powergrid and National Grid publish full postcodes. A postcode search matches a full postcode against a sector when that is all the operator publishes.
- **One row per incident.** Northern Powergrid publishes one record per postcode, which this Actor groups by incident. UK Power Networks also publishes "Multiple" records that group incidents at the same place. Those are left out, because each incident is already listed on its own.
- **Customer numbers are the operators' own counts** at the time of the run and change as a fault develops.
- **Times without a time zone in the source are read as UK local time** and converted to UTC.
- If an operator cannot be reached during a run, the log and the run's status message say which one, so you know the answer is incomplete.
- This is not an official outage service. To report a power cut or get help, call 105.

### Price

Pay per result: **$1.00 per 1,000 rows**, plus a start fee of a fraction of a cent per run. A run that returns 100 power cuts costs about 10 cents.

Use `postcodes` or `minCustomers` to keep scheduled runs small. Set a maximum charge on the run if you want a hard cap.

### Sources and licences

- **UK Power Networks**, [Live Faults](https://ukpowernetworks.opendatasoft.com/explore/assets/ukpn-live-faults/), licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
- **Northern Powergrid**, [Live Power Cut Data](https://northernpowergrid.opendatasoft.com/explore/dataset/live-power-cuts-data/information/). Supported by Northern Powergrid Open Data, under the [Northern Powergrid Open Data Licence](https://northernpowergrid.opendatasoft.com/p/opendatalicence/).
- **National Grid Electricity Distribution**, [Live Power Cuts](https://connecteddata.nationalgrid.co.uk/dataset/live-power-cuts). Supported by NGED Open Data, under the [NGED Open Data Licence](https://www.nationalgrid.co.uk/open-data-licence).
- **SSEN Distribution**, [Real Time Outage](https://data.ssen.co.uk/@ssen-distribution/real_time_outage), licensed under CC BY 4.0.

Every row carries the credit line for its source in `attribution`. If you publish anything made with this data, use it.

The Actor reads each source once per run and identifies itself in every request.

This Actor is independent. It is not endorsed by the network operators, the Energy Networks Association or Ofgem.

### FAQ

**How often can I run it?** As often as you like, but three of the sources change every few minutes at most and SSEN's changes hourly. Every 15 minutes is plenty during a storm.

**Can I get past power cuts?** No. This is the live picture. Schedule the Actor and keep the datasets if you want a history.

**Why does a postcode search return nothing?** Either there is no power cut there, or the postcode is in one of the three areas that are not covered.

**Why is `estimatedRestorationTime` empty?** The operator has not published an estimate yet. This is common in the first part of a fault.

### Feedback

Found a problem or want another field? Open an issue on the Actor's Issues tab.

# Actor input Schema

## `postcodes` (type: `array`):

Only power cuts that touch these places. Use a postcode area (LS), district (LS11), sector (LS11 7) or full postcode (LS11 7NG). Leave empty for everywhere.

## `operators` (type: `array`):

Leave empty for all four.

## `statuses` (type: `array`):

Live: happening now. Upcoming: planned work that has not started yet. Restored: power is back on, and the operator still lists the incident.

## `outageType` (type: `string`):

Unplanned power cuts are faults. Planned ones are work the operator has scheduled.

## `minCustomers` (type: `integer`):

Leave at 0 for every power cut. With a number, only power cuts with at least that many customers affected or predicted are returned. SSEN Distribution publishes no customer numbers in its open data file and UK Power Networks only some, so a number above 0 leaves those power cuts out.

## `sortBy` (type: `string`):

The order of the rows.

## `maxResults` (type: `integer`):

Stop after this many rows. On a calm day the four operators list a few hundred incidents in total.

## Actor input object example

```json
{
  "postcodes": [],
  "statuses": [
    "live"
  ],
  "outageType": "all",
  "minCustomers": 0,
  "sortBy": "customers",
  "maxResults": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "postcodes": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("thomasjacks/gb-power-cuts-live").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "postcodes": [] }

# Run the Actor and wait for it to finish
run = client.actor("thomasjacks/gb-power-cuts-live").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "postcodes": []
}' |
apify call thomasjacks/gb-power-cuts-live --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thomasjacks/gb-power-cuts-live"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/x1q0lQ3F3wSghMfJ7/builds/YEy5zm4qccE0rOBPd/openapi.json
