Skip to main content
Free UK property data API Start free →
Back to Blog
Consumer Guides Nov 10, 2025 · 10 min read

EPC Ratings Explained: A Developer s Guide to Energy Performance Certificates

How EPC ratings work, what data they contain, and how to use EPC data programmatically via API for property applications.

Homedata Team · Updated

What is an EPC?

An Energy Performance Certificate (EPC) rates the energy efficiency of a building on a scale from A (most efficient) to G (least efficient). Every property in England and Wales must have a valid EPC when built, sold, or rented. Scotland and Northern Ireland have similar but separate schemes.

EPCs were introduced in 2007 as part of the EU Energy Performance of Buildings Directive. Since then, over 22 million certificates have been lodged — creating one of the richest open datasets about UK housing stock.

The two scores: current vs potential

Each EPC contains two energy efficiency scores on a scale of 1-100:

  • Current energy efficiency — what the property scores right now, based on its construction, insulation, heating system, and glazing.
  • Potential energy efficiency — what it could score if recommended improvements were made (e.g., cavity wall insulation, solar panels, boiler upgrade).

The numeric scores map to letter bands:

Band Score Range Colour Typical properties
A92-100Dark greenNew builds with heat pumps, heavy insulation
B81-91GreenModern new builds, well-insulated conversions
C69-80Light greenNewer properties (post-2000), upgraded older homes
D55-68YellowAverage UK home — this is the most common band
E39-54OrangeOlder properties, partial double glazing
F21-38Dark orangePre-war properties, poor insulation
G1-20RedListed buildings, no insulation, very old systems

The average UK property scores around D (60-65). The government's target is for all homes to reach Band C by 2035.

What data is in an EPC?

Beyond the headline rating, each EPC contains rich property data:

  • Floor area — total internal floor area in square metres
  • Construction age band — when the property was built (e.g., "1900-1929")
  • Property type — house, flat, bungalow, maisonette, park home
  • Wall type and insulation — cavity wall, solid wall, insulated or not
  • Roof type and insulation — pitched, flat, loft insulation thickness
  • Heating system — boiler type, fuel, controls, hot water system
  • Windows — single, double, or triple glazed
  • Lighting — proportion of low-energy lighting
  • Environmental impact — CO₂ emissions in tonnes per year
  • Recommendations — suggested improvements with estimated cost and savings

Accessing EPC data programmatically

The official EPC register is available at epc.opendatacommunities.org, but it's cumbersome for production use — rate-limited, requires manual registration, and returns raw CSV.

With the Homedata EPC API, you can look up any property's EPC data by UPRN in a single call:

curl "https://homedata.co.uk/api/epc-checker/100022612238/" \
  -H "Authorization: Api-Key YOUR_API_KEY"

Response:

{
  "uprn": 100022612238,
  "current_energy_efficiency": 72,
  "potential_energy_efficiency": 85,
  "last_epc_date": "2023-05-15",
  "epc_floor_area": 65.0,
  "construction_age_band": "1967-1975",
  "epc_id": "0000-0000-0000-0000-0000"
}

The API returns 7 fields from the EPC register. The numeric scores (current_energy_efficiency, potential_energy_efficiency) are the key values — use the band table above to convert them to letter ratings (e.g., 72 → Band C).

Minimum EPC requirements for landlords

Since April 2020, all rental properties in England and Wales must have a minimum EPC rating of Band E. Landlords who let properties rated F or G face fines of up to £5,000.

The government is consulting on raising this to Band C — proposed for new tenancies by 2028, with all tenancies following by 2030. As of May 2026 this remains a consultation rather than enacted law. The current MEES landlord guidance on GOV.UK reflects the Band E minimum until legislation changes. Either way, EPC data is critical for:

  • Letting agents — flagging non-compliant properties before they're listed
  • Portfolio managers — identifying properties that need improvement investment
  • Mortgage lenders — assessing green mortgage eligibility
  • PropTech platforms — building energy efficiency features into property search

Use cases for EPC data

Portfolio compliance screening

If you manage a portfolio of rental properties, you can batch-check EPC compliance:

import requests

API_KEY = "your_api_key"
portfolio_uprns = [100022612238, 10090067699, 200003553960]

for uprn in portfolio_uprns:
    resp = requests.get(
        f"https://homedata.co.uk/api/epc-checker/{uprn}/",
        headers={"Authorization": f"Api-Key {API_KEY}"}
    )
    epc = resp.json()
    score = epc.get("current_energy_efficiency", 0)

    # Derive letter band from numeric score
    if score >= 92:   band = "A"
    elif score >= 81: band = "B"
    elif score >= 69: band = "C"
    elif score >= 55: band = "D"
    elif score >= 39: band = "E"
    elif score >= 21: band = "F"
    else:             band = "G"

    if score < 39:  # Band F or G
        print(f"⚠️  UPRN {uprn}: Band {band} ({score}) — NON-COMPLIANT")
    else:
        print(f"✅ UPRN {uprn}: Band {band} ({score})")

Green mortgage assessment

Combine EPC data with the Solar Assessment API to model green upgrade potential — estimated savings, payback periods, and post-improvement EPC scores.

Getting started

Start looking up EPC data in minutes:

  1. Create a free Homedata account
  2. Get your API key from the developer dashboard
  3. Try it: GET /api/epc-checker/{uprn}/

See the full EPC API reference for all available fields and query options.

Start building with the free API →

100 calls/month · EPC, Land Registry, council tax, schools · No credit card

Get free API key

Start building with EPC data

Free API key — 100 calls/month, no credit card required.

Related posts

May 7, 2026

UK Stamp Duty Calculator 2026: How Much SDLT Will You Pay?

May 7, 2026

Selling a Property After Probate: The Complete UK Guide for 2026

May 7, 2026

What Property Can I Afford in the UK? The 2026 Buyer Guide

May 7, 2026

How Do UK Mortgages Work? A Complete 2026 Guide

May 7, 2026

How Long Does It Take to Buy a House in the UK? 2026 Timeline

May 7, 2026

How Much Does Moving House Cost in the UK? 2026 Breakdown

May 7, 2026

What Is Conveyancing? The UK Step-by-Step Guide for 2026

May 7, 2026

How Do Property Auctions Work in the UK? The 2026 Investor Guide

May 4, 2026

Mansion Tax 2028? The High Value Council Tax Surcharge Explained

Apr 29, 2026

Holiday Let Rules 2026: Registration, Planning and Tax Changes for Airbnb Owners

Apr 24, 2026

Ground Rent Cap and Commonhold: What the 2026 Leasehold Reform Bill Really Changes

Apr 17, 2026

Planning Rules 2026: What Developers Need to Know After the Planning and Infrastructure Act

Apr 10, 2026

Scotland Rent Controls 2026: What Has Started, What Comes Later, and Who Is Exempt

Apr 3, 2026

Are Property Packs Coming Back? Material Information and Home Buying Reform Explained

May 1, 2026

Renters Rights Act 2026: What Landlords Must Do Now

May 6, 2026

31 May 2026 Landlord Deadline: The Renters Rights Act Information Sheet Explained

May 3, 2026

Section 21 Is Gone: How Landlords Can Repossess Property After 1 May 2026

Apr 22, 2026

EPC C by 2030: What the 2026 MEES Decision Means for Landlords

Apr 15, 2026

Building Safety Levy October 2026: What Residential Developers Must Budget For

Apr 8, 2026

Making Tax Digital for Landlords: April 2026 Start Date, Thresholds and Software Checklist

May 6, 2026

How to Scrape UK Property Listings (And Why You Probably Shouldn t)

Apr 4, 2026

UK Postcode Geocoding API: Convert Postcodes to Coordinates (Python & JS)

Apr 4, 2026

How to Bulk Export UK Property Data: Python & Node.js Guide

Mar 17, 2026

Tracking UK Property Market Activity via API: Listing Events, Price Reductions, and Deal Flow

Mar 3, 2026

UK House Price Growth by Postcode: Tracking Capital Appreciation via API

Feb 17, 2026

How to Build an Automated Property Valuation (AVM) with the Homedata API

Feb 3, 2026

Building a School Finder: Ofsted Ratings + Distance from Any UK Postcode

Jan 20, 2026

How to Calculate Property Development Feasibility in the UK

Jan 6, 2026

How to Build a Rental Yield Calculator with the Homedata API

Dec 22, 2025

How Much Is My Council Tax? The Exact Formula (and Why Postcode Estimates Are Wrong)

Dec 8, 2025

Address Lookup Tutorial: Typeahead → Resolve → Enriched Property in Under 50 Lines

Nov 24, 2025

What Is a UPRN? The Complete Guide to UK Property Reference Numbers

Oct 27, 2025

UK Flood Risk Data Explained: NAFRA2, Risk Bands, and the EA Flood Risk API

Oct 13, 2025

Council Tax Bands API: VOA Data, Band Lookup, and Use Cases

Sep 29, 2025

Build an EPC Compliance Checker with Python and the Homedata API

Apr 6, 2026

UK Census 2021 Demographics API: Get Area Data by Postcode (Python & JS)