# OFAC Sanctions List Screening Scraper (SDN) (`scrapers_lat/ofac-sanctions-scraper`) Actor

Download the US Treasury OFAC SDN and Consolidated sanctions lists. Get party names, aliases, sanctions programs, type, addresses, dates of birth, nationalities and passport or ID numbers for KYC and AML screening. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/scrapers\_lat/ofac-sanctions-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Business, Lead generation, Automation
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $9.23 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![OFAC Sanctions List Screening Scraper (SDN)](https://scrapers.lat/banners/ofac-sanctions-scraper.png)](https://console.apify.com/actors/ebeyDZQVc01yS9jmb/input)

## OFAC Sanctions List Screening Scraper (SDN)

> Download the full US Treasury OFAC sanctions data, every party on the SDN and Consolidated lists with names, aliases, programs, dates of birth, nationalities, ID numbers, plus emails, websites, phone numbers, SWIFT/BIC codes and cryptocurrency wallet addresses for KYC, AML and crypto screening

**📥 [Input](https://apify.com/scrapers_lat/ofac-sanctions-scraper/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/ofac-sanctions-scraper/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/ofac-sanctions-scraper/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples)**

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify\&logoColor=white)
![Coverage](https://img.shields.io/badge/Coverage-Global-blue)
![Maintained](https://img.shields.io/badge/Maintained-Yes-brightgreen)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)

<table><tr>
<td align="center"><strong>21 fields</strong><br>per record</td>
<td align="center"><strong>Global</strong><br>coverage</td>
<td align="center"><strong>JSON / CSV / Excel</strong><br>output formats</td>
</tr></table>

<br>

### Who is it for

| Use case | Who benefits |
|---|---|
| Screen customers and counterparties against the official SDN and Consolidated lists | Compliance, KYC and AML teams |
| Build and refresh an internal watchlist database from the canonical source | Fintech, banking and payments engineers |
| Match names and aliases during onboarding and transaction monitoring | Risk and fraud operations |
| Filter sanctioned parties by program such as Cuba, Iran or counterterrorism | Sanctions analysts and investigators |
| Enrich vendor and supplier records with sanctions exposure flags | Procurement and third-party risk teams |

### Frequently Asked Questions

**Where does this data come from?**\
Straight from the US Treasury OFAC. The actor downloads the official bulk SDN and Consolidated list files that OFAC publishes for everyone, then parses them into structured records. It does not add, guess or alter any data, so the output mirrors the authoritative source.

**What is the difference between the SDN and Consolidated lists?**\
The SDN list holds the Specially Designated Nationals and Blocked Persons, more than 19,000 parties whose assets are blocked. The Consolidated list holds the other OFAC sanctions lists that are not part of the SDN list. Choose one with the List option, or pick Both to load them together, and each record is tagged SDN or CONS so you always know its source.

**Can I search for a specific person or company?**\
Yes. Use the Name search field to keep only parties whose primary name or any alias contains your text, for example a surname or company name. You can combine it with the party type and program filters, or leave it empty to export the whole list.

**Can I filter by sanctions program?**\
Yes. Add one or more program codes such as CUBA, SDGT, IRAN or UKRAINE-EO13662 to the Sanctions programs field and the actor keeps only parties listed under any of them. You can also restrict results to individuals, entities, vessels or aircraft with the Party type filter.

**Can I screen cryptocurrency wallets and contact details?**\
Yes. Each record surfaces dedicated fields for any cryptocurrency wallet addresses (with the coin, for example XBT, ETH, TRX or USDT), email addresses, websites, phone numbers and SWIFT/BIC codes that OFAC lists for that party, alongside a gender field for individuals. These are pulled out of the raw identification data so you can match crypto addresses and contact points directly, and the full ID number list is still included.

**What happens when a field has no value?**\
Fields that do not apply are returned as null or an empty list and are never invented. Individual-only fields such as dates of birth are empty for entities, and vessel details are present only for vessels and aircraft, so each record carries exactly what OFAC publishes for that party.

### Example use cases

Ready-to-run example tasks, each preconfigured for a common scenario. Open one and press run, or use it as a template:

- [Screen OFAC Sanctioned Entities](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-sanctioned-entities): Screen OFAC Sanctioned Entities
- [Screen OFAC Sanctioned Individuals](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-sanctioned-individuals): Screen OFAC Sanctioned Individuals
- [OFAC Russia Sanctions List (EO 14024) Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-russia-sanctions-list): OFAC Russia Sanctions List (EO 14024) Scraper
- [OFAC Iran Sanctions List Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-iran-sanctions-list): OFAC Iran Sanctions List Scraper
- [OFAC North Korea DPRK Sanctions Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-north-korea-dprk-sanctions): OFAC North Korea DPRK Sanctions Scraper
- [OFAC Venezuela Sanctions List Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-venezuela-sanctions-list): OFAC Venezuela Sanctions List Scraper
- [OFAC Narcotics Traffickers (SDNTK) Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-narcotics-traffickers-sdntk): OFAC Narcotics Traffickers (SDNTK) Scraper
- [OFAC Global Terrorists (SDGT) Sanctions Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-terrorism-sdgt-list): OFAC Global Terrorists (SDGT) Sanctions Scraper
- [OFAC Sanctioned Vessels (Ships) Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-sanctioned-vessels): OFAC Sanctioned Vessels (Ships) Scraper
- [OFAC Cuba Sanctions List Scraper](https://apify.com/scrapers_lat/ofac-sanctions-scraper/examples/ofac-cuba-sanctions-list): OFAC Cuba Sanctions List Scraper

### Export, API and AI agents (x402 + MCP)

Export the scraped data to **JSON, CSV or Excel**, pull it as a **dataset** through the Apify **API**, or wire it into your app with **no code**. This web scraper and data extractor also works for bulk data extraction and scheduled runs.

For AI agents: this Actor is available on **x402**, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an **MCP** tool inside Claude, Cursor and other AI clients out of the box. Learn more about [x402 agentic payments on Apify](https://docs.apify.com/platform/integrations/x402).

### Related scrapers

Need data from the same space? Here are other scrapers we build and maintain:

- [USAspending Federal Award Scraper](https://apify.com/scrapers_lat/usaspending-awards-scraper): Scrape US federal prime awards from USAspending.gov. Get recipient, UEI, award amount, awarding...
- [Grants.gov Opportunity Scraper](https://apify.com/scrapers_lat/grants-gov-scraper): Extract U.S. federal grant opportunities from the official Grants.gov API. Scrape title, agency...
- [NPPES NPI Provider Scraper](https://apify.com/scrapers_lat/nppes-npi-scraper): Scrape US healthcare provider records from the official NPPES NPI Registry. Search by name...
- [BizQuest Businesses-for-Sale Listings Scraper](https://apify.com/scrapers_lat/bizquest-scraper): Extract US businesses-for-sale listings from BizQuest with the broker or seller contact (name...
- [California CSLB Contractor License Scraper](https://apify.com/scrapers_lat/california-cslb-scraper): Extract licensed California contractor records from the CSLB public data portal by classification...
- [California Attorney License Scraper](https://apify.com/scrapers_lat/california-state-bar-scraper): Search the California State Bar attorney directory and extract licensee records. Scrape bar number...

### More scrapers at scrapers.lat

This actor is built and maintained by [scrapers.lat](https://scrapers.lat), where we publish scrapers for Latin American and US public platforms: real estate, jobs, e-commerce, company registries and government data. Browse the full catalog, see live sample output for each one, or ask us for a custom scraper at [scrapers.lat](https://scrapers.lat).

***

> This actor is an independent tool and has no affiliation with the US Department of the Treasury or the Office of Foreign Assets Control. It accesses only the OFAC sanctions list data that the Treasury publishes as a public record. The output is provided for sanctions screening reference and informational purposes only. It is not legal advice and is not a substitute for a complete compliance program. Always verify potential matches against the official OFAC source and consult qualified counsel before acting on a result.

# Actor input Schema

## `maxRecords` (type: `integer`):

Maximum number of sanctioned-party records to collect. Optional.

## `list` (type: `string`):

Which OFAC list to download: the SDN (Specially Designated Nationals) list, the Consolidated (non-SDN) list, or both.

## `searchName` (type: `string`):

Optional case-insensitive substring filter applied to the primary name and all aliases (a.k.a.). Leave empty to return every party on the list.

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

Optional filter by the kind of sanctioned party.

## `programs` (type: `array`):

Optional list of OFAC program codes to keep (case-insensitive, e.g. CUBA, SDGT, IRAN, UKRAINE-EO13662, NPWMD). A record is kept if it carries any of the given programs.

## Actor input object example

```json
{
  "maxRecords": 10,
  "list": "sdn",
  "type": ""
}
```

# Actor output Schema

## `results` (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 = {
    "maxRecords": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/ofac-sanctions-scraper").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 = { "maxRecords": 10 }

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/ofac-sanctions-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "maxRecords": 10
}' |
apify call scrapers_lat/ofac-sanctions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers_lat/ofac-sanctions-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/ebeyDZQVc01yS9jmb/builds/z9evHUSQ3lhi5RfD7/openapi.json
