✅ ValidaLatam All validators · API docs · RapidAPI · ES

CLABE Validator

CLABE (Mexican interbank account number) · Issuer: Banxico / ABM. SPEI transfers, payroll disbursement, supplier payouts.

Free online validator

Validated with the public algorithm; we don't store your input.

Format

18 digits: bank (3), city/plaza (3), account (11) and control digit (1).

Check-digit algorithm

  1. Weights 3, 7, 1 repeated over the first 17 digits.
  2. Sum each product mod 10.
  3. Control = (10 − sum mod 10) mod 10.

Use cases

SPEI transfers, payroll disbursement, supplier payouts.

Code examples

# curl (RapidAPI)
curl -X POST "https://validalatam.p.rapidapi.com/validate" -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: $RAPIDAPI_KEY" -H "X-RapidAPI-Host: validalatam.p.rapidapi.com" \
  -d '{"type":"MX_CLABE","value":"012438860923799081"}'
# Python
import requests
r = requests.post("https://validalatam.p.rapidapi.com/validate", json={"type": "MX_CLABE", "value": "012438860923799081"},
                 headers={"X-RapidAPI-Key": KEY, "X-RapidAPI-Host": "validalatam.p.rapidapi.com"})
print(r.json()["valid"], r.json()["formatted"])
// JavaScript (fetch)
const r = await fetch("https://validalatam.p.rapidapi.com/validate", { method: "POST",
  headers: { "Content-Type": "application/json", "X-RapidAPI-Key": KEY, "X-RapidAPI-Host": "validalatam.p.rapidapi.com" },
  body: JSON.stringify({ type: "MX_CLABE", value: "012438860923799081" }) });
const { valid, formatted, error } = await r.json();
# Response
{
  "valid": true,
  "type": "MX_CLABE",
  "country": "MX",
  "input": "012438860923799081",
  "normalized": "012438860923799081",
  "formatted": "012 438 86092379908 1"
}

API plans on RapidAPI

Free plan to get started; paid plans for production volume and batch validation (up to 1000 per request).

See plans on RapidAPI →

FAQ

How is the CLABE check digit calculated?

Weights 3, 7, 1 repeated over the first 17 digits. Sum each product mod 10. Control = (10 − sum mod 10) mod 10.

What is the CLABE format?

18 digits: bank (3), city/plaza (3), account (11) and control digit (1).

Can I tell the bank from a CLABE?

The first 3 digits are the bank code (e.g. 012 = BBVA, 002 = Banamex).

Is this validator free?

Yes, the web tool is free. To integrate it, use the API: there's a free plan on RapidAPI.

Does the API store the numbers I validate?

No. Validation is deterministic, with no storage and no third-party lookups.

Other validators

RFC · MexicoCURP · MexicoCUIT · ArgentinaCUIL · ArgentinaDNI · ArgentinaCBU · ArgentinaCVU · ArgentinaCPF · BrazilCNPJ · BrazilRUT · Chile