Phone Numbers API
Validate and get information about Mexican phone numbers with updated IFT database.
Features
✓ Validation & Formatting
Validate Mexican number format and standardize to E.164 international format.
✓ Carrier Identification
Identify telecommunications carrier (Telcel, AT&T, Movistar, etc.) using IFT base.
✓ IFT Database
Official information from Federal Telecommunications Institute regularly updated.
✓ Number Type
Classify numbers as mobile, landline, toll-free (800), or special.
API Endpoint
GET https://api.tlaloc.sh/v1/phone?number={number}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
number |
string | Yes | Phone number (10 digits) |
Example Request
curl -X GET "https://api.tlaloc.sh/v1/phone?number=8112345678"
Example Response
[
{
"clave_censal": "190390001",
"poblacion": "MONTERREY",
"municipio": "MONTERREY",
"estado": "NUEVO LEÓN",
"region": 2,
"nir": 81,
"serie": 1234,
"asl": 4,
"tipo_red": "MOVIL",
"modalidad": "MPP",
"razon_social": "RADIOMOVIL DIPSA SA DE CV",
"numeracion_inicial": "8112345000",
"numeracion_final": "8112345999",
"ocupacion": 1000,
"fecha_asignacion": "2021-03-10",
"fecha_consolidacion": null,
"fecha_migracion": null,
"presuscripcion": null,
"nir_anterior": null
}
]
Use Cases
User Verification
Validate numbers during registration with SMS codes.
Call Centers
Identify carrier to optimize call costs.
SMS Marketing
Validate numbers before sending bulk SMS campaigns.
Fraud Prevention
Detect invalid or suspicious numbers in transactions.