# Catch near-matches in sanctions screening

**Use case:** 

The two names here are deliberately misspelled. With the threshold lowered to 0.7 they still match their listed entries, which is what transliteration of Arabic, Farsi and Cyrillic names actually looks like in a customer database.

## Input

```json
{
  "names": [
    "Bank Meli Iran",
    "Saddam Husein Al Tikriti"
  ],
  "sources": [
    "ofac",
    "eu",
    "un"
  ],
  "minScore": 0.7,
  "maxMatches": 10,
  "maxRetries": 3
}
```

## Output

```json
{
  "query": {
    "label": "Name",
    "format": "string"
  },
  "hitCount": {
    "label": "Hits",
    "format": "integer"
  },
  "totalMatches": {
    "label": "Found (total)",
    "format": "integer"
  },
  "topScore": {
    "label": "Best score",
    "format": "number"
  },
  "scoreThresholdUsed": {
    "label": "Score threshold used",
    "format": "string"
  },
  "matches": {
    "label": "Matches",
    "format": "array"
  },
  "screened": {
    "label": "Screened",
    "format": "boolean"
  },
  "ok": {
    "label": "OK",
    "format": "boolean"
  },
  "reason": {
    "label": "Note",
    "format": "string"
  },
  "normalized": {
    "label": "Normalized",
    "format": "string"
  },
  "listsUsed": {
    "label": "Lists checked",
    "format": "array"
  },
  "listVersions": {
    "label": "List versions",
    "format": "object"
  },
  "listsUnavailable": {
    "label": "Lists unavailable",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Sanctions Screening API - OFAC Sanctions List, EU, UN (AML/KYC)](https://apify.com/neverempty/sanctions-screening-official.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/sanctions-screening-official.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/neverempty/sanctions-screening-official.md

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`).
