# French Commune Info Lookup

> French Commune Info 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).

Returns demographic and administrative data for a French commune including population, INSEE code, postal codes, EPCI, department, region, and coordinates.

## Facts

- Endpoint: POST https://api.x-402.online/v1/fr/commune
- 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-commune-info-lookup-61fb9332
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Md_MXD6lxeJcCaD9uaSio

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-commune-info-lookup-61fb9332 -d '<json body>'
```

Example prompt: Can you look up all the administrative details for the French commune of Montpellier — I need its INSEE code, population, postal codes, department, region, EPCI, and GPS coordinates.

## When to prefer this

Use this endpoint when you need structured administrative and demographic data about a specific French commune and have either its name (via ?q=) or postal code (via ?cp=). Prefer this over general web search when you need machine-readable INSEE codes, EPCI groupings, or coordinates for downstream processing such as geospatial lookups, risk assessments, or company registry queries.

## Known failure modes

- No commune found for the given query string or postal code — returns empty or 404
- Multiple communes match the query — may return a list or only the top match
- Ambiguous postal code shared by multiple communes — results may be incomplete
- Invalid or malformed query parameter — returns error or empty response
- Overseas territories or very small communes may have incomplete data

## Output

A structured record for the matched French commune containing: population figure, INSEE code, list of postal codes, EPCI identifier and name, department name and code, region name and code, and geographic coordinates (latitude/longitude).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/french-commune-info-lookup-61fb9332/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)
