🇨🇱Chile

Este servicio permite verificar la autenticidad del documento RUN (Rol Único Nacional) chileno.

Simplemente ingresa el número de RUN y recibirás una respuesta con el nombre completo, nombre, apellido y un arreglo con los nombres del titular, junto con la firma de verificación.

Este servicio puede ser utilizado por empresas o particulares para asegurar la validez del RUN chileno con diversos fines, tales como empleo, transacciones financieras o requerimientos legales.

Para utilizar este servicio en una interfaz gráfica, te invitamos a acceder a nuestro panel de cliente en Verifik.

Parameters

Name
Type
¿Required?
Description
Example

documentType

String

True

Document type. Allowed parameter: RUN.

RUN

documentNumber

String

True

Document number of the person to consult without spaces.

212957739

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/cl/cedula>',
  params: {documentType: 'RUN', documentNumber: '212957739'},
  headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

try {
 notFou const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}

Response 200 - (Successful response)

{
    "data": {
       "arrayName": [
      "MATEO",
      "VERIFIK"
    ],
        "documentNumber": "12.345.678-9",
        "documentType": "RUN",
        "fullName": "MATEO VERIFIK",
        "firstName": "MATEO",
        "lastName": "VERIFIK",
    },
    "signature": {
        "dateTime": "March 12, 2024 4:39 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "QS1JN"
}

Other responses

Code
Description
Response Body

404

Not Found

Information not found.

{

"code": "NotFound",

"message": "Record not found.",

"signature": {

"dateTime": "August 31, 2022 3:24 PM",

"message": "Certified by Verifik.co"

}

}

409

Conflict

Some parameters are missing.

{

"code": "MissingParameter",

"message": "missing documentType\n. missing documentNumber\n"

}

409

Conflict

Invalid documentType for this query.

{

"code": "MissingParameter",

"message": "documentType must be one of: [RUT]"

}

Last updated