# ExclusionOne — Compliance Attestation (OFAC+CSL+Healthcare) (`mooseandraven/exclusionone`) Actor

One batch call screens your name list against OFAC sanctions, the Consolidated Screening List and healthcare exclusion lists, and returns a version-stamped PDF attestation plus a machine-readable evidence trail. The audit artifact for your files, not another lookup.

- **URL**: https://apify.com/mooseandraven/exclusionone.md
- **Developed by:** [Moose & Raven](https://apify.com/mooseandraven) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $150.00 / 1,000 attestation runs

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

## ExclusionOne — Compliance Screening Attestation (OFAC + CSL + Healthcare)

One batch call screens your list of names against three public U.S. government screening
sources and returns a **version-stamped PDF attestation** plus a **machine-readable evidence
trail** — the audit artifact for your files, not just another lookup.

**$0.15 base + $0.025 per name screened.** The default input ships ready to run — no edits
required — and screens the name "John Doe" against all 3 sources: a real, complete, clean
attestation for $0.195 total ($0.15 + $0.025 attestation fee + OFAC's own $0.02 per-name
screening charge; CSL and Healthcare charge only on an actual match, so $0 of theirs here). Press
Start and see the real sample JSON below; swap in your own name list for a real screening run.

The three sources, each run as a real run of its own Apify actor from the same publisher:

- **OFAC Sanctions Screening Suite** — Treasury's SDN and Consolidated sanctions lists
  (fuzzy and alias matching).
- **CSL Restricted-Party Suite** — the Consolidated Screening List's bundled trade-restriction
  lists (Commerce, State, Treasury).
- **Healthcare Exclusion Suite** — federal and state healthcare exclusion lists.

### How it works

1. Supply `names`. Every entry is trimmed; a blank entry fails the whole run immediately rather
   than risk a wrong attestation.
2. The full list is screened against all 3 sources in parallel.
3. Each name gets one result row: matched or not, and for every match the source, the listed
   name, the program/list detail, and the source run ID.
4. A PDF attestation is generated, listing each source's own run ID and "as of" timestamp, a
   per-name clear/match table, and match detail. It is stored in the run's key-value store and
   linked as `pdfUrl` in the `attestation-summary` record.
   **`pdfUrl` requires your own Apify token** (append `?token=YOUR_TOKEN`, or open it while
   signed in to Apify Console) — it is not a public link.

**A source counts as incomplete** if its run fails, if it reports degraded coverage (a truncated
or capped list), or if OFAC returns no verdict for one of your names. An incomplete attestation
still delivers all data and a PDF clearly marked incomplete, naming the problem source — it is
never presented as a complete clear screen — and the flat attestation fee is not charged.

**OFAC "possible" matches are never reported as clear.** OFAC's fuzzy engine issues a `hit`, a
`possible` (needs human review) or `clear` verdict per name. Both `hit` and `possible` appear as
matches in the attestation; the match detail says which.

### Input

| Field | Type | Notes |
|---|---|---|
| `names` | array (required) | Names to screen — people or organizations. Every run is a real, billable batch call across the 3 underlying actors; see Pricing. |

### Output

`recordType` is one of `attestation-name-result`, `attestation-summary`, `source-failed`,
`source-degraded` or `charge-failed`.

**`attestation-name-result`** (one per name): `{ name, matched, matchCount, matches: [{source, displayName, id, score?, matchType?, scoreNote?, detail, runId}], incomplete, checkedAt }`

`matches[].id` is the upstream record identifier from the source actor itself (OFAC `entNum`,
CSL `cslId`/`entityNumber`, Healthcare `npi`/`licenseNumber`) — open the primary-source record
yourself with it. `score`/`matchType`/`scoreNote` are present on OFAC matches only: a score of
`100` with `matchType: "fuzzy"` is not a contradiction — it means every name token matched only
after case/diacritic-folding and reordering (see `scoreNote` on the record, or "Matching method"
below).

**`attestation-summary`** (one per run): `{ attestationId, generatedAt, namesScreened, inputHash,
sourceMeta: {OFAC|CSL|HEALTHCARE: {runId, asOf, matchCount, listsScreened?} | {error}}, pdfUrl,
overallIncomplete, screeningLimitationsNote, message }`

`inputHash` is a `sha256:`-prefixed hash of the exact, order-preserved, trimmed `names` array
that was actually screened — bind this run's dataset item to your own records of what you
submitted. `sourceMeta.OFAC.listsScreened` names which OFAC sanctions list(s) were actually
checked this run (e.g. `["SDN","CONSOLIDATED"]`) — the list-version evidence an auditor needs,
read from OFAC's own result at zero extra cost. `screeningLimitationsNote` is a standing
disclosure, present on every run regardless of result: name-only screening cannot by itself
definitively confirm or clear an identity (see "Matching method and limitations" below).

#### Matching method and limitations

Name-only screening has real, structural limits — read this before treating any result,
including a clean one, as a determination rather than a documented screen:

- **A score of 100 with `matchType: "fuzzy"` is not a bug.** OFAC's matcher case/diacritic-folds
  and reorders tokens before scoring, so `"Viktor But"` scores 100 against the listed
  `"BOUT, Viktor Anatolijevitch"` — every token matched once normalized. `matchType: "exact"`
  additionally requires the literal, as-typed/as-listed strings to align with no folding needed.
  Read the score as "how well the normalized tokens line up," never as "how literally identical
  the two strings are."
- **Secondary identifiers are not collected or applied.** This product screens by name alone. A
  date of birth, address, NPI, or TIN would materially reduce both false positives (common names)
  and false negatives (inverted names, missing middles, initials, transliterations) — if your
  workflow has one of those, verify any hit against it yourself before acting.
- **`matches[].id` lets you verify a hit against the primary source** rather than taking this
  actor's `displayName`/`detail` on faith.

**`sourceMeta.<source>.matchCount` is counted differently per source**: for OFAC it is the number of
**names** that got a hit or possible verdict; for CSL and Healthcare it is the number of **match
records** delivered. (In the sample below, OFAC's `3` is three names; CSL's `2` is two records for one
name.) It is not the same unit across sources, so don't sum or compare it across them. A per-name
`matches` array can list more OFAC rows than OFAC's billed `sanctions-record` count: a "possible"
verdict lists every candidate for human review.

#### Real sample output

Live run, 2026-11-20, the actual **default input** — `{"names":["John Doe"]}` — $0.195 total at
current pricing ($0.15 + $0.025 attestation fee + OFAC's $0.02 per-name screening charge), not a
fabricated example:

```json
{
  "recordType": "attestation-summary",
  "namesScreened": 1,
  "sourceMeta": {
    "OFAC": { "runId": "D6cOERqWWh1XwpqWN", "asOf": "2026-11-20T02:16:57.185Z", "matchCount": 0 },
    "CSL": { "runId": "hw6rO3OAJ4sY0j0lR", "asOf": "2026-11-20T02:16:53.209Z", "matchCount": 0 },
    "HEALTHCARE": { "runId": "HhKEnZ88IV3zcPJQc", "asOf": "2026-11-20T02:16:55.338Z", "matchCount": 0 }
  },
  "overallIncomplete": false,
  "message": "All 3 sources (OFAC, CSL, Healthcare Exclusion Suite) were successfully and completely screened, with no coverage degradation disclosed by any source."
}
```

A richer example with real hits, so a buyer can see what a match looks like too — live run,
2026-10-23, `{"names":["Viktor But","Russian Agricultural Bank","Example Trading Co","John Doe"]}`:

| Name | Result |
|---|---|
| Viktor But | Matched — OFAC: BOUT, Viktor Anatolijevitch (fuzzy spelling variant of a listed name) |
| Russian Agricultural Bank | Matched — OFAC (1) + CSL (2, one per bundled list it appears on) |
| Example Trading Co | Matched — 3 OFAC possible matches (flagged for human review) |
| John Doe | Clear across all 3 sources |

Live run, 2026-11-20 (build 0.1.18), `{"names":["Viktor But"]}` — actual output, not fabricated:

```json
{
  "recordType": "attestation-name-result",
  "name": "Viktor But",
  "matched": true,
  "matchCount": 1,
  "matches": [
    {
      "source": "OFAC",
      "displayName": "BOUT, Viktor Anatolijevitch",
      "id": "8279",
      "score": 100,
      "matchType": "fuzzy",
      "scoreNote": "A score of 100 with matchType \"fuzzy\" means every name token matched after case/diacritic-folding and reordering (e.g. \"Viktor But\" vs \"BOUT, Viktor\") — not that the literal, as-typed strings are identical. matchType \"exact\" additionally requires the literal strings to align with no folding needed. Either way, name-only screening cannot by itself definitively confirm or clear an identity — DOB, address, NPI, or TIN would be needed for that; false positives cluster on common names, false negatives on inverted names, missing middles, initials, and transliterations.",
      "detail": "HIT (score 100, fuzzy) — DRCONGO",
      "program": "DRCONGO",
      "remarks": "DOB 13 Jan 1967; alt. DOB 13 Jan 1970; POB Dushanbe, Tajikistan; Dealer and transporter of weapons and minerals; Owner, Great Lakes Business Company and Compagnie Aerienne des Grands; a.k.a. 'BONT'; a.k.a. 'BOUTOV'; a.k.a. 'BUTT'; a.k.a. 'BUTTE'.",
      "runId": "QF1tO5Id3ijWV1xso"
    }
  ],
  "incomplete": false
}
```

`remarks` is OFAC's own free-text field, passed through verbatim (added 2026-11-20, zero extra fetches) — for an individual it commonly carries DOB/POB and a partial AKA list, as above. It is not re-parsed into separate fields: OFAC publishes no stable schema for this text, so parsing it would risk silently mis-attributing a DOB or alias.

```json
{
  "recordType": "attestation-summary",
  "inputHash": "sha256:c450bb7c8ec5254a89327542844605d354a93b4ab12c9b7420eb73d4ebc02131",
  "sourceMeta": {
    "OFAC": { "runId": "IWqCOgzzQcsJCs6wi", "asOf": "2026-11-20T03:23:40.255Z", "matchCount": 1, "listsScreened": ["SDN", "CONSOLIDATED"] },
    "CSL": { "runId": "ye82txPmMBB1smMBu", "asOf": "2026-11-20T03:23:39.267Z", "matchCount": 0 },
    "HEALTHCARE": { "runId": "csagDgKcgsljzM0Ip", "asOf": "2026-11-20T03:23:42.563Z", "matchCount": 0 }
  }
}
```

```json
{
  "recordType": "attestation-summary",
  "namesScreened": 4,
  "sourceMeta": {
    "OFAC": { "runId": "fEjBZDBKEtaNeZ6KK", "asOf": "2026-10-23T16:11:09.358Z", "matchCount": 3 },
    "CSL": { "runId": "FXGz5Vf3Q8zuBbahS", "asOf": "2026-10-23T16:11:06.343Z", "matchCount": 2 },
    "HEALTHCARE": { "runId": "FkIbeprXc4UuOh7CY", "asOf": "2026-10-23T16:11:40.280Z", "matchCount": 0 }
  },
  "overallIncomplete": false
}
```

### Use cases

- **Compliance and vendor-onboarding teams** — a periodic, filed-away record that counterparty
  screening was performed, when, and against what.
- **Exporters and freight forwarders** — OFAC plus Commerce/State restricted-party lists in one
  call.
- **Healthcare vendor credentialing** — healthcare exclusion lists alongside the sanctions
  screens in the same artifact.

### Recurring attestations

Create an Apify Schedule for this actor with your standing `names` list (monthly is a natural
cadence). Each run produces a fresh, independently stamped attestation; there is no incremental
mode because each attestation is a point-in-time record.

### Pricing

Pay per event:

- `attestation-run` — **$0.15** per successfully generated, complete (all 3 sources) attestation,
  charged once per run regardless of how many names were screened (covers the PDF-attestation
  generation overhead itself — real, distinct work from the per-name screen).
- `attestation-name` — **$0.025** per name screened, charged alongside `attestation-run` on the
  same run (sits above this fleet's single-source OFAC $0.02/name anchor specifically because this
  product is 3 sources + a formal PDF, not a single lookup).

Neither event is charged if any of the 3 sources could not be screened (`overallIncomplete`) —
see Pricing's sibling note in the Output section.

Repriced 2026-11-20 (3-way council pricing ruling) from a flat $2.00/run regardless of volume:
the flat fee didn't scale with the real cost or value of a run, and a 50,000-name run at $2.00
flat was dramatically underpriced relative to a 1-name run at the same $2.00. A 3-name run now
costs $0.225 before source charges (cheap to evaluate); a 50,000-name run costs $1,250.15.

**Your total cost is more than the attestation-run + attestation-name fees.** This actor runs
OFAC Sanctions Screening Suite, CSL Restricted-Party Suite and Healthcare Exclusion Suite on your
behalf, and **those actors' own per-event charges bill to your account** exactly as if you had
called them directly. Check each actor's Pricing tab for current rates. **Worked example,
measured live** (4 names): $0.15 attestation-run + 4 × `attestation-name` ($0.025 each) = $0.10,
subtotal $0.25 + OFAC 4 × `screened-name` ($0.02 each) + 3 × `sanctions-record` ($0.004 each; the
count OFAC itself billed on that run) = $0.092 + CSL 2 × `restricted-party-record` ($0.004 each) =
$0.008 + Healthcare $0.00 = **about $0.35**. Source charges scale with names screened and matches
found.

**Set `maxTotalChargeUsd` high enough** (for example `5` or `10`) when starting runs by API. If
the budget cannot cover the attestation-run + attestation-name fees, the run fails with a
`charge-failed` record rather than delivering the paid artifact for free.

### Limitations

- **Every run is a real, billable batch call across 3 actors** — there is no free or minimal
  path; even one name runs all three sources.
- **CSL and Healthcare matching is substring-based** (case and diacritic-insensitive, name-order
  swaps handled), not fuzzy or phonetic: a misspelled name can miss there. OFAC uses its own
  fuzzy and alias engine — see that actor's README for measured recall and false-hit rates.
- **Not a legal compliance certification.** The attestation documents that a screen was
  performed and its result, as of the stated timestamps; a human must review every match.
- **Name matching only** — no date-of-birth or country disambiguation in this actor.
- **The PDF renders Latin, Cyrillic, Greek and Arabic names**; some scripts (for example Chinese,
  Japanese, Korean) may not render in the PDF. The dataset always preserves the exact original
  string.
- **`pdfUrl` requires your Apify token** (see above).
- **Data is only as current as the three source actors' own sources** — each source's run ID and
  "as of" time is recorded in the attestation.

### Support

Built and maintained by Moose & Raven. Questions or issues: support@mooseandraven.com.

# Actor input Schema

## `names` (type: `array`):

Names to screen against OFAC sanctions, Commerce's restricted-party list, and healthcare exclusion lists in one attestation. Every run is a real, billable batch call across 3 real underlying actors — there is no free/bare-cap path (see README Pricing).

## Actor input object example

```json
{
  "names": [
    "John Doe"
  ]
}
```

# Actor output Schema

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

Every dataset item from this run.

## `overview` (type: `string`):

The same records limited to the most useful review columns.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("mooseandraven/exclusionone").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("mooseandraven/exclusionone").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 '{}' |
apify call mooseandraven/exclusionone --silent --output-dataset

```

## MCP server setup

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

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/XeJWe6fn7zXTTkB9V/builds/eIT0kS1yxaki7O2YI/openapi.json
