This service allows you to verify the authenticity of the Chilean RUT (Unique Taxpayer Registry) document. Simply enter the RUT number, and you will receive a response with the full name, first name, last name, and name array of the cardholder, along with the verification signature.

This service can be used by companies or individuals to ensure the validity of the Chilean RUT for various purposes, such as employment, financial transactions, or legal requirements.

To use this service in a graphical interface, we invite you to access our client panel at Verifik.

Parameters

Name Type ¿Required? Description Example
documentType String True Document type. Allowed parameter: RUT. RUT
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/taxpayer>',
  params: {documentType: 'RUT', 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": "123456789",
        "documentType": "RUT",
        "firstName": "MATEO",
        "fullName": "MATEO VERIFIK",
        "lastName": "VERIFIK"
    },
    "signature": {
        "dateTime": "April 11, 2024 7:08 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "X5GYV"
}

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]"
}