# French Postal Code to Communes Lookup

> French Postal Code to Communes Lookup is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Maps a French postal code (CP) to the list of communes it covers, returning each commune's name and INSEE code

## Facts

- Endpoint: POST https://api.x-402.online/v1/fr/codes-postaux
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/french-postal-code-to-communes-lookup-37819211
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NwkudxvP5zD1u3cWfLEPQ

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-postal-code-to-communes-lookup-37819211 -d '<json body>'
```

Example prompt: What communes are associated with the French postal code 13001? I need both the commune names and their INSEE codes.

## When to prefer this

Use this endpoint when you need to resolve a French postal code to its constituent communes and INSEE codes — ideal for address validation, geographic enrichment, KYB/KYC dossiers, or any workflow that needs to map a CP to official French administrative identifiers. Prefer over general geocoding APIs when INSEE codes are specifically required.

## Known failure modes

- Invalid or non-existent postal code returns empty list or 404
- Missing ?cp= query parameter returns 400 or error
- Non-French postal codes (e.g. UK or Belgian) return no results
- Payment not provided or insufficient returns 402 Payment Required

## Output

A list of communes associated with the given French postal code, each entry containing the commune's human-readable name and its INSEE administrative code (code officiel géographique).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/french-postal-code-to-communes-lookup-37819211/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)
