# French IBAN Validator with Bank Code Extraction

> French IBAN Validator with Bank Code Extraction 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-15).

Validates a French IBAN using mod-97 checksum and returns the country code and French bank code extracted from the IBAN.

## Facts

- Endpoint: GET https://x402-farm.vercel.app/v1/fr/iban
- 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-iban-validator-with-bank-code-extraction-afb26461
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xI0LVLFt8G9HN4P13-dTz

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-iban-validator-with-bank-code-extraction-afb26461
```

Example prompt: Can you check if this IBAN is valid: FR7630006000011234567890189 — and tell me which French bank it belongs to?

## When to prefer this

Choose this endpoint when you need to validate a French IBAN specifically — it not only checks the universal mod-97 checksum but also parses out the French-specific bank code (code banque), making it more useful than a generic IBAN validator for French banking contexts. It is pay-per-call with no account setup required, ideal for agent workflows needing occasional IBAN verification without a full banking API integration.

## Known failure modes

- Missing or empty IBAN query parameter returns an error
- Non-French IBANs may validate the checksum but may not return a French bank code
- Malformed IBAN string (wrong length or illegal characters) returns validation failure
- Network or upstream service error returns HTTP 5xx

## How this service works

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

## Output

Returns whether the IBAN passes the mod-97 checksum validation, the country code extracted from the IBAN (e.g. 'FR'), and the French bank code (code banque) parsed from the IBAN structure.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "iban": "FR76...",
  "pays": "FR",
  "valid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/french-iban-validator-with-bank-code-extraction-afb26461/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)
