Skip to content

Execute An AML Search For An Individual And Save The Results To The Database

Request

A request requires a name, or first name and last name, at least one valid dataset and a threshold.

Length of name or combination of first name, middle name and last name must not exceed 200 characters. If user is providing first name, middle name and last name combination, the max characters limit includes the formatted name in this format {lastName} {firstName} {middleName}.

User will be deducted 1 credit for each search.

Security
bearerToken
Headers
X-Team-Idstring, (uuid)

Optional. The team to work in, using a team id from List Teams. If left out, the default team is used. Records created in a team can only be seen by sending that team's id. A team id that doesn't exist, or a team being deleted, is rejected with 404 Team Not Found.

Example:6b78aed4-9ba6-441b-80b9-df9bea3b7c97
Bodyapplication/json

The individual to search for, and the search settings.

countryCodesArray of strings or null

List of Two-letter country code ISO-3166-2.

thresholdinteger, (int32)required

Hits with scores below the chosen value will not be shown.
Must be one of 75, 80, 85, 90, 95, or 100

sanctionBodiesArray of integers or null

Specifies which SanctionBodies will be searched. When null is supplied, the Settings preferences will be applied. When null is supplied and Settings preferences not set, all sanction bodies will be applied. When no sanction bodies supplied, all sanction bodies will be applied. Get the sanction body ids from Return Sanction Body Details.

namestring or null

Required if FirstName and LastName are not provided

firstNamestring or null

If firstName is provided then lastName must also be provided

middleNamestring or null

middleName is optional, valid along with firstName and lastName only

lastNamestring or null

If LastName is provided then FirstName must also be provided

dateOfBirthstring or null, (date)

Date YYYY-MM-DD or YYYY format. Must be after 1900 and not in the future.

isDobRequiredboolean or null

Set to true to return only hits whose date of birth matches the dateOfBirth you supply. Hits with no date of birth on record are then excluded.

When false, hits with no date of birth on record are still returned.

Only applies when dateOfBirth is supplied. Without dateOfBirth, this value is ignored. Default: false.

Default:false
Example:true
dobMatchingstring or null

How closely a hit's date of birth must match the dateOfBirth you supply.

exact - the full date must match
sameYear - the year must match
withinOneYear - the year can differ by up to one year

Only applies when dateOfBirth is supplied. Default: sameYear.

Default:"sameYear"
Enum:"exact""sameYear""withinOneYear"null
Example:"sameYear"
genderstring or null

Define the gender of the individual you are searching for. Available values are male and female.

Enum:"male""female"null
pepTiersArray of strings or null

When searching the PEP dataset, define what tiers of the PEP profiles should be included in the results.
PEP Tier 1 - senior roles
PEP Tier 2 - middle-ranking
PEP Tier 3 - junior officials

If the PEP Dataset is NOT included on the list of searched datasets, then this value is ignored.

The PEP Tier filter does not apply to PEP-LINKED Profiles.

Items Enum:"pepTier1""pepTier2""pepTier3"
datasetsArray of strings or nullrequired

Specifies which datasets will be searched
PEP - Politically Exposed Persons (All)
PEP-CURRENT - Only current PEPs
PEP-FORMER - Only former PEPs
PEP-LINKED - Only linked PEPs (PEP by Association)
SAN - Sanctioned (All)
SAN-CURRENT - Only current Sanctions
SAN-FORMER - Only former Sanctions
INS - Insolvency
AM - Averse Media
POI - Profile of Interest
ENF - Enforcement
DD - Disqualified Director. For the dataset codes you can use, see Dataset Definitions.

curl -i -X POST \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/searches/individuals \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Team-Id: 6b78aed4-9ba6-441b-80b9-df9bea3b7c97' \
  -d '{
    "firstName": "Donald",
    "lastName": "Trump",
    "threshold": 90,
    "datasets": [
      "PEP",
      "SAN",
      "AM"
    ]
  }'

Responses

Created

Bodyapplication/json
idstring, (uuid)

Id of the search

namestring or null

Name provided for the search. Length must not exceed 200 characters

countryCodesArray of strings or null

Countries provided to the search

thresholdinteger, (int32)

Hits with scores below this value will not be shown.

typestring

Indicates whether search type is individual or business

datasetsArray of strings

Provided datasets for the search

statusstring

Status of the search

riskRatingstring

Risk associated with the search

assignedToUserIdinteger or null, (int32)

Id of the user assigned to the search

assignedUserstring or null

Name of the user assigned to the search

createdByIdinteger, (int32)

Id of the user who created the search

createdBystring

Name of the user who created the search

createdAtstring, (date-time)

Search created date time

modifiedByIdinteger, (int32)

Id of the user who modified the search

modifiedBystring

Name of the user who modified the search

modifiedAtstring, (date-time)

Search modified date time

notestring or null

Note associated with the search

totalHitCountinteger, (int32)

Total number of hits in the search

truePositiveHitsCountinteger, (int32)

The number of true-positive hits in the search

falsePositiveHitsCountinteger, (int32)

The number of false-positive hits in the search

undecidedHitsCountinteger, (int32)

The number of undecided hits in the search

firstNamestring or null

First name provided in the search. The combination of first name, middle name, and last name must not exceed 200 characters

middleNamestring or null

Middle name provided in the search. The combination of first name, middle name, and last name must not exceed 200 characters

lastNamestring or null

Last name provided in the search. The combination of first name, middle name, and last name must not exceed 200 characters

genderstring or null

Gender provided in the search

dateOfBirthstring or null, (date)

DOB provided in the search

pepTiersArray of strings or null

Pep Tiers provided in the search

scheduleIdstring or null

Schedule Id linked to the search

isDobRequiredboolean or null

Indicates whether date of birth is required for the individual search.

Default:true
sanctionBodiesArray of integers or null

Provided sanctionBodies for the search

dobMatchingstring or null

The date of birth matching used in the search criteria. Available values are withinOneYear, sameYear and exact. Only returned for individual searches.

Enum:"withinOneYear""sameYear""exact"null
correlationIdstring

A unique ID assigned to this request.

Response
{ "firstName": "Donald", "lastName": "Trump", "pepTiers": [ "pepTier1", "pepTier2" ], "isDobRequired": false, "dobMatching": "sameYear", "id": "511a38c1-2016-420d-84bb-0873be8d4d2b", "threshold": 90, "type": "individual", "datasets": [ "PEP", "SAN" ], "sanctionBodies": [ 1, 2 ], "status": "new", "riskRating": "notApplicable", "createdById": 100000001, "createdBy": "Jane Smith", "createdAt": "2026-11-03T14:40:18.347Z", "modifiedById": 100000001, "modifiedBy": "Jane Smith", "modifiedAt": "2026-11-03T14:40:18.347Z", "totalHitCount": 4, "truePositiveHitsCount": 0, "falsePositiveHitsCount": 0, "undecidedHitsCount": 4, "correlationId": "5a870f48-56c4-4f12-8a6f-57affb639205" }