Retrieve information on persons from the Kycaid blacklist databases using fuzzy search to check for compliance with laws and regulations. Each response may have several objects, with one object per a blacklist
The full name of a person, which includes a first and last name
The first name of a person
The last name of a person
The middle name of a person
The date of birth of a person, formatted as “YYYY-MM-DD” according to ISO 8601
A residence country of an object. A two-letter country code according to ISO 3166-2
The gender of a person. M indicates male; F indicates female
The minimum similarity score required to include a name in the search results. A higher value returns fewer, more exact matches, and a lower value returns more results with less similarity
Influence of a name match on the total match score
Enable or disable inclusion of a date of birth in the total match score
Influence of a date of birth match on the total match score
Enable or disable inclusion of a residence country match in the total match score
Influence of a residence country match on the total match score
Enable or disable inclusion of a gender match in the total match score
Influence of a gender match on the total match score
A type of blacklist databases to make a check
SANCTIONS: Global and local sanctions databasesPEP: Databases of politically exposed persons (PEP)WANTED: Databases of persons being searched for by the policeEXPIRED: Databases of stolen or lost documents
[ "SANCTIONS" ]
- https://api.kycaid.comhttps://api.kycaid.com/bdb/persons
const resp = await fetch(
`https://api.kycaid.com/bdb/persons`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-Key': 'YOUR_API_KEY_HERE'
},
body: JSON.stringify({
full_name: 'Josh Coffey',
first_name: 'Josh',
last_name: 'Coffey',
middle_name: 'David',
dob: '1976-02-21',
residence_country: 'GB',
gender: 'M',
name_match_threshold: 0.75,
name_match_weight: 0.7,
dob_match_enabled: true,
dob_match_weight: 0.1,
residence_country_match_enabled: true,
residence_country_match_weight: 0.05,
gender_match_enabled: true,
gender_match_weight: 0.05,
bdb_types: ['SANCTIONS']
})
}
);
const data = await resp.json();
console.log(data);{ "data": { "parameters": { "name_match_threshold": 0.75, "name_match_weight": 0.7, "dob_match_enabled": true, "dob_match_weight": 0.1, "residence_country_match_enabled": true, "residence_country_match_weight": 0.05, "gender_match_enabled": true, "gender_match_weight": 0.05 }, "result": [ { "full_name": "Josh Coffey", "origin_full_name": "Джош Кофі", "first_name": "Josh", "origin_first_name": "Джош", "last_name": "Coffey", "origin_last_name": "Кофі", "middle_name": "David", "origin_middle_name": "Conrad", "dob": "1976-02-21", "residence_country": "GB", "gender": "M", "description": "Reciprocal - 2010-04-30", "bdb_name": "Open Sanctions Default", "aliases": [ {} ], "addresses": [ {} ], "name_match_score": 0.8, "total_match_score": 0.86 } ] } }