Skip to main content

PEP & Sanction Screening

Search Persons — PEP & Sanctions

POST {{baseurl}}/api/v1/persons

By default, person search returns results from Criminal, Sanctions, PEP, and Offshores databases simultaneously.

Request Body

NameTypeRequiredDescription
queryObjectYesSearch query object
firstNameStringYesSubject's first name
lastNameStringYesSubject's last name
dobObjectNoDate of birth object
dayNumberNoDay of birth
monthNumberNoMonth of birth
yearNumberNoYear of birth
documentStringNoIdentity document number
countryStringNoISO country code to narrow results
categoryStringNoFilter by category (e.g. PEP, Sanction)
algorithmStringNoMatching algorithm: SorensenDice, Phonetic, or Exact. Default: SorensenDice
matchThresholdNumberNoMatch sensitivity (0–1). Higher values return fewer but more precise results. Recommended: 0.60.7
monitoringBooleanNoEnable ongoing monitoring for this subject
pageStringNoPage number for paginated results

Request Example

{
"query": {
"firstName": "John",
"lastName": "Doe",
"dob": {
"day": 15,
"month": 3,
"year": 1975
},
"country": "NG"
},
"algorithm": "SorensenDice",
"matchThreshold": 0.7,
"monitoring": false,
"page": "1"
}

Response

{
"status": 200,
"message": "persons fetched successfully",
"code": "info",
"data": {
"date": "2024-10-20T11:03:23+00:00",
"requestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"matchesCount": 1,
"persons": [
{
"uid": "abc123xyz",
"score": 0.94,
"deceased": false,
"gender": "Male",
"names": [
{
"type": "Primary",
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"lang": "en",
"_id": "64f1a2b3c4d5e6f7a8b9c0d1"
},
{
"type": "Alias",
"firstName": "Johnny",
"lastName": "Doe",
"fullName": "Johnny Doe",
"lang": "en",
"_id": "64f1a2b3c4d5e6f7a8b9c0d2"
}
],
"dobs": [
{
"day": 15,
"month": 3,
"year": 1975
}
],
"category": [
{
"type": "PEP",
"level": "International",
"_id": "64f1a2b3c4d5e6f7a8b9c0d3"
}
],
"countries": [
{
"type": "Citizenship",
"code": "NG",
"_id": "64f1a2b3c4d5e6f7a8b9c0d4"
}
],
"organizations": [
{
"name": "Federal Government of Nigeria",
"position": "Minister of Finance",
"_id": "64f1a2b3c4d5e6f7a8b9c0d5"
}
],
"addresses": [
{
"type": "Primary",
"line": "3 Eagle Square, Abuja",
"country": "NG",
"state": "FCT"
}
],
"images": [
"https://example.com/images/john-doe.jpg"
],
"sources": [
"UN Consolidated List",
"OFAC SDN List"
],
"links": [
{
"title": "Reuters Article",
"url": "https://www.reuters.com/article/example"
}
],
"description": [
{
"type": "Description",
"value": "Former Minister of Finance, included on international sanctions list since 2021."
}
],
"extra": [
{
"key": "Passport Number",
"value": "A12345678"
}
],
"relations": [],
"contactDetails": [],
"documents": []
}
]
}
}

Match Score

The score field indicates the confidence of the name match on a scale from 0 to 1. A score of 1.0 is an exact match. The recommended threshold range is 0.60.7 — values above this threshold are returned in the results.

Category Types

CategoryDescription
PEPPolitically Exposed Person
SanctionSubject on a government or international sanctions list
CriminalIndividual with criminal records
OffshoreSubject linked to offshore financial activity

PEP Levels

LevelDescription
EUPolitically exposed at EU level
InternationalPolitically exposed at international/global level

Error Responses

HTTP/1.1 400 Bad Request

{
"status": 400,
"message": "firstName and lastName are required",
"code": "error"
}

HTTP/1.1 402 Payment Required

{
"success": false,
"statusCode": 402,
"message": "Insufficient fund",
"name": "PaymentRequiredError",
"data": {}
}

HTTP/1.1 403 Forbidden

{
"success": false,
"statusCode": 403,
"message": "Permission denied",
"name": "UnauthorizedError",
"data": {}
}

HTTP/1.1 500 Internal Server Error

{
"success": false,
"statusCode": 500,
"message": "Service unavailable",
"name": "Error",
"data": {}
}