ScreenlyyIDDocs
Docs › API reference › Sanctions and AML

Screen a person

Screens a person against sanctions and PEP data: the DFAT Consolidated List and OpenSanctions. Use the Sources field to choose dfat, opensanctions, or both (the default).

POSThttps://api.screenlyyid.com/api/v1/screening/person

Headers#

NameTypeRequiredDescription
x-api-keystringYesYour ScreenlyyID API key
x-correlation-idstring (uuid)NoCorrelation ID for this customer check

Request body#

FieldTypeRequiredDescription
GivenNamestringNo
MiddleNamestringNo
FamilyNamestringNo
DateOfBirthstringNoYYYY, YYYY-MM or YYYY-MM-DD.
NationalitystringNoISO 3166 alpha-2.
CountrystringNo
AddressobjectNo
Address.Line1stringNo
Address.LocalitystringNo
Address.StatestringNo
Address.PostalCodestringNo
Address.CountrystringNo
Sourcesarray of stringNo"dfat", "opensanctions". Default: both.
OptionsobjectNo
Options.Thresholdnumber (double)NoMinimum score (0..1) for a result to count as matched. Default 0.8, allowed 0.5-0.99.
Options.Limitinteger (int32)NoMax matches returned per source. Default 5, allowed 1-20.
Options.Categoriesarray of stringNoRestrict to "sanction" and/or "pep". Default: all.

Responses#

StatusDescription
200Successful response
400Bad request
401Unauthorized

Code samples#

curl --request POST \
  --url 'https://api.screenlyyid.com/api/v1/screening/person' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'x-correlation-id: YOUR_CORRELATION_ID' \
  --header 'Content-Type: application/json' \
  --data '{
  "GivenName": "Jane",
  "MiddleName": "<MiddleName>",
  "FamilyName": "Citizen",
  "DateOfBirth": "<DateOfBirth>",
  "Nationality": "<Nationality>",
  "Country": "AU",
  "Address": {
    "Line1": "<Line1>",
    "Locality": "<Locality>",
    "State": "<State>",
    "PostalCode": "<PostalCode>",
    "Country": "AU"
  },
  "Sources": [
    "<Sources>"
  ],
  "Options": {
    "Threshold": 1,
    "Limit": 1,
    "Categories": [
      "<Categories>"
    ]
  }
}'