Validacion de INE (v1.1.0)
Download OpenAPI specification:Download
Api de validacion de INE con las listas nominales
Recibe los resultados de la validacion de INE Webhook
Authorizations:
Request Body schema: application/json
valid | boolean Indica si la credencial es valida |
messages | Array of strings |
expired | boolean Indica si la credencial esta vencida |
court_order | boolean Indica si la credencial tiene una orden de un juez |
incorrect_data | boolean Indica si la credencial tiene datos incorrectos |
cic | string Clave de identificación de ciudadano |
elector_key | string <= 18 characters Clave de elector |
ocr | string Numero OCR de la credencial |
registered_at | string <= 4 characters Año de registro |
emission_at | string <= 4 characters Año de emision |
federal_district | string <= 3 characters Distrito federal |
local_district | string <= 3 characters Distrito local |
emission_number | string <= 2 characters Numero de emision |
Responses
Request samples
- Payload
{- "valid": true,
- "messages": [
- "Fecha de actualización de la información: 23 de noviembre del 2023 20:08",
- "Fecha de consulta: 24 de noviembre del 2023"
], - "expired": false,
- "court_order": false,
- "incorrect_data": false,
- "cic": "189082445",
- "elector_key": "FRJMER94122309H903",
- "ocr": "4102023451456",
- "registered_at": "2016",
- "emission_at": "2021",
- "federal_district": "01",
- "local_district": "01",
- "emission_number": "01"
}
Recibe los errores de la validacion de INE Webhook
Authorizations:
Request Body schema: application/json
valid | boolean Indica si la credencial es valida |
error | string Mensaje de error |
Responses
Request samples
- Payload
{- "valid": false,
- "error": "INE website under maintenance"
}
Get RFC information
Get RFC information from the official government website.
Authorizations:
Request Body schema: application/json
rfc required | string The RFC to search |
Responses
Request samples
- Payload
{- "rfc": "EKM1404018J1"
}
Response samples
- 200
- 422
- 500
{- "success": true,
- "result": {
- "rfc": "EKM1404018J1",
- "valid": true
}
}
Reverse RFC information
Reverse RFC information from the official government website.
Authorizations:
Request Body schema: application/json
name required | string The name of the person or company |
first_last_name | string The first last name of the person, required for physical person |
second_last_name | string The second last name of the person, required for physical person |
birth_date required | string The birth date of the person |
person_type required | string The person type, F for physical person and M for moral person |
Responses
Request samples
- Payload
{- "name": "Margarita Gomez Velazquez",
- "first_last_name": "Gomez",
- "second_last_name": "Velazquez",
- "birth_date": "1980-07-05",
- "person_type": "F"
}
Response samples
- 200
- 422
- 500
{- "success": true,
- "result": {
- "rfc": "EKM1404018J1",
- "valid": true
}
}
Get CURP data
Tomando en cuenta la CURP proporcionada, se obtiene la información de la persona registrada en la base de datos de RENAPO
Authorizations:
Request Body schema: application/json
CURP data
curp required | string = 18 characters |
Responses
Request samples
- Payload
{- "curp": "stringstringstring"
}
Response samples
- 200
- 400
- 422
- 500
{- "result": {
- "birth_date": "01/01/2000",
- "birth_federal_entity": "DF",
- "certificate_folio": "9999",
- "curp": "XXXX910225XXXXXX09",
- "curp_status": "RCC",
- "curp_status_description": "Registro Normal",
- "first_last_name": "XXXX",
- "foreign_registration_number": "9999",
- "gender": "H",
- "issuing_entity_key": "99999",
- "municipality_key": "999",
- "name": "XXXX",
- "nationality": "MEX",
- "probatory_document": "",
- "probatory_document_data": {
- "act_number": "99999",
- "book": "9999",
- "crip": "090050291018921",
- "id": "1",
- "letter_folio": "9999",
- "name": "Acta de nacimiento",
- "sheet": "9999",
- "tome": "9999"
}, - "registration_entity_number": "09",
- "registration_year": "2000",
- "second_last_name": "XXXX",
- "valid": true
}, - "success": true
}
Obtener la CURP
En base a los datos proporcionados de una persona, se obtiene la CURP correspondiente de la base de datos de RENAPO
Authorizations:
Request Body schema: application/json
Información para obtener la CURP
birth_date required | string <date> |
birth_federal_entity required | string Enum: "AS" "BC" "BS" "CC" "CL" "CM" "CS" "CH" "DF" "DG" "GT" "GR" "HG" "JC" "MC" "MN" "MS" "NT" "NL" "OC" "PL" "QT" "QR" "SP" "SL" "SR" "TC" "TS" "TL" "VZ" "YN" "ZS" |
first_last_name required | string |
gender required | string Enum: "H" "M" |
name required | string |
second_last_name required | string |
Responses
Request samples
- Payload
{- "birth_date": "2019-08-24",
- "birth_federal_entity": "AS",
- "first_last_name": "string",
- "gender": "H",
- "name": "string",
- "second_last_name": "string"
}
Response samples
- 200
- 400
- 422
- 500
{- "result": {
- "birth_date": "01/01/2000",
- "birth_federal_entity": "DF",
- "certificate_folio": "9999",
- "curp": "XXXX910225XXXXXX09",
- "curp_status": "RCC",
- "curp_status_description": "Registro Normal",
- "first_last_name": "XXXX",
- "foreign_registration_number": "9999",
- "gender": "H",
- "issuing_entity_key": "99999",
- "municipality_key": "999",
- "name": "XXXX",
- "nationality": "MEX",
- "probatory_document": "",
- "probatory_document_data": {
- "act_number": "99999",
- "book": "9999",
- "crip": "090050291018921",
- "id": "1",
- "letter_folio": "9999",
- "name": "Acta de nacimiento",
- "sheet": "9999",
- "tome": "9999"
}, - "registration_entity_number": "09",
- "registration_year": "2000",
- "second_last_name": "XXXX",
- "valid": true
}, - "success": true
}
Valida un INE
Authorizations:
query Parameters
webhook required | string |
Request Body schema: application/json
cic required | string requerido para los tipos D y EFGH |
ocr required | string |
elector_key | string <= 18 characters |
emission_number | string <= 2 characters |
Responses
Request samples
- Payload
{- "cic": "189082445",
- "ocr": "4102023451456",
- "elector_key": "FRJMER94122309H903",
- "emission_number": "01"
}
Response samples
- 200
- 400
- 422
{- "webhook_uuid": "11ea1db3-664d-49f3-abdc-610b3b1ff546",
- "timestamp": 1647643650116
}