Skip to main content

Validacion de INE (v1.1.0)

Download OpenAPI specification:Download

Jorge Garduño: jorge@gendra.dev URL: https://remtools.io License: Apache 2.0

Api de validacion de INE con las listas nominales

Webhooks

Recibe los resultados de la validacion de INE Webhook

Authorizations:
api_keyapiKeyAuth
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

Content type
application/json
{
  • "valid": true,
  • "messages": [
    ],
  • "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:
api_keyapiKeyAuth
Request Body schema: application/json
valid
boolean

Indica si la credencial es valida

error
string

Mensaje de error

Responses

Request samples

Content type
application/json
{
  • "valid": false,
  • "error": "INE website under maintenance"
}

RFC

Get RFC information

Get RFC information from the official government website.

Authorizations:
api_keyapiKeyAuth
Request Body schema: application/json
rfc
required
string

The RFC to search

Responses

Request samples

Content type
application/json
{
  • "rfc": "EKM1404018J1"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "result": {
    }
}

Reverse RFC information

Reverse RFC information from the official government website.

Authorizations:
api_keyapiKeyAuth
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

Content type
application/json
{
  • "name": "Margarita Gomez Velazquez",
  • "first_last_name": "Gomez",
  • "second_last_name": "Velazquez",
  • "birth_date": "1980-07-05",
  • "person_type": "F"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "result": {
    }
}

CURP

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:
ApiKeyAuth
Request Body schema: application/json

CURP data

curp
required
string = 18 characters

Responses

Request samples

Content type
application/json
{
  • "curp": "stringstringstring"
}

Response samples

Content type
application/json
{
  • "result": {
    },
  • "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:
ApiKeyAuth
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

Content type
application/json
{
  • "birth_date": "2019-08-24",
  • "birth_federal_entity": "AS",
  • "first_last_name": "string",
  • "gender": "H",
  • "name": "string",
  • "second_last_name": "string"
}

Response samples

Content type
application/json
{
  • "result": {
    },
  • "success": true
}

INE

Valida un INE

Authorizations:
api_keyapiKeyAuth
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

Content type
application/json
{
  • "cic": "189082445",
  • "ocr": "4102023451456",
  • "elector_key": "FRJMER94122309H903",
  • "emission_number": "01"
}

Response samples

Content type
application/json
{
  • "webhook_uuid": "11ea1db3-664d-49f3-abdc-610b3b1ff546",
  • "timestamp": 1647643650116
}
rem

JOIN US ON

facebooktwitterLinkedIn
CONTACThello@rem.tools55-91-03-80-54
© Copyright rem 2022 All rights reserved.