OPEN DATA · API v1

JSON API reference

A free, read-only JSON API for UK energy price benchmarks and the live GB electricity mix. No key, no sign-up, CORS open to every website.

Basics

  • Base URL: https://utilityprices.co.uk/api/v1. HTTPS only.
  • Methods: GET (and HEAD). Other methods return 405.
  • Authentication: none. Please credit UtilityPrices with a link; see licence and attribution.
  • Format: UTF-8 JSON, pretty-printed. Numbers are numbers; dates are YYYY-MM-DD or ISO 8601 timestamps.
  • CORS: every response sends Access-Control-Allow-Origin: *, so you can call the API from browser JavaScript on any site. Preflight OPTIONS requests are answered.
  • Caching: price datasets send Cache-Control: public, max-age=3600, s-maxage=86400, stale-while-revalidate=86400; the live grid sends public, max-age=60, s-maxage=120, stale-while-revalidate=60. Please cache on your side too.
  • Machine-readable spec: OpenAPI 3.1 JSON. GET /api/v1 lists every endpoint, download and widget.

Response format

Every successful response has the same envelope, so period, units, VAT basis, sources and licence always travel with the figures.

Response fieldsPresent on every dataset response.
FieldTypeMeaning
apiVersionstringMajor API version, "1".
datasetstringDataset id, matching the anchors on this page.
title, descriptionstringWhat the dataset contains.
periodobjecteffectiveFrom and effectiveTo (YYYY-MM-DD) for dated benchmarks, with a readable label; from and to (ISO 8601, UTC) for the live grid half hour.
unitsobjectUnits for each kind of number in data, for example "pence per kWh".
vatBasisstringWhether figures include VAT, and at what rate.
dataobjectThe figures. Field names carry units (…PencePerKwh, …Gbp, …Percent).
notesstring[]Caveats you should keep with the figures.
sourceobject[]Original documents: title, url and publisher.
retrievedAtstringWhen we last took the figures from the source (date, or ISO 8601 timestamp for live data).
updatesstringHow often the dataset changes.
attributionobjectReady-made credit: text, html and the url to link to.
licenceobjectOur licence (CC BY 4.0) and each upstream source’s licence and required statement.
linksobjectself, page (the human-readable page), docs and csv where one exists.

Endpoints

Example responses below are real responses, shortened to the first two items of each long list.

Energy price cap summary

GET/api/v1/price-cap

Ofgem headline typical bill, GB average Direct Debit unit rates and standing charges, typical bills by payment method, typical consumption values and the announcement timetable.

Updates: Quarterly, when Ofgem announces a new capSource: OfgemHuman-readable pageCSV: household-price-cap-payment-methods.csv

Request

curl https://utilityprices.co.uk/api/v1/price-cap
Example response
{
  "apiVersion": "1",
  "dataset": "price-cap",
  "title": "Energy price cap summary",
  "description": "Ofgem headline typical bill, GB average Direct Debit unit rates and standing charges, typical bills by payment method, typical consumption values and the announcement timetable.",
  "period": {
    "effectiveFrom": "2026-10-01",
    "effectiveTo": "2026-12-31",
    "label": "1 October 2026 to 31 December 2026"
  },
  "units": {
    "unitRate": "pence per kWh",
    "standingCharge": "pence per day",
    "typicalAnnualCost": "GBP per year",
    "typicalConsumption": "kWh per year",
    "typicalBill": "GBP per year"
  },
  "vatBasis": "Rates include VAT where charged: electricity 0% VAT (temporary zero rate 2026-10-01 to 2027-03-31); gas includes 5% VAT.",
  "data": {
    "geography": "Great Britain (England, Scotland and Wales)",
    "announcedAt": "2026-08-26",
    "headline": {
      "paymentMethod": "Direct Debit",
      "typicalAnnualBillGbp": 1723,
      "previousTypicalAnnualBillGbp": 1663,
      "previousPeriod": "1 July to 30 September 2026",
      "changeGbp": 60,
      "changePercent": 4
    },
    "gbAverage": {
      "paymentMethod": "Direct Debit",
      "electricityMeter": "Single rate",
      "electricity": {
        "unitRatePencePerKwh": 26.32,
        "standingChargePencePerDay": 54.83,
        "vatPercent": 0,
        "vatIncluded": false
      },
      "gas": {
        "unitRatePencePerKwh": 7.97,
        "standingChargePencePerDay": 29.68,
        "vatPercent": 5,
        "vatIncluded": true
      },
      "typicalAnnualCostGbp": {
        "electricity": 858.13,
        "gas": 865.48,
        "dualFuel": 1723.61
      },
      "typicalAnnualCostBasis": "Typical annual cost at Ofgem's medium Typical Domestic Consumption Values: 2500 kWh electricity (single rate) and 9500 kWh gas a year, calculated as usage × unit rate + 365 × standing charge."
    },
    "byPaymentMethod": [
      {
        "paymentMethod": "Direct Debit",
        "previousTypicalAnnualBillGbp": 1663,
        "typicalAnnualBillGbp": 1723,
        "changePercent": 4
      },
      {
        "paymentMethod": "Standard Credit",
        "previousTypicalAnnualBillGbp": 1796,
        "typicalAnnualBillGbp": 1861,
        "changePercent": 4
      }
    ],
    "typicalConsumptionKwh": {
      "electricitySingleRate": {
        "low": 1600,
        "medium": 2500,
        "high": 3800
      },
      "electricityMultiRate": {
        "low": 1900,
        "medium": 3400,
        "high": 6100
      },
      "gas": {
        "low": 6000,
        "medium": 9500,
        "high": 14000
      }
    },
    "nextAnnouncements": [
      {
        "announceBy": "2026-11-25",
        "periodFrom": "2027-01-01",
        "periodTo": "2027-03-31"
      },
      {
        "announceBy": "2027-02-23",
        "periodFrom": "2027-04-01",
        "periodTo": "2027-06-30"
      },
      {
        "announceBy": "2027-05-26",
        "periodFrom": "2027-07-01",
        "periodTo": "2027-09-30"
      }
    ]
  },
  "notes": [
    "Typical dual-fuel household paying by Direct Debit at Ofgem's 2026 medium Typical Domestic Consumption Values. Rounded by Ofgem to the nearest pound and percent. Electricity carries 0% VAT and gas 5% VAT in this period.",
    "Covers England, Scotland and Wales only. Northern Ireland is not part of the Ofgem price cap.",
    "Ofgem may publish earlier if external factors require it."
  ],
  "source": [
    {
      "title": "Ofgem: energy price cap announcement",
      "url": "https://www.ofgem.gov.uk/press-release/energy-price-cap-will-rise-4-october-2026",
      "publisher": "Ofgem"
    },
    {
      "title": "Ofgem: summary of changes to the energy price cap (PDF)",
      "url": "https://www.ofgem.gov.uk/sites/default/files/2026-08/Summary-of-changes-to-energy-price-cap-1-October-to-31-December-2026.pdf",
      "publisher": "Ofgem"
    }
  ],
  "retrievedAt": "2026-10-11",
  "updates": "Quarterly, when Ofgem announces a new cap",
  "attribution": {
    "required": true,
    "text": "Data: UtilityPrices (https://utilityprices.co.uk/energy-price-cap), from Ofgem. Licensed under CC BY 4.0. Contains public sector information licensed under the Open Government Licence v3.0.",
    "html": "Data: <a href=\"https://utilityprices.co.uk/energy-price-cap\">UtilityPrices</a>, from Ofgem. Licensed under <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>. Contains public sector information licensed under the <a href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\">Open Government Licence v3.0</a>.",
    "url": "https://utilityprices.co.uk/energy-price-cap",
    "note": "Please credit UtilityPrices with a visible link to the page above wherever you publish or display this data."
  },
  "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "upstream": [
      {
        "source": "Ofgem",
        "publisher": "Ofgem",
        "licence": "Open Government Licence v3.0",
        "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
        "statement": "Contains public sector information licensed under the Open Government Licence v3.0."
      }
    ]
  },
  "links": {
    "self": "https://utilityprices.co.uk/api/v1/price-cap",
    "page": "https://utilityprices.co.uk/energy-price-cap",
    "docs": "https://utilityprices.co.uk/developers/api#price-cap",
    "csv": "https://utilityprices.co.uk/data/household-price-cap-payment-methods.csv"
  }
}

Price cap rates for all 14 regions

GET/api/v1/price-cap/regions

Direct Debit, single-rate electricity and gas unit rates and standing charges for each GB price-cap region, with typical annual costs and ranks.

Updates: Quarterly, when Ofgem announces a new capSource: OfgemHuman-readable pageCSV: household-price-cap-regions.csv

Request

curl https://utilityprices.co.uk/api/v1/price-cap/regions
Example response
{
  "apiVersion": "1",
  "dataset": "price-cap-regions",
  "title": "Price cap rates for all 14 regions",
  "description": "Direct Debit, single-rate electricity and gas unit rates and standing charges for each GB price-cap region, with typical annual costs and ranks.",
  "period": {
    "effectiveFrom": "2026-10-01",
    "effectiveTo": "2026-12-31",
    "label": "1 October 2026 to 31 December 2026"
  },
  "units": {
    "unitRate": "pence per kWh",
    "standingCharge": "pence per day",
    "typicalAnnualCost": "GBP per year",
    "typicalConsumption": "kWh per year"
  },
  "vatBasis": "Rates include VAT where charged: electricity 0% VAT (temporary zero rate 2026-10-01 to 2027-03-31); gas includes 5% VAT.",
  "data": {
    "paymentMethod": "Direct Debit",
    "electricityMeter": "Single rate",
    "typicalConsumptionKwh": {
      "electricity": 2500,
      "gas": 9500
    },
    "derivation": "standingChargePencePerDay=nilAnnualCharge/365*100; unitRatePencePerKwh=(annualChargeAtTypicalUsage-nilAnnualCharge)/typicalUsageKwh*100. Gas figures multiplied by 1.05 for VAT; electricity VAT is 0% in this period. Inputs in published PDF rounded to pennies; use Annex9 workbook for higher precision.",
    "regions": [
      {
        "region": "East Midlands",
        "slug": "east-midlands",
        "electricity": {
          "unitRatePencePerKwh": 25.36,
          "standingChargePencePerDay": 51.45,
          "vatPercent": 0,
          "vatIncluded": false
        },
        "gas": {
          "unitRatePencePerKwh": 7.82,
          "standingChargePencePerDay": 29.41,
          "vatPercent": 5,
          "vatIncluded": true
        },
        "typicalAnnualCostGbp": {
          "electricity": 821.79,
          "gas": 850.25,
          "dualFuel": 1672.04
        },
        "rankLowestFirst": {
          "dualFuel": 1,
          "electricityUnit": 1,
          "electricityStanding": 4,
          "gasUnit": 1,
          "gasStanding": 5
        }
      },
      {
        "region": "Eastern England",
        "slug": "eastern-england",
        "electricity": {
          "unitRatePencePerKwh": 26.61,
          "standingChargePencePerDay": 51.84,
          "vatPercent": 0,
          "vatIncluded": false
        },
        "gas": {
          "unitRatePencePerKwh": 7.91,
          "standingChargePencePerDay": 29.34,
          "vatPercent": 5,
          "vatIncluded": true
        },
        "typicalAnnualCostGbp": {
          "electricity": 854.47,
          "gas": 858.54,
          "dualFuel": 1713.01
        },
        "rankLowestFirst": {
          "dualFuel": 5,
          "electricityUnit": 12,
          "electricityStanding": 5,
          "gasUnit": 7,
          "gasStanding": 4
        }
      }
    ]
  },
  "notes": [
    "Benchmarks for default (standard variable) tariffs, not quotes. The cap limits unit rates and standing charges, not total bills.",
    "Regional rates are derived from Ofgem’s published annual cap levels, which are rounded to the penny, so they can differ from a supplier’s tariff by a fraction of a penny."
  ],
  "source": [
    {
      "title": "Ofgem: energy price cap cap tables (PDF)",
      "url": "https://www.ofgem.gov.uk/sites/default/files/2026-08/17a-PDF-Cap-Tables.pdf",
      "publisher": "Ofgem"
    },
    {
      "title": "Ofgem: energy price cap unit rates and standing charges",
      "url": "https://www.ofgem.gov.uk/your-energy-supply/your-energy-bill/energy-price-cap-unit-rates-and-standing-charges",
      "publisher": "Ofgem"
    }
  ],
  "retrievedAt": "2026-10-11",
  "updates": "Quarterly, when Ofgem announces a new cap",
  "attribution": {
    "required": true,
    "text": "Data: UtilityPrices (https://utilityprices.co.uk/energy-price-cap), from Ofgem. Licensed under CC BY 4.0. Contains public sector information licensed under the Open Government Licence v3.0.",
    "html": "Data: <a href=\"https://utilityprices.co.uk/energy-price-cap\">UtilityPrices</a>, from Ofgem. Licensed under <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>. Contains public sector information licensed under the <a href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\">Open Government Licence v3.0</a>.",
    "url": "https://utilityprices.co.uk/energy-price-cap",
    "note": "Please credit UtilityPrices with a visible link to the page above wherever you publish or display this data."
  },
  "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "upstream": [
      {
        "source": "Ofgem",
        "publisher": "Ofgem",
        "licence": "Open Government Licence v3.0",
        "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
        "statement": "Contains public sector information licensed under the Open Government Licence v3.0."
      }
    ]
  },
  "links": {
    "self": "https://utilityprices.co.uk/api/v1/price-cap/regions",
    "page": "https://utilityprices.co.uk/energy-price-cap",
    "docs": "https://utilityprices.co.uk/developers/api#price-cap-regions",
    "csv": "https://utilityprices.co.uk/data/household-price-cap-regions.csv"
  }
}

Price cap rates for one region

GET/api/v1/price-cap/regions/{region}

The same figures for a single region, selected by its slug.

Updates: Quarterly, when Ofgem announces a new capSource: OfgemHuman-readable page

ParameterInRequiredDescription
regionpathYesRegion slug, for example london or north-western-england. GET /api/v1/price-cap/regions lists every slug.

Request

curl https://utilityprices.co.uk/api/v1/price-cap/regions/london
Example response
{
  "apiVersion": "1",
  "dataset": "price-cap-region",
  "title": "Price cap rates for one region",
  "description": "The same figures for a single region, selected by its slug.",
  "period": {
    "effectiveFrom": "2026-10-01",
    "effectiveTo": "2026-12-31",
    "label": "1 October 2026 to 31 December 2026"
  },
  "units": {
    "unitRate": "pence per kWh",
    "standingCharge": "pence per day",
    "typicalAnnualCost": "GBP per year",
    "typicalConsumption": "kWh per year"
  },
  "vatBasis": "Rates include VAT where charged: electricity 0% VAT (temporary zero rate 2026-10-01 to 2027-03-31); gas includes 5% VAT.",
  "data": {
    "paymentMethod": "Direct Debit",
    "electricityMeter": "Single rate",
    "typicalConsumptionKwh": {
      "electricity": 2500,
      "gas": 9500
    },
    "region": "London",
    "slug": "london",
    "electricity": {
      "unitRatePencePerKwh": 26.6,
      "standingChargePencePerDay": 42.92,
      "vatPercent": 0,
      "vatIncluded": false
    },
    "gas": {
      "unitRatePencePerKwh": 8.15,
      "standingChargePencePerDay": 30.2,
      "vatPercent": 5,
      "vatIncluded": true
    },
    "typicalAnnualCostGbp": {
      "electricity": 821.66,
      "gas": 884.48,
      "dualFuel": 1706.14
    },
    "rankLowestFirst": {
      "dualFuel": 3,
      "electricityUnit": 11,
      "electricityStanding": 1,
      "gasUnit": 13,
      "gasStanding": 14
    },
    "gbAverage": {
      "electricity": {
        "unitRatePencePerKwh": 26.32,
        "standingChargePencePerDay": 54.83,
        "vatPercent": 0,
        "vatIncluded": false
      },
      "gas": {
        "unitRatePencePerKwh": 7.97,
        "standingChargePencePerDay": 29.68,
        "vatPercent": 5,
        "vatIncluded": true
      },
      "typicalAnnualCostGbp": {
        "electricity": 858.13,
        "gas": 865.48,
        "dualFuel": 1723.61
      }
    }
  },
  "notes": [
    "Benchmarks for default (standard variable) tariffs, not quotes. The cap limits unit rates and standing charges, not total bills.",
    "Regional rates are derived from Ofgem’s published annual cap levels, which are rounded to the penny, so they can differ from a supplier’s tariff by a fraction of a penny."
  ],
  "source": [
    {
      "title": "Ofgem: energy price cap cap tables (PDF)",
      "url": "https://www.ofgem.gov.uk/sites/default/files/2026-08/17a-PDF-Cap-Tables.pdf",
      "publisher": "Ofgem"
    },
    {
      "title": "Ofgem: energy price cap unit rates and standing charges",
      "url": "https://www.ofgem.gov.uk/your-energy-supply/your-energy-bill/energy-price-cap-unit-rates-and-standing-charges",
      "publisher": "Ofgem"
    }
  ],
  "retrievedAt": "2026-10-11",
  "updates": "Quarterly, when Ofgem announces a new cap",
  "attribution": {
    "required": true,
    "text": "Data: UtilityPrices (https://utilityprices.co.uk/energy-prices/london), from Ofgem. Licensed under CC BY 4.0. Contains public sector information licensed under the Open Government Licence v3.0.",
    "html": "Data: <a href=\"https://utilityprices.co.uk/energy-prices/london\">UtilityPrices</a>, from Ofgem. Licensed under <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>. Contains public sector information licensed under the <a href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\">Open Government Licence v3.0</a>.",
    "url": "https://utilityprices.co.uk/energy-prices/london",
    "note": "Please credit UtilityPrices with a visible link to the page above wherever you publish or display this data."
  },
  "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "upstream": [
      {
        "source": "Ofgem",
        "publisher": "Ofgem",
        "licence": "Open Government Licence v3.0",
        "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
        "statement": "Contains public sector information licensed under the Open Government Licence v3.0."
      }
    ]
  },
  "links": {
    "self": "https://utilityprices.co.uk/api/v1/price-cap/regions/london",
    "page": "https://utilityprices.co.uk/energy-prices/london",
    "docs": "https://utilityprices.co.uk/developers/api#price-cap-region"
  }
}

Electricity VAT relief

GET/api/v1/vat-relief

The temporary 0% VAT rate on household electricity in Great Britain: dates, rates, scope and official sources.

Updates: When HMRC or GOV.UK guidance changesSource: GOV.UK, OfgemHuman-readable page

Request

curl https://utilityprices.co.uk/api/v1/vat-relief
Example response
{
  "apiVersion": "1",
  "dataset": "vat-relief",
  "title": "Electricity VAT relief",
  "description": "The temporary 0% VAT rate on household electricity in Great Britain: dates, rates, scope and official sources.",
  "period": {
    "effectiveFrom": "2026-10-01",
    "effectiveTo": "2027-03-31"
  },
  "units": {
    "rate": "percent",
    "averageSaving": "GBP per year"
  },
  "vatBasis": "Household electricity in Great Britain is zero-rated (0%) in this period instead of the reduced 5% rate. Gas stays at 5%.",
  "data": {
    "geography": "Great Britain",
    "previousRatePercent": 5,
    "temporaryRatePercent": 0,
    "announcedAverageSavingGbpPerYear": 45,
    "announcedAt": "2026-08-26",
    "electricityDeMinimis": "an average of not more than 33 kWh a day, or 1,000 kWh a month, supplied to one customer at one set of premises",
    "appliesTo": [
      "Household electricity bills in Great Britain. You do not need to do anything to claim it.",
      "Electricity prepayment top-ups from 1 October 2026."
    ],
    "doesNotApplyTo": [
      "Gas, which stays at 5% VAT.",
      "Other domestic fuels, which stay at the reduced 5% rate across the UK."
    ]
  },
  "notes": [
    "The average saving is the government’s published figure, not a UtilityPrices calculation."
  ],
  "source": [
    {
      "title": "HMRC: Temporary zero rate of VAT in Great Britain for domestic electricity",
      "url": "https://www.gov.uk/government/publications/temporary-zero-rate-of-vat-for-domestic-electricity-in-great-britain/temporary-zero-rate-of-vat-in-great-britain-for-domestic-electricity",
      "publisher": "HM Revenue & Customs"
    },
    {
      "title": "HMRC: Fuel and power (VAT Notice 701/19)",
      "url": "https://www.gov.uk/guidance/vat-on-fuel-and-power-notice-70119",
      "publisher": "HM Revenue & Customs"
    }
  ],
  "retrievedAt": "2026-10-11",
  "updates": "When HMRC or GOV.UK guidance changes",
  "attribution": {
    "required": true,
    "text": "Data: UtilityPrices (https://utilityprices.co.uk/electricity-vat-cut), from GOV.UK, Ofgem. Licensed under CC BY 4.0. Contains public sector information licensed under the Open Government Licence v3.0.",
    "html": "Data: <a href=\"https://utilityprices.co.uk/electricity-vat-cut\">UtilityPrices</a>, from GOV.UK, Ofgem. Licensed under <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>. Contains public sector information licensed under the <a href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\">Open Government Licence v3.0</a>.",
    "url": "https://utilityprices.co.uk/electricity-vat-cut",
    "note": "Please credit UtilityPrices with a visible link to the page above wherever you publish or display this data."
  },
  "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "upstream": [
      {
        "source": "GOV.UK",
        "publisher": "GOV.UK",
        "licence": "Open Government Licence v3.0",
        "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
        "statement": "Contains public sector information licensed under the Open Government Licence v3.0."
      },
      {
        "source": "Ofgem",
        "publisher": "Ofgem",
        "licence": "Open Government Licence v3.0",
        "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
        "statement": "Contains public sector information licensed under the Open Government Licence v3.0."
      }
    ]
  },
  "links": {
    "self": "https://utilityprices.co.uk/api/v1/vat-relief",
    "page": "https://utilityprices.co.uk/electricity-vat-cut",
    "docs": "https://utilityprices.co.uk/developers/api#vat-relief"
  }
}

Business energy prices by band

GET/api/v1/business-prices

DESNZ average prices paid by UK non-domestic consumers for electricity and gas, by annual consumption band, including and excluding Climate Change Levy.

Updates: Quarterly, with each DESNZ releaseSource: Department for Energy Security and Net ZeroHuman-readable pageCSV: business-energy-prices.csv

ParameterInRequiredDescription
fuelqueryNoReturn only one fuel. Values: electricity,gas

Request

curl "https://utilityprices.co.uk/api/v1/business-prices?fuel=gas"
Example response
{
  "apiVersion": "1",
  "dataset": "business-prices",
  "title": "Business energy prices by band",
  "description": "DESNZ average prices paid by UK non-domestic consumers for electricity and gas, by annual consumption band, including and excluding Climate Change Levy.",
  "period": {
    "effectiveFrom": "2026-04-01",
    "effectiveTo": "2026-06-30",
    "label": "1 April 2026 to 30 June 2026",
    "status": "provisional",
    "publishedAt": "2026-09-29",
    "nextScheduledPublication": "2026-12-17"
  },
  "units": {
    "price": "pence/kWh",
    "annualConsumption": "MWh per year (bands as printed by DESNZ)"
  },
  "vatBasis": "Excludes VAT. includingCclPencePerKwh includes the Climate Change Levy; excludingCclPencePerKwh does not.",
  "data": {
    "geography": "United Kingdom",
    "measure": "Consumption-weighted historical average fully delivered price paid by non-domestic consumers",
    "gas": [
      {
        "band": "Very Small",
        "annualConsumptionMwh": "<278",
        "excludingCclPencePerKwh": 8.8,
        "includingCclPencePerKwh": 9.31
      },
      {
        "band": "Small",
        "annualConsumptionMwh": "278 - 2,777",
        "excludingCclPencePerKwh": 4.37,
        "includingCclPencePerKwh": 4.86
      }
    ]
  },
  "notes": [
    "Fully delivered prices include all bill elements except VAT, and excluding CCL in table 3.4.1. Do not add a standing charge to this benchmark.",
    "These are prices paid across existing contracts, not current offers, regional tariff prices or guaranteed quotes."
  ],
  "source": [
    {
      "title": "DESNZ: gas and electricity prices in the non-domestic sector",
      "url": "https://www.gov.uk/government/statistical-data-sets/gas-and-electricity-prices-in-the-non-domestic-sector",
      "publisher": "Department for Energy Security and Net Zero"
    },
    {
      "title": "DESNZ: table 3.4.1 and 3.4.2 (XLSX)",
      "url": "https://assets.publishing.service.gov.uk/media/6ab543da997a4b2950cceedc/table_341.xlsx",
      "publisher": "Department for Energy Security and Net Zero"
    }
  ],
  "retrievedAt": "2026-10-10",
  "updates": "Quarterly, with each DESNZ release",
  "attribution": {
    "required": true,
    "text": "Data: UtilityPrices (https://utilityprices.co.uk/business-energy-prices), from DESNZ (Department for Energy Security and Net Zero). Licensed under CC BY 4.0. Contains public sector information licensed under the Open Government Licence v3.0.",
    "html": "Data: <a href=\"https://utilityprices.co.uk/business-energy-prices\">UtilityPrices</a>, from DESNZ (Department for Energy Security and Net Zero). Licensed under <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>. Contains public sector information licensed under the <a href=\"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/\">Open Government Licence v3.0</a>.",
    "url": "https://utilityprices.co.uk/business-energy-prices",
    "note": "Please credit UtilityPrices with a visible link to the page above wherever you publish or display this data."
  },
  "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "upstream": [
      {
        "source": "DESNZ",
        "publisher": "Department for Energy Security and Net Zero",
        "licence": "Open Government Licence v3.0",
        "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
        "statement": "Contains public sector information licensed under the Open Government Licence v3.0."
      }
    ]
  },
  "links": {
    "self": "https://utilityprices.co.uk/api/v1/business-prices?fuel=gas",
    "page": "https://utilityprices.co.uk/business-energy-prices",
    "docs": "https://utilityprices.co.uk/developers/api#business-prices",
    "csv": "https://utilityprices.co.uk/data/business-energy-prices.csv"
  }
}

Live GB electricity generation mix

GET/api/v1/grid/electricity

The latest half-hourly Great Britain generation mix by fuel, renewable share and carbon intensity from the NESO Carbon Intensity API.

Updates: Every half hour; cached for two minutesSource: National Energy System Operator (NESO)Human-readable page

Request

curl https://utilityprices.co.uk/api/v1/grid/electricity
Example response
{
  "apiVersion": "1",
  "dataset": "grid-electricity",
  "title": "Live GB electricity generation mix",
  "description": "The latest half-hourly Great Britain generation mix by fuel, renewable share and carbon intensity from the NESO Carbon Intensity API.",
  "period": {
    "from": "2026-10-11T19:00Z",
    "to": "2026-10-11T19:30Z",
    "resolution": "PT30M"
  },
  "units": {
    "percentage": "percent of GB generation",
    "carbonIntensity": "gCO2 per kWh"
  },
  "vatBasis": "Not applicable (generation data, not prices).",
  "data": {
    "status": "current",
    "from": "2026-10-11T19:00Z",
    "to": "2026-10-11T19:30Z",
    "renewablePercentage": 22.9,
    "mix": [
      {
        "fuel": "gas",
        "label": "Gas",
        "percentage": 42.8
      },
      {
        "fuel": "imports",
        "label": "Imports",
        "percentage": 19.7
      }
    ],
    "carbonIntensity": {
      "value": 182,
      "kind": "actual",
      "to": "2026-10-11T19:30Z"
    }
  },
  "notes": [
    "Great Britain only; Northern Ireland is a separate system and is not included.",
    "Renewable share is wind, solar, hydro and biomass added together; UtilityPrices adds it and sorts the mix. Imports are a separate category."
  ],
  "source": [
    {
      "title": "NESO Carbon Intensity API: generation mix",
      "url": "https://api.carbonintensity.org.uk/generation",
      "publisher": "National Energy System Operator (NESO)"
    },
    {
      "title": "NESO Carbon Intensity API: national intensity",
      "url": "https://api.carbonintensity.org.uk/intensity",
      "publisher": "National Energy System Operator (NESO)"
    }
  ],
  "retrievedAt": "2026-10-11T19:58:56.408Z",
  "updates": "Every half hour; cached for two minutes",
  "attribution": {
    "required": true,
    "text": "Data: UtilityPrices (https://utilityprices.co.uk/#live-grid), from Carbon Intensity API (National Energy System Operator (NESO)). Licensed under CC BY 4.0.",
    "html": "Data: <a href=\"https://utilityprices.co.uk/#live-grid\">UtilityPrices</a>, from Carbon Intensity API (National Energy System Operator (NESO)). Licensed under <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>.",
    "url": "https://utilityprices.co.uk/#live-grid",
    "note": "Please credit UtilityPrices with a visible link to the page above wherever you publish or display this data."
  },
  "licence": {
    "id": "CC-BY-4.0",
    "name": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "upstream": [
      {
        "source": "Carbon Intensity API",
        "publisher": "National Energy System Operator (NESO)",
        "licence": "Creative Commons Attribution 4.0 International",
        "url": "https://creativecommons.org/licenses/by/4.0/",
        "terms": "https://github.com/carbon-intensity/terms"
      }
    ]
  },
  "links": {
    "self": "https://utilityprices.co.uk/api/v1/grid/electricity",
    "page": "https://utilityprices.co.uk/",
    "docs": "https://utilityprices.co.uk/developers/api#grid-electricity"
  }
}

Returns 503 upstream_unavailable if the NESO feed is down. data.status is stale when the latest half hour ended more than 90 minutes ago; data.carbonIntensity is null when no recent reading exists. For history, forecasts and regional intensity use the Carbon Intensity API directly.

Index and OpenAPI

GET/api/v1

Lists every endpoint, CSV download and widget with absolute URLs.

GET/api/v1/openapi.json

The OpenAPI 3.1 description of this API, for code generators, Postman and similar tools.

Errors

Errors use the matching HTTP status and one JSON shape. Check error.code rather than the message text.

Error codes
StatusCodeWhen
400invalid_parameterA query parameter has an unsupported value, for example fuel=coal.
404not_foundNo endpoint at that path.
404region_not_foundThe region slug is not one of the 14 price-cap regions.
405method_not_allowedAnything other than GET, HEAD or OPTIONS. The API is read-only.
503upstream_unavailableThe live grid source is unavailable. We never substitute estimated readings.

Example: unknown region (404)

{
  "error": {
    "status": 404,
    "code": "region_not_found",
    "message": "Unknown region \"atlantis\". GET /api/v1/price-cap/regions lists the 14 region slugs.",
    "docs": "https://utilityprices.co.uk/developers/api#errors"
  }
}

Versioning and changelog

The version is part of the path. We may add fields and endpoints to v1; we will not remove or rename fields in v1. A breaking change would use a new path such as /api/v2 and be announced on this page.

  • 1.0.0 (11 October 2026): First release: price cap, regional rates, electricity VAT relief, business prices and the live GB electricity mix, plus CSV downloads and embeddable widgets.