Developers · Sanctions Screening API Developer
API REFERENCE

Sanctions Screening API

Screen a name against sanctions and watchlist records with a single Smart Search call. Pass one or more keywords, receive scored, highlighted matches with alias, country, source, and provenance data.

Base URL · Auth · Examples
Base URL https://sanctions.assentify.com Auth x-api-key Format application/json

Introduction

The Sanctions Search API exposes a Smart Search endpoint that queries sanctions and watchlist records for a given tenant. Each request is authenticated with an API key and scoped to a Tenant Identifier. The response returns an array of matches, each carrying the underlying record data, highlighted fields, and a relevance score.

Requirements

Two values are required to call this API.

  1. Obtain your API Key and supply it on every request in the x-api-key header.
  2. Obtain your Tenant Identifier and use it as the tenantIdentifier path segment in the request URL.

Smart Search

Run a sanctions Smart Search for a tenant. The searchKeyword query value accepts a single keyword or multiple keywords separated by semicolons.

POST/api/Sanctions/v2/SmartSearch/{tenantIdentifier}?searchKeyword
NameInTypeDescription
tenantIdentifierpathstringThe Tenant Identifier the search is scoped to.
searchKeywordquerystringA single keyword or multiple keywords separated by semicolons.
x-api-keyheaderstringYour API key. Required on every request.
Multiple keywordsTo screen several terms in one call, join them with semicolons, for example Riad Salam;ACME Ltd.

Request Body

Schema: SmartSearchSanctionQuery. All fields are optional.

NameInTypeDescription
countrybodystring[]Optional list of countries to filter by.
listbodystring[]Optional list to filter by.
fromDatebodydatetimeOptional start of the date range.
toDatebodydatetimeOptional end of the date range.

Response Schema

A 200 success response returns Content-Type application/json with schema ComplianceSearchFilter. The body is an array of objects. Each object contains a data record, a highlights array, and a numeric score.

NameInTypeDescription
dataitemobjectThe matched record. Fields listed below.
highlightsitemstring[]Fields or terms that matched the search. Required.
scoreitemnumberRelevance score for the match. Required.

The data object carries the record detail.

NameInTypeDescription
iddatastringRecord identifier. Required.
sanctionIddatastring[]Sanction identifiers for the record. Required.
commondatastring[]Common names for the entity. Required.
aliasdatastring[]Known aliases. Required.
countrydatastring[]Associated countries. Required.
addressdatastring[] or nullAssociated addresses.
schemadatastring[]Record schema classifications. Required.
sourcedatastring[]Source lists for the record. Required.
checksumdatastring[]Record checksums. Required.
tenantIddatastring or nullTenant the record belongs to.
isPublicdatabooleanWhether the record is public. Required.
lastChangedatastring (date-time)When the record last changed. Required.
Error responseA 500 Server Error returns Content-Type application/json with schema ProblemDetails: type (string), title (string), status (int32), detail (string), and instance (string).

Examples

Request example (cURL).

curl -X 'POST' \
  'https://sanctions.assentify.com/api/Sanctions/SmartSearch/318e2ca7-fde8-4c47-bbcc-0c94b905630f?searchKeyword=Riad%20Salam' \
  -H 'accept: text/plain' \
  -H 'x-api-key: {API-KEY}' \
  -H 'Content-Type: application/json' \
  -d '{
  "country": [],
  "list": []
}'

Request body example (SmartSearchSanctionQuery).

{
  "country": [],
  "list": []
}

Response example (ComplianceSearchFilter).

[
  {
    "data": {
      "id": "string",
      "sanctionId": ["string"],
      "common": ["string"],
      "alias": ["string"],
      "country": ["string"],
      "address": ["string"],
      "schema": ["string"],
      "source": ["string"],
      "checksum": ["string"],
      "tenantId": "string",
      "isPublic": true,
      "lastChange": "2024-12-17T00:00:00Z"
    },
    "highlights": ["string"],
    "score": 0
  }
]
Full sampleA complete response from the Sanction Smart Search endpoint is provided as sanctions-example-response.json.