🇻🇪 Venezuelan Citizen InformationService to query Venezuelan citizens using their Citizenship ID.
Venezuelan Citizen Information
GET - https://api.verifik.co/v2/ve/cedula
This service allows users to verify the authenticity of a Venezuelan identity card by providing the document number. The response includes the full name of the cardholder, the first and last names separately, and the type of document.
This information can be used by companies and organizations to verify the identity of their customers, employees, or partners.
To use this service in a graphical interface, we invite you to access our client panel at Verifik.
Implementation
Headers
Query Parameters
Name Type Required? Description Example Document number of the person to be queried.
Request
JavaScript Python Swift PHP
Copy import axios from 'axios' ;
const options = {
method : 'GET' ,
url : '<https://api.verifik.co/v2/ve/cedula>' ,
params : { documentNumber : '123456789' } ,
headers : {
Accept : 'application/json' ,
Authorization : 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios .request (options);
console .log (data);
} catch (error) {
console .error (error);
}
Copy import http . client
conn = http . client . HTTPSConnection ( "api.verifik.co" )
payload = ''
headers = {}
conn . request ( "GET" , "/v2/ve/cedula?documentNumber=123456789" , payload, headers)
res = conn . getresponse ()
data = res . read ()
print (data. decode ( "utf-8" ))
Copy var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/ve/cedula?documentNumber=123456789")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
let task = URLSession.shared. dataTask ( with : request ) { data, response, error in
guard let data = data else {
print ( String ( describing : error ))
return
}
print ( String ( data : data, encoding : . utf8 ) ! )
}
task. resume ()
Copy <? php
require_once 'HTTP/Request2.php' ;
$request = new HTTP_Request2 ();
$request -> setUrl ( 'https://api.verifik.co/v2/ve/cedula?documentNumber=123456789' ) ;
$request -> setMethod ( HTTP_Request2 :: METHOD_GET ) ;
$request -> setConfig ( array (
'follow_redirects' => TRUE
) ) ;
try {
$response = $request -> send () ;
if ($response -> getStatus () == 200 ) {
echo $response -> getBody () ;
}
else {
echo 'Unexpected HTTP status: ' . $response -> getStatus () . ' ' .
$response -> getReasonPhrase () ;
}
}
catch ( HTTP_Request2_Exception $e) {
echo 'Error: ' . $e -> getMessage () ;
}
Response
200 404 409
Copy {
"data" : {
"arrayName" : [
"MATEO" ,
"VERIFIK"
] ,
"documentNumber" : "123456789" ,
"documentType" : "CCVE" ,
"firstName" : "MATEO" ,
"fullName" : "MATEO VERIFIK" ,
"lastName" : "VERIFIK"
} ,
"signature" : {
"dateTime" : "May 29, 2024 3:01 PM" ,
"message" : "Certified by Verifik.co"
} ,
"id" : "EZIK1"
}
Copy {
"code" : "NotFound" ,
"message" : "Record not found." ,
"signature" : {
"dateTime" : "August 31, 2022 3:24 PM" ,
"message" : "Certified by Verifik.co"
}
}
Copy {
"code" : "MissingParameter" ,
"message" : "missing documentNumber"
}