# ADEME DPE Energy Certificates – French Dwellings

> ADEME DPE Energy Certificates – French Dwellings is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns official French DPE (Diagnostic de Performance Énergétique) energy certificates for existing dwellings, including energy class A-G, GHG class, primary energy consumption, floor area, and construction period.

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/fr/dpe
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ademe-dpe-energy-certificates-french-dwellings-15c83988
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GqAehVI-DPa1VlEIKJILu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ademe-dpe-energy-certificates-french-dwellings-15c83988
```

Example prompt: Can you pull the official ADEME DPE energy certificates for dwellings in postal code 75011 — show me up to 20 results, flagging any F or G rated units that would be subject to a rental ban?

## When to prefer this

Use this endpoint when you need official, government-sourced French DPE energy performance data for real estate due diligence, rental compliance checks (F/G ban screening), or property valuation workflows. It is preferable over scraping real-estate portals because the data comes directly from ADEME's authoritative open dataset. Best suited for workflows targeting French properties specifically.

## Known failure modes

- Missing both postal_code and address parameters returns a 400 error
- Invalid or non-existent postal code returns an empty result set
- size parameter exceeding 50 is clamped or rejected
- Address not found in BAN database returns no matches
- Service unavailability on Railway hosting returns a 5xx error
- Payment failure via x402 protocol blocks access before data is returned

## How this service works

Official DPE energy certificates for existing French dwellings from the ADEME dpe03existant dataset (Licence Ouverte 2.0, anonymised). Returns energy class A-G, GHG class, primary-energy consumption kWh/m2/yr, floor area, construction period. Query: ?postal_code=75011 or ?address=48 rue de Montreuil Paris, optional &size=10 (max 50). Spots F/G rental-ban units for real-estate due diligence. Cached 24h.

## Output

Returns up to 50 DPE certificate records per query, each containing the energy class (A–G), GHG class, primary energy consumption in kWh/m²/yr, floor area in m², and construction period. Data is sourced from the ADEME dpe03existant open dataset, anonymised, and cached for 24 hours.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "size": {
       "type": "integer",
       "default": 10,
       "description": "Number of certificates to return (1-50)"
      },
      "address": {
       "type": "string",
       "description": "Free-text address matched against the BAN address field"
      },
      "postal_code": {
       "type": "string",
       "description": "5-digit French postal code, e.g. 75011"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ademe-dpe-energy-certificates-french-dwellings-15c83988/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
