All documentation

AML Screening API Reference

AML screening API for sanctions, PEP, and watchlist checks on customers and counterparties in Saudi onboarding and payments.

AML API

The AML API lets you screen customers or entities against sanctions and AML watchlists, and submit AML event-monitoring payloads for transaction or counterparty workflows. It is available only to tenants with the AML Screening product enabled.

Auth

x-api-key is required. The tenant is always derived from the API key. Any tenantId in the request body is ignored.

If AML Screening is not enabled for your tenant, these endpoints return 403.

Endpoints

  • POST /api/v1/aml/events
  • GET /api/v1/aml/events/:externalEventId
  • POST /api/v1/aml/screen
  • GET /api/v1/aml/screenings/:id

Recent Changes

Screening changed between 27 October and 16 November 2026. Nothing was removed or renamed, and the request did not change, so the path stays /api/v1. But score, classification and decision can differ from earlier screenings of the same input. Base your logic on decision and each match's requiresReview, not on your own reading of score.

DateChange
27 Oct 2026Personal names are compared part by part. The multiplier counts only details that match: sending a detail that does not match no longer raises it
9 Nov 2026Every match carries listedEntity, snapshot and sourceDetails. GET /api/v1/aml/screenings/:id adds changesSinceScreening. EU sanctions come through OpenSanctions, so new screenings no longer return EU_SANCTIONS matches. The UN sanctionReason text is fixed
11 Nov 2026One review threshold per sensitivity profile. Classifications are WEAK, STRONG and EXACT; POSSIBLE is no longer produced. scoreBreakdown.evidence.name.strength can be STRONG, and scoreBreakdown.evidence.dateOfBirth.yearGap was added
11 Nov 2026Candidate search for individuals requires your first and family name to match a listed name. Fewer unrelated matches; longer names return fewer results
12 Nov 2026An exact full name on a SANCTIONS or TERROR listing is no longer discounted as a name-only match. It scores 100 and goes to review in every profile, unless the date of birth or nationality points to someone else
16 Nov 2026Each FULL listed entity carries listedEntity.fullName, the record's fullest name. Show it next to matchedName. This is an addition: no field changed
16 Nov 2026A short alias or primary name no longer raises a match when every fuller name on the same record contradicts your name. An exact date of birth or identifier match still keeps it
16 Nov 2026A romanization quirk no longer makes Bengali-script listed names match names such as Abdullah

Ingest an AML Event

Submits an AML event for tenant-scoped evaluation. The payload mirrors the fraud event shape for integration familiarity, but AML events do not enter the fraud events pipeline.

POST/api/v1/aml/events

Request

{
  "eventName": "payment.completed",
  "eventCategory": "TRANSACTION",
  "externalEventId": "aml_evt_ext_123",
  "customer": {
    "externalId": "user_123456",
    "email": "user@example.com",
    "metadata": { "customer_type": "individual" }
  },
  "sourceReportedAt": 1672520400,
  "reference": "3cba8491-c0cd-44c6-8a72-78ca834db7f0",
  "metadata": {
    "amount": 99.99,
    "currency": "USD",
    "payment_method": "card"
  },
  "custom_fields": {
    "counterparty_country": "US"
  }
}

Parameters

FieldRequiredDescription
eventNameRequired by AML serviceTenant-defined AML event identifier, for example payment.completed
externalEventIdRequired by AML serviceTenant-scoped unique id for polling and safe retries. Same id + same payload replays the stored result; same id + different payload returns 409. Not an Idempotency-Key header — reconcile with GET /api/v1/aml/events/:externalEventId after timeouts. Screening has no equivalent key; use GET /api/v1/aml/screenings/:id when you already have a screening id.
eventCategoryNoCUSTOMER, ACCOUNT, APPLICATION, CONTRACT, TRANSACTION, PAYMENT_INSTRUMENT or COUNTERPARTY
customerNoCustomer identifiers and optional metadata
deviceNoDevice identifiers, fingerprint, and optional metadata
ipNoIP address from which the event originated
userAgentNoUser agent from the browser or application
countryNoISO 3166-1 alpha-2 or alpha-3 country code
sessionIdNoSession identifier for related activity
sourceReportedAtNoWhen the event occurred in the source system, as ISO string or Unix seconds
referenceNoExternal reference ID for tracking in your system
metadataNoCustom metadata fields with bounded depth and size
custom_fieldsNoBusiness-specific custom fields
payloadNoLegacy fraud-event payload forwarded as metadata.payload

Response

{
  "status": "ALERTED",
  "alerts": [
    {
      "id": "aml_alert_123",
      "severity": "HIGH",
      "summary": "Counterparty matched a sanctions rule"
    }
  ]
}

status is CLEAR or ALERTED. Matching a rule creates an alert and is non-blocking. Pause fulfillment only if your own policy maps ALERTED to a hold. Legacy HELD rows, if any, are read as ALERTED.

Poll an AML Event Result

Fetches the tenant-scoped AML event result by your externalEventId.

GET/api/v1/aml/events/:externalEventId

Response

{
  "externalEventId": "aml_evt_ext_123",
  "status": "ALERTED",
  "alerts": []
}

Screen an Entity

Runs a synchronous screening and returns the full result, including the decision and any watchlist matches.

POST/api/v1/aml/screen

Request

{
  "inputName": "Jane Example",
  "externalId": "cust_test_0001",
  "entityType": "INDIVIDUAL",
  "inputDob": "1980-02-03",
  "inputNationality": "GB",
  "inputAliases": ["Jane Sample"],
  "sensitivityProfile": "BALANCED"
}

Parameters

The request has not changed. Fields the endpoint does not accept are rejected with 400.

FieldRequiredDescription
inputNameYesFull legal name of the entity to screen, up to 500 characters
externalIdYesYour system's identifier for the entity, up to 255 characters
entityTypeNoINDIVIDUAL (default), ORGANIZATION, VESSEL or AIRCRAFT
inputDobNoDate of birth as YYYY, YYYY-MM or YYYY-MM-DD
inputNationalityNoNationality (ISO 3166-1 alpha-2)
inputAliasesNoKnown aliases or alternate spellings: up to 50 strings of up to 500 characters
inputIdDocumentsNoUp to 20 identity documents, each { type, value, country? }
sensitivityProfileNoCONSERVATIVE, BALANCED or LIBERAL. Defaults to your tenant setting. See Review threshold and classification below

Send the date of birth, nationality and ID number (inputIdDocuments) with every request when you have them. They are what clear or confirm a name-only match: a name alone is discounted (see Scores and decisions below).

Response

The example below is synthetic, but every score in it is one Naiza produces for the request above under BALANCED. It shows one match of each kind: a Dow Jones match with the full profile, an OpenSanctions match in compact form, a match against one of your custom lists, and an OFAC match that does not need review.

{
  "id": "5c1f3b2e-7a10-4c3e-9b1d-000000000001",
  "externalId": "cust_test_0001",
  "decision": "REVIEW",
  "caseId": "3e2d1c0b-0a09-4876-8543-000000000010",
  "alertId": "7a6b5c4d-3e2f-4a1b-9c8d-000000000020",
  "caseCreated": true,
  "reusedExistingCase": false,
  "processingMs": 214,
  "listsHit": ["DOW_JONES", "OPENSANCTIONS", "CUSTOM", "OFAC_SDN"],
  "matches": [
    {
      "watchlistEntityId": "0b7e4c1a-2d3f-4e5a-8b6c-000000000101",
      "score": 100,
      "classification": "EXACT",
      "matchedInputName": "Jane Example",
      "matchedName": "Jane Example",
      "matchNationality": "GB",
      "requiresReview": true,
      "entityName": "Jane Example",
      "source": "DOW_JONES",
      "sanctionReason": null,
      "matchCity": "Sampletown",
      "datesOfBirth": ["1980-02-03"],
      "scoreBreakdown": {
        "matchedInputName": "Jane Example",
        "matchedName": "Jane Example",
        "matchNationality": "GB",
        "rawScore": 123,
        "multiplier": 0.9,
        "finalScore": 100,
        "contributions": [
          { "field": "name", "contribution": 100, "reason": "name match: every part matches → Jane Example" },
          { "field": "dob", "contribution": 15, "reason": "DOB exact match" },
          { "field": "nationality", "contribution": 8, "reason": "nationality match via nationalities[]: GB" }
        ],
        "evidence": {
          "name": { "state": "MATCH", "strength": "STRONG" },
          "dateOfBirth": { "state": "MATCH", "strength": "STRONG", "matchedValue": "1980-02-03" },
          "nationality": { "state": "MATCH", "strength": "SUPPORTING" },
          "identifier": { "state": "MISSING", "strength": "NONE" },
          "hasStrongIdentityMatch": true,
          "hasConflict": false
        }
      },
      "listedEntity": {
        "variant": "FULL",
        "watchlistEntityId": "0b7e4c1a-2d3f-4e5a-8b6c-000000000101",
        "listRecordId": "DJ-TEST-0000001",
        "source": "DOW_JONES",
        "primaryName": "Jane Example",
        "fullName": "Jane E. Example",
        "entityType": "INDIVIDUAL",
        "categories": ["PEP"],
        "status": {
          "sourceStatus": "ACTIVE",
          "presentInSource": true,
          "isActive": true,
          "listedAt": null,
          "sourceDelistedAt": null,
          "delistDetectedAt": null
        },
        "gender": "female",
        "deceased": { "isDeceased": false, "date": null },
        "datesOfBirth": ["1980-02-03"],
        "placeOfBirth": "Sampletown",
        "countries": [
          { "code": "GB", "role": "NATIONALITY" },
          { "code": "GB", "role": "RESIDENCE" }
        ],
        "aliases": [
          { "name": "Jane E. Example", "nameType": "Also Known As", "script": "Latin" }
        ],
        "identifiers": [],
        "sanctions": [],
        "addresses": [
          {
            "fullAddress": "1 Example Street, Sampletown",
            "street": "1 Example Street",
            "city": "Sampletown",
            "country": "GB"
          }
        ],
        "positions": ["Member of the Example Regional Council"],
        "relationships": [{ "name": "John Example", "relationshipType": "Spouse" }],
        "sourceRefs": [{ "name": "Example Gazette", "url": "https://example.com/gazette/0001" }]
      },
      "snapshot": {
        "versionId": "9d8c7b6a-5f4e-4d3c-8b2a-000000000201",
        "capturedAt": "2026-11-10T08:00:00.000Z",
        "legacy": false
      },
      "sourceDetails": {
        "status": "AVAILABLE",
        "source": "DOW_JONES",
        "sections": [
          {
            "title": "Profile notes",
            "text": "Synthetic profile notes for documentation. Not real list data."
          },
          { "title": "Keywords", "items": ["Example keyword"] },
          {
            "title": "Sources",
            "links": [{ "label": "Example Gazette", "url": "https://example.com/gazette/0001" }]
          }
        ]
      }
    },
    {
      "watchlistEntityId": "0b7e4c1a-2d3f-4e5a-8b6c-000000000102",
      "score": 86,
      "classification": "STRONG",
      "matchedInputName": "Jane Example",
      "matchedName": "Jane Mary Ann Example",
      "matchNationality": "GB",
      "requiresReview": true,
      "entityName": "Jane Mary Ann Example",
      "source": "OPENSANCTIONS",
      "sanctionReason": null,
      "matchCity": null,
      "datesOfBirth": ["1980"],
      "scoreBreakdown": {
        "matchedInputName": "Jane Example",
        "matchedName": "Jane Mary Ann Example",
        "matchNationality": "GB",
        "rawScore": 95,
        "multiplier": 0.9,
        "finalScore": 86,
        "contributions": [
          {
            "field": "name",
            "contribution": 80,
            "reason": "name match: 2 of 4 parts match; the listed name also has mary, ann → Jane Mary Ann Example"
          },
          { "field": "dob", "contribution": 7, "reason": "DOB year match" },
          { "field": "nationality", "contribution": 8, "reason": "nationality match via nationalities[]: GB" }
        ],
        "evidence": {
          "name": { "state": "MATCH", "strength": "SUPPORTING" },
          "dateOfBirth": { "state": "MATCH", "strength": "SUPPORTING", "matchedYear": 1980 },
          "nationality": { "state": "MATCH", "strength": "SUPPORTING" },
          "identifier": { "state": "MISSING", "strength": "NONE" },
          "hasStrongIdentityMatch": false,
          "hasConflict": false
        }
      },
      "listedEntity": {
        "variant": "COMPACT",
        "watchlistEntityId": "0b7e4c1a-2d3f-4e5a-8b6c-000000000102",
        "listRecordId": "NK-TEST-0000000001",
        "source": "OPENSANCTIONS",
        "primaryName": "Jane Mary Ann Example",
        "withheldReason": "LICENCE_PENDING"
      },
      "snapshot": {
        "versionId": "9d8c7b6a-5f4e-4d3c-8b2a-000000000202",
        "capturedAt": "2026-11-10T08:00:00.000Z",
        "legacy": false
      },
      "sourceDetails": {
        "status": "WITHHELD",
        "source": "OPENSANCTIONS",
        "sections": []
      }
    },
    {
      "watchlistEntityId": "4f3e2d1c-0b0a-4998-8776-000000000301",
      "score": 50,
      "classification": "STRONG",
      "matchedInputName": "Jane Example",
      "matchedName": "Jane Example",
      "matchNationality": null,
      "requiresReview": true,
      "entityName": "Jane Example",
      "source": "CUSTOM",
      "sanctionReason": null,
      "matchCity": null,
      "datesOfBirth": [],
      "scoreBreakdown": {
        "matchedInputName": "Jane Example",
        "matchedName": "Jane Example",
        "matchNationality": null,
        "rawScore": 100,
        "multiplier": 0.5,
        "finalScore": 50,
        "contributions": [
          { "field": "name", "contribution": 100, "reason": "name match: every part matches → Jane Example" }
        ],
        "evidence": {
          "name": { "state": "MATCH", "strength": "STRONG" },
          "dateOfBirth": { "state": "MISSING", "strength": "NONE" },
          "nationality": { "state": "MISSING", "strength": "NONE" },
          "identifier": { "state": "MISSING", "strength": "NONE" },
          "hasStrongIdentityMatch": false,
          "hasConflict": false
        }
      },
      "listedEntity": {
        "variant": "CUSTOM_LIST",
        "customListEntryId": "4f3e2d1c-0b0a-4998-8776-000000000301",
        "source": "CUSTOM",
        "primaryName": "Jane Example",
        "listName": "Internal watchlist (example)"
      },
      "snapshot": {
        "versionId": null,
        "capturedAt": null,
        "legacy": false
      },
      "sourceDetails": {
        "status": "NOT_APPLICABLE",
        "source": "CUSTOM",
        "sections": []
      }
    },
    {
      "watchlistEntityId": "0b7e4c1a-2d3f-4e5a-8b6c-000000000103",
      "score": 40,
      "classification": "WEAK",
      "matchedInputName": "Jane Example",
      "matchedName": "Jane Example",
      "matchNationality": null,
      "requiresReview": false,
      "entityName": "Jane Example",
      "source": "OFAC_SDN",
      "sanctionReason": "Synthetic designation reason for documentation.",
      "matchCity": "Exampleville",
      "datesOfBirth": ["1971"],
      "scoreBreakdown": {
        "matchedInputName": "Jane Example",
        "matchedName": "Jane Example",
        "matchNationality": null,
        "rawScore": 80,
        "multiplier": 0.5,
        "finalScore": 40,
        "contributions": [
          { "field": "name", "contribution": 100, "reason": "name match: every part matches → Jane Example" },
          { "field": "dob", "contribution": -20, "reason": "DOB year conflict: more than 5 years apart" }
        ],
        "evidence": {
          "name": { "state": "MATCH", "strength": "STRONG" },
          "dateOfBirth": { "state": "CONFLICT", "strength": "SUPPORTING", "yearGap": 9 },
          "nationality": { "state": "NOT_COMPARABLE", "strength": "NONE" },
          "identifier": { "state": "MISSING", "strength": "NONE" },
          "hasStrongIdentityMatch": false,
          "hasConflict": true
        }
      },
      "listedEntity": {
        "variant": "FULL",
        "watchlistEntityId": "0b7e4c1a-2d3f-4e5a-8b6c-000000000103",
        "listRecordId": "OFAC-TEST-00001",
        "source": "OFAC_SDN",
        "primaryName": "Jane Ann Example",
        "fullName": "Jane Ann Example",
        "entityType": "INDIVIDUAL",
        "categories": ["SANCTIONS"],
        "status": {
          "sourceStatus": "ACTIVE",
          "presentInSource": true,
          "isActive": true,
          "listedAt": "2012-03-01",
          "sourceDelistedAt": null,
          "delistDetectedAt": null
        },
        "gender": null,
        "deceased": { "isDeceased": null, "date": null },
        "datesOfBirth": ["1971"],
        "placeOfBirth": "Exampleville",
        "countries": [
          { "code": "DE", "role": "NATIONALITY" },
          { "code": "DE", "role": "BIRTH" }
        ],
        "aliases": [
          { "name": "Jane Example", "nameType": "a.k.a.", "script": null }
        ],
        "identifiers": [
          {
            "type": "Passport",
            "value": "TESTPASS0001",
            "country": "DE",
            "issueDate": null,
            "expiryDate": "2030-12-31"
          }
        ],
        "sanctions": [
          {
            "program": "SDGT",
            "authority": "OFAC",
            "reason": "Synthetic designation reason for documentation.",
            "startDate": "2012-03-01",
            "endDate": null,
            "sourceUrl": null
          }
        ],
        "addresses": [
          { "fullAddress": null, "street": null, "city": "Exampleville", "country": "DE" }
        ],
        "positions": [],
        "relationships": [],
        "sourceRefs": []
      },
      "snapshot": {
        "versionId": "9d8c7b6a-5f4e-4d3c-8b2a-000000000203",
        "capturedAt": "2026-11-10T08:00:00.000Z",
        "legacy": false
      },
      "sourceDetails": {
        "status": "NOT_REQUESTED",
        "source": "OFAC_SDN",
        "sections": []
      }
    }
  ]
}

decision is REVIEW when any match has requiresReview: true, otherwise AUTO_CLEAR. POST /api/v1/aml/screen returns only these two. CONFIRMED and FALSE_POSITIVE are outcomes an analyst records after review; you see them on GET /api/v1/aml/screenings/:id.

Branch on decision and on each match's requiresReview. Don't apply your own threshold to score: the review threshold depends on the profile and your tenant settings, and custom-list and identifier rules can send a lower score to review.

caseId, alertId, caseCreated, and reusedExistingCase are present when AML auto-creates a case or links the alert to an existing open case.

In every match object, null means the list does not state the value. Arrays are never null; an empty array means none. Calendar dates are yyyy-mm-dd (some lists give a year only, yyyy). Capture and detection times are ISO 8601 timestamps.

Match fields

FieldDescription
watchlistEntityIdNaiza id of the listed entity. For a custom-list match, the custom list entry id
scoreMatch score, 0 to 100. Equals scoreBreakdown.finalScore, and it is the score the decision uses
classificationWEAK, STRONG or EXACT. POSSIBLE appears only on screenings made before 11 November 2026
matchedInputNameThe submitted name that produced the match: your inputName or one of your inputAliases
matchedNameThe listed name that matched: the entry's primary name or one of its aliases. The submitted side is matchedInputName. The record's fullest name is listedEntity.fullName
matchNationalityYour submitted nationality when it matched one of the listed entity's nationalities or citizenships, otherwise null. The listed entity's own countries are in listedEntity.countries
requiresReviewtrue when this match on its own sends the screening to REVIEW: a STRONG or EXACT classification (or POSSIBLE on older screenings), or an exact strong identifier match
entityNameSame value as matchedName. For the entry's primary name, use listedEntity.primaryName
sourceDOW_JONES, OPENSANCTIONS, OFAC_SDN, UN_CONSOLIDATED, or CUSTOM for your custom lists. EU sanctions now come through OPENSANCTIONS; EU_SANCTIONS appears only on older screenings
sanctionReasonThe detailed listing reason, or null
matchCityA city associated with the listed entity, or null
datesOfBirthAll listed dates of birth, as yyyy-mm-dd or yyyy, for example ["1965-03-12", "1965"]
scoreBreakdownHow the score was reached. See Score breakdown below
listedEntityThe listed entity behind the match, identified by its primary name and list record id. See Listed entity below
snapshotThe listed record version the match was scored against. See Snapshot below
sourceDetailsPer-list details read from the original list record. See Source details below
changesSinceScreeningReturned by GET /api/v1/aml/screenings/:id only. See Changes since screening below

The match fields above listedEntity keep their names and meaning. listedEntity, snapshot, sourceDetails and changesSinceScreening are additions. Nothing was removed or renamed; ignore fields your client does not know.

Score breakdown

FieldDescription
matchedInputName, matchedName, matchNationalitySame as on the match
rawScoreSum of the contributions. Not capped, so values above 100 are normal
multiplierConfidence multiplier applied to rawScore. See Scores and decisions below
finalScoreround(min(100, max(0, rawScore × multiplier))). Same as score
contributions{ field, contribution, reason } entries. field is name, dob, nationality or idDocument
evidence.name, .dateOfBirth, .nationality, .identifier{ state, strength }. state is MATCH, CONFLICT, MISSING (you or the list gave no value) or NOT_COMPARABLE. strength is STRONG, SUPPORTING or NONE
evidence.name.strengthSTRONG when every part of a personal name matches, with no uncertain spelling. Otherwise SUPPORTING
evidence.dateOfBirthAdds matchedValue on an exact date match, matchedYear on a birth-year match, and yearGap (years between your birth year and the nearest listed one) on a birth-year conflict
evidence.identifierOn a match, adds normalizedType, a masked maskedValue and, when known, country
evidence.hasStrongIdentityMatchtrue when the exact date of birth or a strong identifier matches
evidence.hasConflicttrue when the date of birth conflicts

Scores and decisions

score equals scoreBreakdown.finalScore. It is the number the decision uses. rawScore and multiplier show how it was reached:

score = round(min(100, max(0, rawScore × multiplier)))

rawScore adds up these contributions:

ContributionPoints
name, individuals100 when every part of the name matches; 70 to 90 for a partial match
name, organizations, vessels and aircraft30 to 100 by string similarity
dob+15 exact date · +7 same birth year · 0 one year apart · −10 two to five years apart · −20 more than five years apart, or a full date when every listed date is a full date and none is yours
nationality+8 when your inputNationality is among the listed nationalities or citizenships. A nationality that does not match costs nothing
idDocument+20 for an exact identifier match (same type and value)

rawScore is not capped, so values above 100 are normal. Matches that score below 30 are dropped, unless an exact strong identifier matches.

The multiplier in API screenings depends on how many of your details match the listing:

Details that match (date of birth, nationality, identifier)multiplier
None (name only)0.5
One0.75
Two0.9
Three1.0
  • A date of birth counts when the exact date or the birth year matches. A detail you sent that conflicts with the listing, or that the listing lacks, does not count.
  • An organization with a near-exact name match gets at least 0.9.
  • Since 12 November 2026, an exact full name on a listing in the SANCTIONS or TERROR category gets 1.0 when nothing points to someone else: no conflicting full date of birth, birth years no more than five years apart, and nationalities that overlap (or that one side does not give). It scores like the full name it is (100 for an exact one) and goes to review in every profile. The stored match's reasons, returned by GET /api/v1/aml/screenings/:id, then include full name on a sanctions or terror listing: no name-only discount.

Why the dashboard can show 100 where the API shows 50. A manual search in the Naiza dashboard is an analyst lookup and uses a multiplier of 1.0. API screenings are automated and use the table above. A name-only exact match on a PEP listing therefore shows 100 on the dashboard, and rawScore 100, multiplier 0.5, score 50 over the API. A conflicting date of birth lowers the raw score in both.

Review threshold and classification

Each sensitivity profile has one review threshold:

ProfileReview fromName spelling
CONSERVATIVE50Broad: a full name matched through an uncertain spelling scores as a full name
BALANCED (default)65Standard: such a name scores as a partial match
LIBERAL80Strict: such a name is no match unless the exact date of birth or a strong identifier also matches
  • A tenant can have its own review threshold, from 31 to 100. It replaces the profile's number.
  • A request that sends sensitivityProfile uses that profile's threshold and ignores the tenant's own number.
  • There are no separate auto-clear, flag or escalation thresholds.
classificationMeaning
WEAKBelow the review threshold. Returned so you can see it, but it does not send the screening to review
STRONGFrom the review threshold to 94
EXACT95 and above
POSSIBLEOnly on screenings made before 11 November 2026

A score below the threshold is always WEAK, even at 95 or more when your tenant's threshold is higher than that.

On your own custom lists, a full-name match is STRONG at any score unless the date of birth or the nationality points to someone else. The score itself does not change: in the example above, the custom-list match scores 50 and is STRONG.

requiresReview is true for STRONG and EXACT (and POSSIBLE on older screenings), or when an exact strong identifier matches: a passport, national ID or tax ID for individuals; a registration number, tax ID or LEI for organizations; an IMO number, MMSI or call sign for vessels; a registration or serial number for aircraft.

Worked examples

API screenings with the BALANCED profile (review from 65), each against a single listing:

You sendListingrawScoremultiplierscoreclassificationdecision
Name onlySame full name, PEP1000.550WEAKAUTO_CLEAR
Name onlySame full name, SANCTIONS or TERROR1001.0100EXACTREVIEW
Name and birth yearSame name and year1070.7580STRONGREVIEW
Name and exact date of birthSame name and date1150.7586STRONGREVIEW
Name, date of birth and nationalityAll match1230.9100EXACTREVIEW
Name and exact date of birthSame name, different date800.540WEAKAUTO_CLEAR

The first row goes to review under CONSERVATIVE, where review starts at 50.

How names are matched

  • Since 27 October 2026, personal names are compared part by part (first, father's and family name). A full match scores 100 and a partial match 70 to 90.
  • Since 11 November 2026, a listed person is a candidate only when your first name and family name both match one of their names, or when a strong identifier you sent matches theirs. This gives fewer unrelated matches, and longer names return fewer results.
  • Some name matches are shown but kept below the review threshold (at most 49): given names in a different order, or a family name that matches only an Abd- name, unless the birth year, the exact date of birth or an identifier also matches; and a one-word name, unless the exact date of birth or an identifier also matches.
  • Since 16 November 2026, a short alias or primary name (for example First Al Family) no longer raises a match when every fuller name on the same record contradicts yours, for example with another father's name. An exact date of birth or identifier match still keeps it.
  • Since 16 November 2026, a romanization quirk no longer makes Bengali-script listed names match names such as Abdullah.
  • Organization, vessel and aircraft names are compared by string similarity.

Listed entity

listedEntity.variant tells you which shape you have.

variantWhen it appearsFields
FULLDow Jones, OFAC and UN matches (and EU_SANCTIONS matches on older screenings). OpenSanctions matches once OpenSanctions content is enabledAll fields in the table below
COMPACTOpenSanctions matches while OpenSanctions content is pending licence confirmation. This applies to every API callwatchlistEntityId, listRecordId, source, primaryName, and withheldReason (LICENCE_PENDING). The match itself keeps every field OpenSanctions matches returned before
CUSTOM_LISTMatches against your own custom listscustomListEntryId, source (CUSTOM), primaryName and listName. There is no list record id and no list profile

FULL fields:

FieldDescription
watchlistEntityIdNaiza id of the listed entity
listRecordIdThe list's own record id
sourceThe list the record comes from
primaryNameThe entry's primary name. It can differ from matchedName when an alias matched
fullNameThe record's fullest name: the primary name or the alias with the most name parts (for organizations, vessels and aircraft, the most words). The primary name wins a tie
entityTypeINDIVIDUAL, ORGANIZATION, VESSEL or AIRCRAFT
categoriesRisk categories, for example SANCTIONS, TERROR, PEP, RCA, SIP, SIE, CRIME, WAR_CRIMES, DEBARMENT, OTHER. Treat it as an open list
status.sourceStatusWhat the list says: ACTIVE, INACTIVE or UNKNOWN
status.presentInSourcetrue while the record is still in the list's latest full file or feed
status.isActivetrue when the record is present and active at source
status.listedAtListing date stated by the list
status.sourceDelistedAtDelisting date stated by the list
status.delistDetectedAtWhen Naiza detected that the record left the list. Useful for lists that publish no delisting date
genderGender as the list states it, for example male or female
deceased{ isDeceased, date }. isDeceased is null when the list does not say
datesOfBirthListed dates of birth
placeOfBirthPlace of birth as listed
countries{ code, role } entries. code is ISO 3166-1 alpha-2. role is NATIONALITY, CITIZENSHIP, RESIDENCE, ALLEGATION, JURISDICTION, REGISTRATION, AFFILIATION or BIRTH
aliases{ name, nameType, script } entries
identifiers{ type, value, country, issueDate, expiryDate } entries. These are list data and are not masked
sanctions{ program, authority, reason, startDate, endDate, sourceUrl } entries
addresses{ fullAddress, street, city, country } entries
positionsPositions held, as listed
relationships{ name, relationshipType } entries. Related parties appear by name only, with no ids or links
sourceRefs{ name, url } entries: the sources the list cites

A match can come from a short alias, such as First Al Family. matchedName then shows that alias, and primaryName can be short too. fullName shows the father's and grandfather's names, so the analyst can compare them with your customer's before deciding. In the example above, the OFAC match came from the alias Jane Example, and fullName is Jane Ann Example.

  • Show fullName next to matchedName wherever you list potential matches.
  • COMPACT and CUSTOM_LIST listed entities do not have fullName.
  • If Naiza could not load the listed record, fullName equals matchedName.

Snapshot

FieldDescription
versionIdId of the listed record version captured for this match. null for custom-list matches and for older matches with no captured version
capturedAtWhen that version was first captured
legacytrue when there is no version, or the version was first captured after the screening, so the match has no snapshot from screening time. Always false for custom-list matches, which never have versions

Source details

sourceDetails holds the parts of the original list record that do not fit the fields above, such as profile notes, keywords and cited sources.

statusMeaning
AVAILABLEsections is filled
UNAVAILABLEThe original record could not be read in time. The screening still answers and the rest of the match is unaffected
WITHHELDAn OpenSanctions match while OpenSanctions content is pending licence confirmation
NOT_REQUESTEDNot loaded for this match. On POST /api/v1/aml/screen, details load only for matches with requiresReview: true. On GET /api/v1/aml/screenings/:id, every match is NOT_REQUESTED, so store the sections from the POST response if you need them
NOT_APPLICABLEA custom-list match

source is the list the details come from, or CUSTOM. Each entry in sections has a title and, optionally, text, items and links ({ label, url }). sections is empty unless status is AVAILABLE.

Show text as plain text, never as HTML. Render a links entry as a link only when its url is http or https.

Retrieve a Screening

Fetch a previously created screening by id. Results are tenant-scoped: a screening that belongs to another tenant returns 404.

GET/api/v1/aml/screenings/:id

Returns the stored screening in the same shape as POST /api/v1/aml/screen, with these differences:

  • The screening also carries listsScreened, matchCount and highestScore.
  • decision can be CONFIRMED or FALSE_POSITIVE once an analyst has resolved the review.
  • On each match, id is the match id, and reasons and createdAt are included.
  • sourceDetails.status is NOT_REQUESTED.
  • changesSinceScreening lists what changed on the listed record since the screening.

Changes since screening

Each entry in changesSinceScreening looks like this:

{
  "kind": "DELISTED",
  "isStatusChange": true,
  "origin": "LIST",
  "field": null,
  "before": "Active",
  "after": "Delisted",
  "date": "2026-10-01",
  "dateKind": "SOURCE"
}
FieldDescription
kindDELISTED, INACTIVE_AT_SOURCE, REMOVED_FROM_SOURCE, CATEGORY_ADDED, CATEGORY_REMOVED, ALIAS_ADDED, ALIAS_REMOVED, SANCTION_ADDED, SANCTION_ENDED, DOB_CHANGED, IDENTIFIER_CHANGED or COUNTRY_CHANGED. Treat it as an open list
isStatusChangetrue for DELISTED, INACTIVE_AT_SOURCE and REMOVED_FROM_SOURCE
originLIST when the list changed. NAIZA_MAPPING when Naiza updated how it reads the record
fieldThe field that changed, or null
beforeShort summary of the old value, or null
afterShort summary of the new value, or null
dateWhen the change happened, or null
dateKindSOURCE when the list states the date. DETECTED when it is the date Naiza detected the change

For an OpenSanctions match in COMPACT form, changesSinceScreening lists status changes only.

Listed Profile for a Match (Dashboard)

The Naiza dashboard opens the full listed profile behind a match with:

GET/v1/aml/screenings/:screeningId/matches/:matchId/entity

This route takes a dashboard session (a signed-in user and the tenant subdomain), not an API key. A tenant can open a profile only through one of its own matches. A match that does not exist or belongs to another tenant returns 404.

The response has these fields:

FieldDescription
screeningIdThe screening id
matchIdThe match id
currentThe listed entity today, in the same shape as listedEntity
atScreeningThe listed entity as captured for the screening, or null when there is no snapshot from screening time
snapshotSame as the match's snapshot
sourceDetailsSource details from the record version captured for the screening
changesSinceScreeningSame as on GET /api/v1/aml/screenings/:id

A custom-list match returns current.variant CUSTOM_LIST, atScreening null, and sourceDetails.status NOT_APPLICABLE. While OpenSanctions content is pending licence confirmation, an OpenSanctions match returns the compact profile.

Examples

curl -X POST https://api.naiza.ai/api/v1/aml/screen \
  -H "x-api-key: naiza_api_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "inputName": "Jane Example",
    "externalId": "cust_123456",
    "entityType": "INDIVIDUAL"
  }'

curl -X POST https://api.naiza.ai/api/v1/aml/events \
  -H "x-api-key: naiza_api_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "eventName": "payment.completed",
    "eventCategory": "TRANSACTION",
    "externalEventId": "aml_evt_ext_123",
    "customer": { "externalId": "user_123456" },
    "metadata": { "amount": 99.99, "currency": "USD" }
  }'

Troubleshooting

  • 400: invalid request — a missing or invalid field, or a field the endpoint does not accept
  • 401: missing or invalid API key
  • 403: AML Screening is not enabled for your tenant
  • 404: screening or AML event not found in your tenant scope
  • 422: missing required field or invalid AML event payload
  • 429: too many requests
  • 502/504: the AML service was unavailable or timed out. For events, poll GET /api/v1/aml/events/:externalEventId. For screening, reconcile with GET /api/v1/aml/screenings/:id when you already have a screening id; do not blindly retry POST /api/v1/aml/screen.