English
EPC (ADEME)
Finds the energy performance certificate of a home by its address or number, or the latest certificates in a municipality.
The EPC (ADEME) node finds the energy performance certificate (French “DPE”) of a home in ADEME’s public database (“DPE Logements existants depuis juillet 2021”): by address, by number, around a point, or the latest certificates of a municipality.
It is an open public API: nothing to connect, no key. An address is first normalised by the Base Adresse Nationale.
At a glance
- Type:
ademe_dpe.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: No external effect (
none) — nothing is written outside Loop & Roll; safe to replay - Needs a carrier email: No
- Connection: None
- Inputs:
main - Outputs:
main
Parameters
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
address - Options:
address— EPC of an address: The address is first geocoded by the Base Adresse Nationale, then the certificates published at that exact address are read, newest first.number— EPC by its number: The 13-character number printed on the certificate.nearby— EPCs around an address: Certificates published within a given radius, closest first: useful for a building where each flat has its own certificate.commune— Latest EPCs in a municipality: Certificates received by ADEME in a municipality, filterable by rating and date.
address
Address — A postal address, even an approximate one. Accepts {{ }} expressions. Around an address: leave empty to use the latitude and longitude.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 300 characters at most
- Example:
8 bd du Port, Amiens - Shown when:
actionis one ofaddress,nearby - Expressions:
{{ }}accepted
dpeNumber
EPC number
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 20 characters at most
- Example:
2480E2692821G - Shown when:
actionisnumber - Expressions:
{{ }}accepted
lat
Latitude
- Type: Text (
string) - Required: No
- Default:
""(empty) - 30 characters at most
- Shown when:
actionisnearby - Expressions:
{{ }}accepted
lon
Longitude
- Type: Text (
string) - Required: No
- Default:
""(empty) - 30 characters at most
- Shown when:
actionisnearby - Expressions:
{{ }}accepted
radius
Radius (metres)
- Type: Number (
number) - Required: No
- Default:
50 - Whole number, from 1 to 1000
- Shown when:
actionisnearby
citycode
Municipality INSEE code — The five-character code of the municipality (not its postcode), as returned by the Base Adresse Nationale node.
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 5 characters at most
- Example:
80021 - Shown when:
actioniscommune - Expressions:
{{ }}accepted
labels
Energy ratings — Empty = all. F and G are the most energy-hungry homes.
- Type: Several choices (
multiOptions) - Required: No
- Default:
[] - Options:
A— AB— BC— CD— DE— EF— FG— G
- Shown when:
actioniscommune
since
Received since — A YYYY-MM-DD date. Empty = no bound.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 10 characters at most
- Shown when:
actioniscommune - Expressions:
{{ }}accepted
limit
Maximum count
- Type: Number (
number) - Required: No
- Default:
10 - Whole number, from 1 to 100
- Shown when:
actionis one ofaddress,nearby,commune
Outputs
main— Taken once the read has completed, whether or not a certificate was found: readfoundto know.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.found }}—boolean. true when at least one certificate was found.{{ data.<step>.label }}—string. Energy rating (A to G) of the first certificate returned: the newest for an address, the closest around a point. Empty without a certificate.{{ data.<step>.ghgLabel }}—string. Climate rating (greenhouse gas, A to G) of the first certificate returned.{{ data.<step>.number }}—string. Number of the first certificate returned, for example2480E2692821G.{{ data.<step>.validUntil }}—string. Expiry date of the first certificate returned, asYYYY-MM-DD.{{ data.<step>.dpe }}—{ number, label, ghgLabel, issuedOn, receivedOn, validUntil, energyKwhPerM2, ghgKgPerM2, livingAreaM2, buildingType, constructionYear, constructionPeriod, address, banId, postcode, citycode, city, floor, addressComplement, lat, lon, distanceMeters }. The first certificate returned, in full (null without one).energyKwhPerM2is primary energy use per m² per year,ghgKgPerM2emissions per m² per year,distanceMetersthe distance to the point (Around an address only).{{ data.<step>.records }}—array of certificates (same shape as `dpe`). Every certificate returned, up to the Maximum count.{{ data.<step>.count }}—number. The number of certificates returned.{{ data.<step>.total }}—number. The number of matching certificates in the database, beyond the Maximum count.{{ data.<step>.addressFound }}—boolean. EPC of an address and Around an address: false when the Base Adresse Nationale did not find the address (no certificate is then searched).{{ data.<step>.normalizedAddress }}—string. EPC of an address and Around an address: the address as normalised by the Base Adresse Nationale.{{ data.<step>.summary }}—string. The one-line summary in the member’s language, for example “EPC found: rating C (6 Boulevard du Port 80000 Amiens).” (withsummaryKeyandsummaryParams).
Operations
- EPC of an address (
address, the default). Geocodes Address (address), then reads the certificates published at that exact address (same BAN identifier), newest first. - EPC by its number (
number). The certificate whose number is EPC number (dpeNumber), as printed on it. - EPCs around an address (
nearby). The certificates published within the Radius (radius, in metres, 50 by default, 1,000 at most) around the address, or around Latitude and Longitude when the address is empty, closest first. Useful for a building where each flat has its own certificate, filed under a slightly different address. - Latest EPCs in a municipality (
commune). The certificates received by ADEME in the municipality Municipality INSEE code (citycode), newest first, filtered by Energy ratings (labels, all by default) and Received since (since, aYYYY-MM-DDdate).
Every list stops at the Maximum count (limit, 1 to 100, 10 by default).
Example
A seller gives the address of their flat. The node is called “EPC”:
text
action address
address {{ data.read.address }}
limit 3The step data (shortened):
json
{
"found": true,
"label": "C",
"ghgLabel": "C",
"number": "2480E2692821G",
"validUntil": "2034-07-01",
"normalizedAddress": "6 Boulevard du Port 80000 Amiens",
"count": 1,
"total": 1
}A reply can quote “your home is rated {{ data.epc.label }}, certificate valid until {{ data.epc.validUntil }}”.
Tips
- Test runs. The four actions are reads: they really run in a test run.
- No certificate. A home without a certificate published since July 2021, or whose certificate is filed under a neighbouring address, returns
foundfalse: try EPCs around an address. - Prospecting. To be told about each new F or G certificate in an area, use the New EPC published trigger instead.
- Data. The database is ADEME’s, as published; the node corrects nothing.
- Errors. An empty number or INSEE code fails the step with
node_invalid_param. A service outage is retried automatically. See Error handling.