Identity validation🇻🇪 Venezuela🇻🇪 Venezuelan Foreigner citizensService to consult Venezuelan citizens using their Citizenship Card.
Information about foreigners in Venezuela
GET - https://api.verifik.co/v2/ve/foreigner-id
The Foreigners Inquiry Service in Venezuela allows you to verify the identity of foreign individuals in the country. Simply provide the document number to receive relevant information. The response includes details such as the full name of the individual, their first and last names separately, and the type of document.
This service is ideal for companies and organizations that need to reliably confirm the identity of foreign clients, employees, or partners.
To use this service in a graphical interface, we invite you to access our client panel at Verifik.
Parameters
Name
Type
Required?
Description
Example
Document number of the person to consult.
Request
JavaScript Python Swift PHP
Copy import axios from 'axios' ;
const options = {
method : 'GET' ,
url : '<https://api.verifik.co/v2/ve/foreigner-id>' ,
params : { documentNumber : '123456789' } ,
headers : {
Accept : 'application/json' ,
Authorization : 'jwt <tu_token>'
}
};
try {
const { data } = await axios .request (options);
console .log (data);
} catch (error) {
console .error (error);
}
Copy import requests
options = {
'method' : 'GET' ,
'url' : 'https://api.verifik.co/v2/ve/foreigner-id' ,
'params' : { 'documentNumber' : '123456789' },
'headers' : {
'Accept' : 'application/json' ,
'Authorization' : 'jwt <tu_token>'
}
}
try :
response = requests . request (options[ 'method' ], options[ 'url' ], params = options[ 'params' ], headers = options[ 'headers' ])
data = response . json ()
print (data)
except Exception as error :
print (error)
Copy import Foundation
let url = URL ( string : "https://api.verifik.co/v2/ve/foreigner-id?documentNumber=123456789" ) !
var request = URLRequest ( url : url )
request.httpMethod = "GET"
request. setValue ( "application/json" , forHTTPHeaderField : "Accept" )
request. setValue ( "jwt <tu_token>" , forHTTPHeaderField : "Authorization" )
let task = URLSession.shared. dataTask ( with : request ) { data, response, error in
if let error = error {
print ( error )
return
}
guard let data = data else {
print ( "No data received" )
return
}
do {
let json = try JSONSerialization. jsonObject ( with : data, options : [] )
print ( json )
} catch {
print ( "Error parsing JSON: \(error) " )
}
}
task. resume ()
Copy <? php
require 'vendor/autoload.php' ;
use GuzzleHttp \ Client ;
use GuzzleHttp \ Exception \ RequestException ;
$client = new Client ();
try {
$response = $client -> request ( 'GET' , 'https://api.verifik.co/v2/ve/foreigner-id' , [
'query' => [ 'documentNumber' => '123456789' ] ,
'headers' => [
'Accept' => 'application/json' ,
'Authorization' => 'jwt <tu_token>' ,
]
] ) ;
$data = json_decode ( $response -> getBody (), true ) ;
print_r ( $data ) ;
} catch ( RequestException $e) {
echo $e -> getMessage () ;
}
?>
Response
200 404 409
Copy {
"data" : {
"documentType" : "CEVE" ,
"documentNumber" : "123456789" ,
"fullName" : "MATEO VENEZUELA VERIFIK" ,
"lastName" : "MATEO" ,
"firstName" : "VENEZUELA VERIFIK" ,
"arrayName" : [
"MATEO" ,
"VENEZUELA" ,
"VERIFIK"
] ,
} ,
"signature" : {
"dateTime" : "March 13, 2024 2:01 AM" ,
"message" : "Certified by Verifik.co"
} ,
"id" : "7VWXP"
}
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"
}