# French DPE/GES Energy Performance Diagnostics by Area

> French DPE/GES Energy Performance Diagnostics by Area is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Returns energy performance (DPE) and greenhouse gas emission (GES) labels for dwellings in a French commune, queryable by INSEE code or postal code.

## Facts

- Endpoint: POST https://api.x-402.online/v1/fr/dpe
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/french-dpe-ges-energy-performance-diagnostics-by-area-d6e4d0aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3QBWWnijGtd4GYYTRcdOw

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 french-dpe-ges-energy-performance-diagnostics-by-area-d6e4d0aa -d '<json body>'
```

Example prompt: Can you pull up the DPE and GES energy performance ratings for dwellings in the commune with INSEE code 75056 (Paris)?

## When to prefer this

Use this endpoint when you need DPE energy efficiency and GES greenhouse gas labels for residential dwellings in a specific French commune or postal code area — particularly for real estate analysis, property search enrichment, or energy compliance checks in France. Prefer this over generic property APIs when the French DPE/GES regulatory classification is specifically needed.

## Known failure modes

- Invalid or unknown INSEE code returns empty results or error
- Invalid postal code (cp) format causes a 400 bad request
- Commune has no DPE records available, returning empty dataset
- Missing required query parameter (neither insee nor cp provided) returns an error
- Rate limit or payment failure returns 402 or 429 status

## Output

A list or summary of energy performance diagnostics (DPE labels: A–G) and greenhouse gas emission ratings (GES labels: A–G) for residential dwellings located in the specified French commune or postal code area.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/french-dpe-ges-energy-performance-diagnostics-by-area-d6e4d0aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
