π΅πͺ Peru - Full ID
Verifik's Identity Verification API helps you perform extended identity verification for Peruvian citizens using their DNI (Documento Nacional de Identidad) number. It's designed to streamline your KYC (Know Your Customer) processes, prevent fraud, and ensure you meet all regulatory requirements effortlessly.
We built this integration for businesses that need a fast, secure, and automated way to access comprehensive personal information, including full name, civil status, date of birth, document details, address, and photo data.
The Authorization header is required for authentication to access this information securely.
What does this API validate?β
Our API connects directly with official Peruvian records to validate:
- Full Name & DNI Number: Supports Documento Nacional de Identidad (DNI) documents.
- Identity Match: Confirms that the name provided matches the DNI number.
- Extended Personal Data: Returns civil status, date of birth, sex, and address information.
- Document Information: Validates document type, number, expedition date, expiration date, and verification digit.
- Geographic Information: Provides ubigeoReniec code for location identification.
- Photo Data: Access citizen photo in base64 format.
By verifying these details, you can be confident that the person you're dealing with is real and holds a valid document, significantly lowering the risk of impersonation and fraud.
Endpointβ
GET https://api.verifik.co/v3/pe/cedula/extra
Headersβ
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Parametersβ
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
documentType | string | Yes | Document type. Allowed value: DNI. | DNI |
documentNumber | string | Yes | Document number of the person to be queried. | 123456789 |
Requestβ
- JavaScript
- Python
- Ruby
- cURL
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.verifik.co/v3/pe/cedula/extra',
params: {
documentType: 'DNI',
documentNumber: '1234567'
},
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer <tu_token>'
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import requests
url = "https://app.verifik.co/v3/pe/cedula/extra?documentType=DNI&documentNumber=74687367&force=1"
payload = {}
headers = {
'Authorization': 'Bearer eyJhbGciOIJ9.eyJjbGllbnRJZCI6..06rwjGQ'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://app.verifik.co/v3/pe/cedula/extra?documentType=DNI&documentNumber=74687367&force=1")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = "Bearer eyJhbGciOkpXVCJ9.eyJjbGllbn...rwjGQ"
response = https.request(request)
puts response.read_body
curl --location --request GET 'https://app.verifik.co/v3/pe/cedula/extra?documentType=DNI&documentNumber=74687367&force=1' \
--header 'Authorization: Bearer eyJhbGciOiJXVCJ9.eyJjbGllbnR...QqLcIe4-706rwjGQ'
Responseβ
- 200
- 404
- 409 - Missing parameters
- 409 - Invalid documentType
{
"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"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
}
{
"code": "MissingParameter",
"message": "documentType must be one of: [DNI]"
}
Common Use Casesβ
- Advanced KYC Processes: Perform comprehensive identity verification for enhanced compliance and fraud detection.
- Financial Services: Verify detailed identity data for banking and financial service applications.
- Employment Verification: Validate comprehensive personal information for hiring processes.
- Compliance & Due Diligence: Ensure compliance with Peruvian regulations requiring extended identity data.
- Fraud Detection: Access extended data including photo and demographic information for advanced fraud prevention.
Official Sources & Reliabilityβ
We connect directly with official Peruvian government sources (RENIEC) to ensure you receive verified, up-to-the-minute information. Every query is handled with strict adherence to security and regulatory standards.
Key Benefitsβ
- Automated Compliance: Streamline your KYC checks to prevent fraud without adding friction for your users.
- Extended Data Access: Get comprehensive identity information including photo, address, civil status, and demographic data.
- Instant Results: Process verifications in seconds, perfect for real-time identity verification.
- Trusted Data: Rely on data sourced directly from official RENIEC records.
- Easy Integration: Connect easily via our REST API or use our compatible SDKs.
Compliance & Securityβ
We prioritize the safety of your data. Verifik uses advanced encryption (HTTPS/TLS 1.3) and strict privacy management standards to ensure confidentiality. Our service is monitored 24/7 for availability and offers role-based access controls to keep your team's access secure.
About Verifikβ
Verifik is a leading platform for identity verification, compliance, and fraud prevention across Latin America. Our APIs automate KYC, KYB, AML, and biometric validation processes, connecting businesses with official data sources in Colombia, Mexico, Peru, Chile, Uruguay, Argentina, Brazil, and beyond.