🇵🇪[v3] Peruvian Citizen

Service to query Peruvian citizens using government ID issued in Peru.

Endpoint

https://api.verifik.co/v3/pe/cedula

The Peruvian Citizen ID Verification service allows you to verify the identity of a citizen in Peru using their DNI. This service returns personal information, such as full name, date of birth and some other details that are required to validate the identity of someone in Peru with just the DNI Document Number.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

Name
Type
Required?
Description
Example

documentType

String

True

Document type. Allowed value: DNI.

DNI

documentNumber

String

True

Document number of the person to be queried.

123456789

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v3/pe/cedula>',
  params: {documentType: 'DNI', documentNumber: '1234567'},
  headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

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

Response

{
    "data": {
        "address": "CARACALLA",
        "arrayName": [
            "FELIPE",
            "TRUJILLO",
            "HERNANDEZ"
        ],
        "civilStatus": "SOLTERO",
        "dateOfBirth": "19-12-1995",
        "documentNumber": "71647369",
        "documentType": "DNI",
        "firstName": "FELIPE",
        "fullName": "FELIPE TRUJILLO HERNANDEZ",
        "lastName": "TRUJILLO HERNANDEZ",
        "sex": "M",
        "ubigeoReniec": "070101",
        "verificationDigit": "2"
    },
    "signature": {
        "dateTime": "April 16, 2025 2:43 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "FHBCC"
}

Last updated