[v3] Full Peruvian Citizen
Service to query a Full Peruvian citizen information using the DNI (National Identity Document).
Endpoint
https://api.verifik.co/v3/pe/cedula/extra
This API call performs an extended identity verification for a Peruvian citizen using their DNI (Documento Nacional de Identidad) number. This Service retrieves detailed personal information. It returns data such as the individual's full name, first name, last name, civil status, date of birth, document number, expedition and expiration dates, and additional details like address and verification signature, as certified by Verifik.
The Authorization header is required for authentication to access this information securely.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Query Parameters
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-11-1997",
"documentNumber": "74687367",
"documentType": "DNI",
"expeditionDate": "03-03-2025",
"expirationDate": "03-03-2033",
"firstName": "FELIPE",
"fullName": "FELIPE TRUJILLO HERNANDEZ",
"lastName": "TRUJILLO HERNANDEZ",
"photo": "/9j/4AAQSkZJRgABAgAAAQABAAD/2wBD...v8ADSGiigD/2Q==",
"sex": "M",
"ubigeoReniec": "020208",
"verificationDigit": "2"
},
"signature": {
"dateTime": "April 16, 2025 2:44 PM",
"message": "Certified by Verifik.co"
},
"id": "G2ZOZ"
}
Last updated