# OFAC SDN Name Watchlist & Change Monitor (`frankycheese/ofac-sdn-delta`) Actor

Match exact normalized name terms against the official OFAC SDN list, including parsed aliases, and receive source-linked new matches or later record corrections with replay suppression and bounded charges.

- **URL**: https://apify.com/frankycheese/ofac-sdn-delta.md
- **Developed by:** [franklin mccheese](https://apify.com/frankycheese) (community)
- **Categories:** Automation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $80.00 / 1,000 new matched source events

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OFAC SDN Name Watchlist & Change Monitor

**Buyer:** compliance operations and vendor/customer review teams that already have a controlled list of names to screen against the official U.S. Treasury SDN publication.

**Result:** typed `NEW_SANCTIONS_MATCH` rows for first-seen normalized name-term matches and `SOURCE_CORRECTION` rows when a tracked OFAC record changes materially. Events include the SDN UID, primary name, parsed aliases, programs, exact OFAC details page, and source fingerprint.

**Official source:** the [OFAC Sanctions List Service](https://sanctionslist.ofac.treas.gov/) SDN XML publication and OFAC's `sanctionssearch.ofac.treas.gov/Details.aspx?id=<uid>` record pages.

**First useful run:** the Store prefill checks the exact normalized term `Vladimir Putin`, emits at most one event, returns at most 10 matches, and caps event charges at **$0.08**. An unchanged replay emits nothing and costs `$0.00`.

This Actor is a source-linked screening aid—not a complete sanctions-screening program, legal determination, fuzzy-matching engine, or substitute for counsel and risk controls.

### Source-backed example

Verified against OFAC's SDN publication on November 3, 2026: UID `35096` is `PUTIN, Vladimir Vladimirovich`, an individual associated with program `RUSSIA-EO14024`. The exact official details page is:

`https://sanctionssearch.ofac.treas.gov/Details.aspx?id=35096`

The Actor's input term `Vladimir Putin` matches after case/punctuation normalization. It also checks parsed OFAC alias names. It does not apply phonetic, edit-distance, transliteration, date-of-birth, address, or identity-resolution logic.

### 60-second quick start

```json
{
  "watchlistId": "ofac-vladimir-putin-preview",
  "nameTerms": ["Vladimir Putin"],
  "baselineMode": "emit_matches",
  "maxEvents": 1,
  "maxTotalChargeUsd": 0.08,
  "maxSourceRecords": 10,
  "stateStoreName": "ofac-vladimir-putin-preview",
  "resetState": false,
  "qualityTestMode": false
}
```

For production, use a private, controlled watchlist and run `baselineMode: "silent"` once under a stable state-store name. Then schedule the same terms to receive only later additions or source corrections.

### Matching contract

- each `nameTerms` value is lowercased and reduced to alphanumeric tokens;
- the normalized term is checked as a substring of the normalized OFAC primary name and parsed alias names;
- `sdnType` is output context and is deliberately not searchable, avoiding accidental matches against every `Individual` or `Entity` record;
- no fuzzy score or identity confidence is invented;
- every result links to OFAC's exact UID details page.

### Events and pricing

- `NEW_SANCTIONS_MATCH` / `sanctions-match-new` — `$0.08`
- `SOURCE_CORRECTION` / `ofac-sdn-delta-source-correction` — `$0.01`

`maxEvents` and `maxTotalChargeUsd` bound each run. Cap-deferred matches remain pending for a later run rather than being marked delivered. Unchanged, empty, failed-source, and silent-baseline runs produce zero paid events.

### Illustrative output shape

*Illustrative — not a run receipt. The source-backed example above identifies a real official record; this shape documents the typed event contract.*

```json
{
  "eventType": "NEW_SANCTIONS_MATCH",
  "sourceId": "35096",
  "title": "Vladimir Vladimirovich PUTIN Individual",
  "metadata": {
    "programs": ["RUSSIA-EO14024"],
    "sdnType": "Individual",
    "akaNames": []
  },
  "sourceDataset": "OFAC Sanctions List Service SDN XML",
  "sourceRecordUrl": "https://sanctionssearch.ofac.treas.gov/Details.aspx?id=35096",
  "sourceFingerprint": "sha256:…"
}
```

### Recommended workflow

1. inspect the bounded public example and output contract;
2. create a private production watchlist with approved names only;
3. run a silent baseline once;
4. schedule daily or according to your policy;
5. route matches to trained reviewers with source evidence;
6. resolve identity using your own identifiers, aliases, dates, addresses, ownership rules, and escalation policy;
7. document the final decision outside this Actor.

### Limitations

- exact normalized substring matching can create false positives and false negatives.
- the Actor does not screen non-SDN OFAC lists, ownership under the 50 Percent Rule, vessels/aircraft beyond published names, or related entities unless they are present in matched SDN records.
- aliases are only those parsable from the supplied OFAC XML record.
- `maxSourceRecords` caps matching records returned, not the size of the official XML publication downloaded and scanned.
- list publication availability and OFAC site behavior apply.
- a returned row is not a finding that your subject is the designated party.

### Buyer bundle

Use this Actor as one evidence-producing step inside a sanctions compliance workflow: it supplies repeatable name-term deltas and exact source records; your screening policy, identity resolution, legal review, and audit trail determine action.

# Actor input Schema

## `watchlistId` (type: `string`):

Stable URL-safe identifier that scopes replay state.

## `nameTerms` (type: `array`):

Explicit public-source allowlist or match terms for this recurring job.

## `baselineMode` (type: `string`):

Choose a free silent baseline or emit current matches as paid events.

## `maxEvents` (type: `integer`):

Hard cap on paid events emitted by one run.

## `maxTotalChargeUsd` (type: `number`):

Hard cap on pay-per-event charges for one run.

## `maxSourceRecords` (type: `integer`):

Hard cap on matching SDN records returned from the official list per run.

## `stateStoreName` (type: `string`):

Named key-value store used for deterministic replay suppression.

## `resetState` (type: `boolean`):

Discard prior replay state; may cause current matches to emit again.

## `qualityTestMode` (type: `boolean`):

Apify Store automated smoke-test mode. It validates runtime and input startup, emits one unbilled summary, and does not query sources, mutate state, deliver business events, or charge.

## Actor input object example

```json
{
  "watchlistId": "ofac-vladimir-putin-preview",
  "nameTerms": [
    "Vladimir Putin"
  ],
  "baselineMode": "emit_matches",
  "maxEvents": 1,
  "maxTotalChargeUsd": 0.08,
  "maxSourceRecords": 10,
  "stateStoreName": "ofac-vladimir-putin-preview",
  "resetState": false,
  "qualityTestMode": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `report` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "watchlistId": "ofac-vladimir-putin-preview",
    "nameTerms": [
        "Vladimir Putin"
    ],
    "baselineMode": "emit_matches",
    "maxEvents": 1,
    "maxTotalChargeUsd": 0.08,
    "maxSourceRecords": 10,
    "stateStoreName": "ofac-vladimir-putin-preview",
    "resetState": false,
    "qualityTestMode": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("frankycheese/ofac-sdn-delta").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "watchlistId": "ofac-vladimir-putin-preview",
    "nameTerms": ["Vladimir Putin"],
    "baselineMode": "emit_matches",
    "maxEvents": 1,
    "maxTotalChargeUsd": 0.08,
    "maxSourceRecords": 10,
    "stateStoreName": "ofac-vladimir-putin-preview",
    "resetState": False,
    "qualityTestMode": False,
}

# Run the Actor and wait for it to finish
run = client.actor("frankycheese/ofac-sdn-delta").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "watchlistId": "ofac-vladimir-putin-preview",
  "nameTerms": [
    "Vladimir Putin"
  ],
  "baselineMode": "emit_matches",
  "maxEvents": 1,
  "maxTotalChargeUsd": 0.08,
  "maxSourceRecords": 10,
  "stateStoreName": "ofac-vladimir-putin-preview",
  "resetState": false,
  "qualityTestMode": false
}' |
apify call frankycheese/ofac-sdn-delta --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,frankycheese/ofac-sdn-delta"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0q2RrwWohG85xg2KB/builds/3wrHGPqBonSrwX8p1/openapi.json
