Brazil
Endpointβ
https://api.verifik.co/v2/br/background-check
The Brazil Background service provides detailed information about Brazilian individuals. When making a query, the response includes relevant data such as associated names, ability to issue reports, certification number, document number, document type, first name, full name, last name, and a base64-encoded PDF file.
This information can be used for a variety of purposes, such as employment screening, due diligence, compliance verification, and fraud prevention.
Headersβ
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Parametersβ
| Name | Type | Required | Description |
|---|---|---|---|
documentType | string | Yes | Document type. Allowed parameter: CPF. |
documentNumber | string | Yes | Document number of the person to consult. |
dateOfBirth | string | Yes | Date of birth of the person to consult, valid format: dd/mm/yyyy. |
Requestβ
- JavaScript
- Python
- PHP
- Swift
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/br/background-check',
params: {
documentType: 'CPF',
documentNumber: '012.345.678-01',
dateOfBirth: '17/02/2002'
},
headers: {
Accept: 'application/json',
Authorization: 'Bearer <your_token>'
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
headers = {
'Accept': "application/json",
'Authorization': "Bearer <your_token>"
}
conn.request("GET", "/v2/br/background-check?documentType=CPF&documentNumber=012.345.678-01&dateOfBirth=17/02/2002", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://api.verifik.co/v2/br/background-check?documentType=CPF&documentNumber=012.345.678-01&dateOfBirth=17/02/2002', [
'headers' => [
'Accept' => 'application/json',
'Authorization' => 'Bearer <your_token>',
],
]);
echo $response->getBody();
import Foundation
let headers = [
"Accept": "application/json",
"Authorization": "Bearer <your_token>"
]
let request = NSMutableURLRequest(url: NSURL(string: "https://api.verifik.co/v2/br/background-check?documentType=CPF&documentNumber=012.345.678-01&dateOfBirth=17/02/2002")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
Responseβ
- 200
- 404
- 409
- 409 (Invalid Type)
{
"data": {
"documentType": "CPF",
"documentNumber": "012.345.678-01",
"firstName": "JoΓ£o",
"lastName": "Silva",
"fullName": "JoΓ£o Silva",
"dateOfBirth": "17/02/2002",
"certificationNumber": "123456789",
"canIssueReports": true,
"associatedNames": ["JoΓ£o Silva Santos"],
"pdfReport": "base64_encoded_pdf_content",
"status": "clear"
},
"signature": {
"dateTime": "April 11, 2023 12:25 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n. missing dateOfBirth\n"
}
{
"code": "MissingParameter",
"message": "documentType must be one of: [CPF]"
}
Featuresβ
- CPF Verification: Verify the authenticity of Brazilian CPF documents
- Complete Background Data: Returns full name, document details, certification number, and PDF report
- Structured Response: Organized data format for easy integration
- Multiple Programming Languages: Support for JavaScript, Python, PHP, and Swift
- Error Handling: Comprehensive error responses for various scenarios