SFOLN

Demos / Sanctions Screening – OFAC, EU, UK, UN Lists

Screen payouts against sanctions lists before release

A marketplace pays out to a few hundred sellers every day and must not send money to anyone on a sanctions list. Checking names by hand in four web search forms does not scale and leaves no record. A naive exact-match script misses aliases and stops every common name. Here the payout batch is screened in one call before release: payees without a match are paid on time, potential matches arrive in a review queue with the list entry and the reasons for the score, and every decision is stored with the list versions it was based on.

Workflow

Where the API sits

  1. Trigger

    Payout batch is ready

    An hour before release the payout job collects payee names, dates of birth and countries.

  2. API call

    Screen every payee

    One call with entities and a threshold. Each name comes back no_match or potential_match with the list entries behind the score.

    sfoln/sanctions-screening

  3. Your logic

    Release, review or block

    No match: release. A match confirmed by date of birth or a near-certain score: block. Anything else: a person decides.

  4. Result

    Queue and audit record

    Held payouts with the evidence side by side, and a record of the decision and the list versions used.

Wired into the payout job: the batch is posted to the API as entities with date of birth and country where known, and the release step waits for the result. The same call screens new customers at sign-up, and a nightly schedule rescreens the whole customer base against the current lists.

Result

The payout queue, triaged

PayoutsRelease queueThu 12 Nov

Released

2

EUR 10,155.50

In review

2

EUR 28,120.00

Blocked

1

EUR 3,300.00

Not screened

1

Payee name missing

Payout batch PB-1112-02 · release at 14:00 · screened 13:02
PayoutPayeeAmountScreeningScoreMatched list entryDecision
PO-7731Greta Lindqvist-MoorEUR 1,240.00no_match0.000No entry at or above 0.85Released
PO-7732Northgate Fasteners LtdEUR 8,915.50no_match0.724No entry at or above 0.85Released
PO-7733Darvek OlmanovEUR 3,300.00potential_match1.000OLMANOV, Darvek Ruslanovich ofac-sdn · entry 90417Blocked
PO-7738Zelmira Shipping & Trading LLCEUR 27,480.00potential_match0.942Zelmira Maritime Holdings SA eu · entry EU.90412.77Review
PO-7741Tomas VarekEUR 640.00potential_match0.920Tomas VAREK uk · entry CYB9041Review
PO-7744"---" (no name in payout file)EUR 2,150.00nonenonenoneNot screened: fix payee name
Five names screened and charged, match or not. The payee without a usable name was rejected before screening, at no cost.

Review: same name, other person

ComplianceCase PO-7741 · Tomas Varekcleared 13:19

Payee, from the payout file

Name
Tomas Varek
Type
person
Date of birth
1988-09-17
Country
not given
Payout
PO-7741 · EUR 640.00
Screened as
TOMAS VAREK

List entry

Listed name
Tomas VAREK
Matched on
Tomas VAREK primary
List
UK Sanctions List · entry CYB9041
Programme
The Cyber (Sanctions) (EU Exit) Regulations 2020
Date of birth
1954-03-08
Countries
none listed
Other names
none listed

Name score

1.000

Names only

Final score

0.920

After date of birth and country

Threshold

0.85

Set by the platform

Why it matched
name_exactdob_mismatch

The name is identical, but the date of birth on file is 34 years away from the listed one, which lowered the score. The analyst confirms a different person and releases the payout.

Cleared: false positiveRelease payoutEscalate

Blocked: date of birth matches

ComplianceCase PO-7733 · Darvek Olmanovblocked 13:02

Payee, from the payout file

Name
Darvek Olmanov
Type
person
Date of birth
1971-04-02
Country
not given
Payout
PO-7733 · EUR 3,300.00
Screened as
DARVEK OLMANOV

List entry

Listed name
OLMANOV, Darvek Ruslanovich
Matched on
OLMANOV, Darvek Ruslanovich primary
List
OFAC Specially Designated Nationals (SDN) List · entry 90417
Programme
CYBER2
Date of birth
1971-04-02
Countries
none listed
Other names
OLMANOV, Darik

Name score

0.940

Names only

Final score

1.000

After date of birth and country

Threshold

0.85

Set by the platform

Why it matched
name_similardob_exact

The payee gave no middle name, so the names are similar and not identical. The date of birth is the same as on the list entry, which raised the score to the maximum. The payout is blocked without waiting for a person and the case goes to the reporting officer.

Blocked by ruleOpen escalation
ComplianceAudit recordretained 5 years

Screening record SR-2026-11-12-0002

Tallowfield Pay · payout batch PB-1112-02 · screened 2026-11-12T13:02:08.000Z

Names screened
5 of 6 (1 payee without a usable name, payout not released)
Threshold
0.85
All selected lists screened
true
Outcome
2 released (EUR 10,155.50), 3 held (EUR 31,420.00)
List versions this batch was screened against
ListPublishedFetchedStatus
OFAC Specially Designated Nationals (SDN) List2026-11-102026-11-12 05:00ok
OFAC Consolidated (non-SDN) List2026-10-292026-11-12 05:00ok
UN Security Council Consolidated List2026-11-062026-11-12 05:00ok
EU Consolidated Financial Sanctions List2026-11-112026-11-12 05:00ok
UK Sanctions List2026-11-122026-11-12 05:00ok
  1. 13:02

    Batch screened automatically

    2 payouts released, 2 sent to review, 1 blocked, 1 returned to operations for a missing payee name.
  2. 13:02

    PO-7733 blocked by rule

    Rule: a potential match with dob_exact. Score 1.000 against ofac-sdn entry 90417. Escalated to the reporting officer.
  3. 13:19

    PO-7741 cleared as a false positive

    Analyst R. Imoke: same name, but the payee was born in 1988 and the listed person in 1954; identity document on file. Payout released.
  4. 13:31

    PO-7738 kept on hold

    Analyst R. Imoke: the company name matches an alias of Zelmira Maritime Holdings SA and the country matches. Ownership documents requested from the seller.

Sample data: the customers and the list entries shown here are invented.

Highlighted values are read from the API response. The data is a sample in the API's real output shape; names and figures are illustrative.

Call

The call behind it

One request with this input produces the 6 records the screen above is drawn from. Prices are the ones on the API page; records that fail or come back empty are not charged.

Input · POST /v2/actors/sfoln~sanctions-screening/run-sync-get-dataset-items
{
  "entities": [
    {
      "name": "Greta Lindqvist-Moor",
      "type": "person",
      "dateOfBirth": "1990-02-11",
      "country": "SE"
    },
    {
      "name": "Northgate Fasteners Ltd",
      "type": "entity",
      "country": "GB"
    },
    {
      "name": "Darvek Olmanov",
      "type": "person",
      "dateOfBirth": "1971-04-02"
    },
    {
      "name": "Zelmira Shipping & Trading LLC",
      "type": "entity",
      "country": "PA"
    },
    {
      "name": "Tomas Varek",
      "type": "person",
      "dateOfBirth": "1988-09-17"
    },
    {
      "name": "---",
      "type": "person"
    }
  ],
  "threshold": 0.85
}
First record of 6
Response · record 1 of 6 · sample data
{
  "input": {
    "name": "Greta Lindqvist-Moor",
    "type": "person",
    "dateOfBirth": "1990-02-11",
    "country": "SE"
  },
  "status": "ok",
  "charged": true,
  "chargedEvent": "name-screened",
  "source": "sanctions-lists",
  "fetchedAt": "2026-11-12T13:02:08.000Z",
  "name": "Greta Lindqvist-Moor",
  "entityType": "person",
  "dateOfBirth": "1990-02-11",
  "country": "SE",
  "threshold": 0.85,
  "normalizedName": "GRETA LINDQVIST MOOR",
  "matchStatus": "no_match",
  "bestScore": 0,
  "matchCount": 0,
  "totalMatches": 0,
  "topMatchName": null,
  "topMatchList": null,
  "topMatchScore": null,
  "matches": [],
  "listsComplete": true,
  "listsStale": false,
  "listsScreened": [
    "ofac-sdn",
    "ofac-cons",
    "un",
    "eu",
    "uk"
  ],
  "listsVersion": {
    "ofac-sdn": {
      "list": "ofac-sdn",
      "name": "OFAC Specially Designated Nationals (SDN) List",
      "status": "ok",
      "fetchedAt": "2026-11-12T05:00:41.000Z",
      "publishedAt": "2026-11-10T15:04:00.000Z",
      "fromCache": true
    },
    "ofac-cons": {
      "list": "ofac-cons",
      "name": "OFAC Consolidated (non-SDN) List",
      "status": "ok",
      "fetchedAt": "2026-11-12T05:00:41.000Z",
      "publishedAt": "2026-10-29T14:30:00.000Z",
      "fromCache": true
    },
    "un": {
      "list": "un",
      "name": "UN Security Council Consolidated List",
      "status": "ok",
      "fetchedAt": "2026-11-12T05:00:41.000Z",
      "publishedAt": "2026-11-06T00:00:00.000Z",
      "fromCache": true
    },
    "eu": {
      "list": "eu",
      "name": "EU Consolidated Financial Sanctions List",
      "status": "ok",
      "fetchedAt": "2026-11-12T05:00:41.000Z",
      "publishedAt": "2026-11-11T00:00:00.000Z",
      "fromCache": true
    },
    "uk": {
      "list": "uk",
      "name": "UK Sanctions List",
      "status": "ok",
      "fetchedAt": "2026-11-12T05:00:41.000Z",
      "publishedAt": "2026-11-12T00:00:00.000Z",
      "fromCache": true
    }
  },
  "screenedAt": "2026-11-12T13:02:08.000Z"
}
Charged eventCountPriceTotal
Screened name
name-screened
5$0.003$0.015
This run$0.015

Fields

Which output fields do the work

Output fieldUsed for
matchStatus bestScore thresholdFirst triage: no_match releases the payout, potential_match holds it. The score orders the review queue.
topMatchName topMatchList topMatchScoreThe queue columns: which entry on which list stopped the payout.
matchesThe case view: listed name, the name or alias that matched, programme, date of birth, countries, nameScore, score and reasons such as dob_exact or dob_mismatch.
name normalizedName dateOfBirth countryEcho of what was screened, stored in the audit record next to the payee data.
listsScreened listsVersion listsComplete listsStale screenedAtProof of which list versions the decision was based on, and that no selected list was missing or out of date.
status errorA payee without a usable name is skipped_invalid; an error means not cleared, so the payout stays held and is screened again.

All output fields are listed on the API page.

Build

Build it

Screen the batch, then release only what came back clear. Anything that was not screened stays held.

Node.js · payout release step
const res = await fetch('https://api.apify.com/v2/actors/sfoln~sanctions-screening/run-sync-get-dataset-items', {
  method: 'POST',
  headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}`, 'Content-Type': 'application/json' },
  body: JSON.stringify({
    entities: batch.map((p) => ({ name: p.payeeName, type: p.payeeType, dateOfBirth: p.dateOfBirth, country: p.country })),
    threshold: 0.85,
  }),
});
const results = await res.json(); // one record per entity, in input order

for (const [i, r] of results.entries()) {
  const payout = batch[i];
  await audit.store(payout.id, r); // includes listsVersion and screenedAt
  if (r.status !== 'ok' || !r.listsComplete) { await payouts.hold(payout.id, 'not screened'); continue; }
  if (r.matchStatus === 'no_match') { await payouts.release(payout.id); continue; }
  const top = r.matches[0];
  const block = top.reasons.includes('dob_exact') || r.bestScore >= 0.98;
  await payouts.hold(payout.id, block ? 'blocked' : 'review');
  await cases.open(payout.id, { top, escalate: block });
}
  • A potential match is a lead for review, not a determination. The thresholds and the block rule shown here are the platform's own policy.
  • Covered: OFAC SDN and Consolidated, UN Security Council, EU and UK lists. Other national lists, PEP data and adverse media are not included.
  • Send date of birth and country where you have them: they separate people who share a name, as in the review case above.

Authentication, the MCP endpoint and the asynchronous variant are on the API page.

More

Other things teams build with it

  • Customer sign-up that screens the applicant before the account opens
  • A nightly rescreen of all customers against the current lists
  • Vendor onboarding in procurement or accounts payable
  • An agent that screens the parties named in a contract or a shipping document

Related demos

All demos · Sanctions Screening – OFAC, EU, UK, UN Lists: prices, input and output · /actors/sanctions-screening.json carries this demo as demo