# x402-farm French Communes Lookup

> x402-farm French Communes Lookup is a paid API for AI agents from x402-farm.vercel.app, paid per call via x402, $0.005/call, status down (last checked 2026-09-08).

Returns a list of French communes with their INSEE codes, regions, and population data

## Facts

- Endpoint: GET https://x402-farm.vercel.app/v1/fr/commune
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-farm-french-communes-lookup-e39f2d40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_maV9kgFChWHeePsf1VD_s

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 x402-farm-french-communes-lookup-e39f2d40
```

Example prompt: Can you fetch the list of French communes with their INSEE codes, regions, and population figures for me?

## When to prefer this

Choose this endpoint when you need structured French commune data including INSEE codes, region assignments, and population figures, especially within an automated agent pipeline that supports the x402 micropayment protocol on Base. It requires no account setup, making it ideal for pay-per-use agent workflows. Prefer it over scraping government sites or maintaining your own commune database.

## Known failure modes

- Payment not included or invalid — returns HTTP 402 requiring x402 USDC payment on Base
- Network or server error — returns 5xx with no data
- Malformed request — returns 4xx if required input parameters are missing

## How this service works

Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.

## Output

A JSON array of French commune objects, each containing the commune name (nom), INSEE code (insee), region name (region), and population count (population). Example: [{"nom":"Basse-Terre","insee":"97105","region":"Guadeloupe","population":9417}].

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "nom": "Basse-Terre",
    "insee": "97105",
    "region": "Guadeloupe",
    "population": 9417
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-farm-french-communes-lookup-e39f2d40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-farm.vercel.app](https://www.zero.xyz/host/x402-farm.vercel.app/llms.txt)
