> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# OFAC-API (sanctions screening)

> Fuzzy screening of people, companies, vessels and aircraft against OFAC SDN and 20+ other sanctions, PEP and watch lists, single, batch or as async bulk jobs.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/ofacapi.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=09253a931c3d1e50a5b255c93e8a2e1c)

[Web Catalog · Government](https://docs.webrouter.net/data-apis.md?category=government)

Needs&#x20;

`OFAC_API_KEY`

Endpoints

5

Auth

Key in header

[Vendor docs](https://docs.ofac-api.com/)

&#x20;·&#x20;

[Pricing](https://www.ofac-api.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `OFAC_API_KEY` | required | An ofac-api.com API key, sent in the apiKey header (the request body's apiKey field also works). |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Screening and search are reads sent as POST with a JSON body.
* Always check error and errorMessage in the body: a 200 can still say the account is over its monthly limit.
* Matches come back only when their score clears minScore (default 95, range 80-100); lower it for looser fuzzy matching.
* Batches: up to 500 cases per screen or search call; larger sets (up to 100,000) go through jobs.create and are polled with jobs.get.

## Endpoints

POST

Screen names against sanctions lists

Scored matches for each case, with the fields that matched and the full sanction record.

[Open](#ofacapi-screen)

POST

Search sanctions lists

Sanction records matching a name, address, ID number or crypto wallet, without screening scores.

[Open](#ofacapi-search)

POST

Start a bulk screening job

Queue up to 100,000 cases for asynchronous screening; returns a job id.

[Open](#ofacapi-jobs-create)

GET

List screening jobs

Recent bulk jobs and their status.

[Open](#ofacapi-jobs-list)

GET

Get a screening job

Status of a bulk job and, once COMPLETED, a reportUrl to download the results.

[Open](#ofacapi-jobs-get)

### Screen names against sanctions lists

POST

`/screen`

`ofacapi.screen`

Scored matches for each case, with the fields that matched and the full sanction record.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`cases` required</td><td>array</td><td>body</td><td>Cases, each \{name (required), id (recommended, echoed back), type (person|organization|vessel|aircraft), dob YYYY-MM-DD, gender, citizenship, nationality, phoneNumber, emailAddress, cryptoId, address \{address1, address2, city, stateOrProvince, postalCode, country}, identification \[\{idNumber, type, country}]}. Example `[{"id": "1", "name": "Vladimir Putin", "type": "person"}]`</td></tr>

    <tr>
      <td>
        `minScore`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Lowest match score returned, 80 to 100, default 95.
      </td>
    </tr>

    <tr>
      <td>
        `sources`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Sanction list codes to check, e.g. SDN, NONSDN, UN, OFSI, FCDO, DFAT, SECO, PEP, INTERPOL, FINCEN (full list on the Data Sources page). All configured lists when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `types`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Entity types to evaluate: person, organization, vessel, aircraft.
      </td>
    </tr>

    <tr>
      <td>
        `options`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        \{caseReportPdf: \{include: true}} adds a Base64 PDF report per case (subscription only, at most 100 cases).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.ofac-api.com/screening-api/request)

```python Python theme={null}
router.call_data_api("ofacapi.screen", {'cases': [{'id': '1', 'name': 'Vladimir Putin', 'type': 'person'}]})
```

```text MCP theme={null}
call_data_api(endpoint="ofacapi.screen", params={"cases": [{"id": "1", "name": "Vladimir Putin", "type": "person"}]})
```

> [!NOTE]
>
> * A read over POST. type on a case improves matching but does not filter; types at the top level filters.

### Search sanctions lists

POST

`/search`

`ofacapi.search`

Sanction records matching a name, address, ID number or crypto wallet, without screening scores.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`cases` required</td><td>array</td><td>body</td><td>Cases, each \{name (required), id, cryptoId, address \{address1, address2, city, stateOrProvince, postalCode, country}, identification \[\{idNumber, type, country}]}. Example `[{"id": "1", "name": "Banco Nacional de Cuba"}]`</td></tr>

    <tr>
      <td>
        `sources`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Sanction list codes to check, e.g. SDN, NONSDN, UN, OFSI, FCDO, DFAT, SECO, PEP, INTERPOL, FINCEN (full list on the Data Sources page). All configured lists when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `types`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Entity types to evaluate: person, organization, vessel, aircraft.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.ofac-api.com/search-api/request)

```python Python theme={null}
router.call_data_api("ofacapi.search", {'cases': [{'id': '1', 'name': 'Banco Nacional de Cuba'}]})
```

```text MCP theme={null}
call_data_api(endpoint="ofacapi.search", params={"cases": [{"id": "1", "name": "Banco Nacional de Cuba"}]})
```

> [!NOTE]
>
> * A read over POST. Up to 500 cases per call.

### Start a bulk screening job

POST

`/jobs`

`ofacapi.jobs.create`

Queue up to 100,000 cases for asynchronous screening; returns a job id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `cases`

        required
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Cases, each \{name (required), id (recommended, echoed back), type (person|organization|vessel|aircraft), dob YYYY-MM-DD, gender, citizenship, nationality, phoneNumber, emailAddress, cryptoId, address \{address1, address2, city, stateOrProvince, postalCode, country}, identification \[\{idNumber, type, country}]}.
      </td>
    </tr>

    <tr>
      <td>
        `sources`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Sanction list codes to check, e.g. SDN, NONSDN, UN, OFSI, FCDO, DFAT, SECO, PEP, INTERPOL, FINCEN (full list on the Data Sources page). All configured lists when omitted.
      </td>
    </tr>

    <tr>
      <td>
        `types`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Entity types to evaluate: person, organization, vessel, aircraft.
      </td>
    </tr>

    <tr>
      <td>
        `jobName`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Display name for the job.
      </td>
    </tr>

    <tr>
      <td>
        `idempotency_key`
      </td>

      <td>
        string
      </td>

      <td>
        header
      </td>

      <td>
        A UUID v4; retrying with the same key returns the original job.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.ofac-api.com/jobs-api/request) · Same job: [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-bulk-create), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-filter), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-task-create), [Extruct AI](https://docs.webrouter.net/data-apis/extruct.md#extruct-discovery-create), [Filtrat](https://docs.webrouter.net/data-apis/filtrat.md#filtrat-bulk-create), [FullEnrich](https://docs.webrouter.net/data-apis/fullenrich.md#fullenrich-contact-enrich)

> [!NOTE]
>
> * Starts a billed job: it only produces data and changes nothing else in your account.
> * Poll ofacapi.jobs.get with the returned id until COMPLETED.

### List screening jobs

GET

`/jobs`

`ofacapi.jobs.list`

Recent bulk jobs and their status.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Jobs to return, default 10, max 100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.ofac-api.com/jobs-api/request) · Same job: [Firecrawl](https://docs.webrouter.net/data-apis/firecrawl.md#firecrawl-crawl-active), [Leadsforge](https://docs.webrouter.net/data-apis/leadsforge.md#leadsforge-enrichment-jobs), [Origami](https://docs.webrouter.net/data-apis/origami.md#origami-jobs-list)

```python Python theme={null}
router.call_data_api("ofacapi.jobs.list")
```

```text MCP theme={null}
call_data_api(endpoint="ofacapi.jobs.list")
```

### Get a screening job

GET

`/jobs/{id}`

`ofacapi.jobs.get`

Status of a bulk job and, once COMPLETED, a reportUrl to download the results.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The job UUID.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.ofac-api.com/jobs-api/request) · Same job: [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-people-find-emails-status), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-requests-get), [Anymail Finder](https://docs.webrouter.net/data-apis/anymailfinder.md#anymailfinder-bulk-get), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-actors-list), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-marketmap-get), [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-single-status)

> [!NOTE]
>
> * reportUrl expires 24 hours after this call; call again for a fresh link.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.