# UK Sanctions List Scraper — Names, Aliases, Regimes & Ships (`muhammadafzal/uk-hm-treasury-sanctions-scraper`) Actor

Export the official UK Sanctions List (successor to the OFSI list) as JSON: names, aliases, regimes, measures, IDs and ships. USD 2 per 1,000 records.

- **URL**: https://apify.com/muhammadafzal/uk-hm-treasury-sanctions-scraper.md
- **Developed by:** [Muhammad Afzal](https://apify.com/muhammadafzal) (community)
- **Categories:** Automation, Other
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 sanctions records

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/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

## UK Sanctions List Scraper — Names, Aliases, Regimes & Ships

UK Sanctions List Scraper downloads the official UK Sanctions List published by the Foreign, Commonwealth & Development Office (FCDO) and returns each designation as structured JSON, including names and aliases, regime, sanctions imposed, statement of reasons, addresses, dates, identifiers and ship details. It is built for compliance, KYC and due-diligence teams, and it costs USD 2.00 per 1,000 records on the FREE tier (USD 1.60 per 1,000 on GOLD).

Since 28 January 2026 the UK Sanctions List has been the only official list of UK sanctions designations. The former HM Treasury (OFSI) Consolidated List is closed, and records still carry their OFSI Group ID where one exists.

### What data does the UK Sanctions List scraper return?

Each dataset row is one name, alias or address variant of a designation, exactly as the government file lists it.

| Field | What it contains |
|---|---|
| `uniqueId`, `ofsiGroupId`, `unReferenceNumber` | UK unique ID (for example `RUS0232`), legacy OFSI Group ID and UN reference |
| `name`, `nameParts`, `nameType`, `aliasStrength`, `title`, `nonLatinName` | Full name, its six name parts, primary name or alias, and non-Latin spelling |
| `regimeName` | Sanctions regime, for example `The Russia (Sanctions) (EU Exit) Regulations 2019` |
| `designationType`, `designationSource` | `Individual`, `Entity` or `Ship`, and `UK`, `UN` or both |
| `sanctionsImposed` | Measures imposed, joined by a pipe character in one value, for example asset freeze plus travel ban |
| `statementOfReasons`, `otherInformation` | UK statement of reasons and other published information |
| `address`, `postalCode`, `country`, `phoneNumber`, `website`, `emailAddress` | Contact and address details when published |
| `dateDesignated`, `lastUpdated`, `reportDate` | Designation date, last change and the file's report date (source formats, for example `22/02/2022`) |
| `dateOfBirth`, `nationalities`, `nationalIdentifier`, `passportNumber`, `position`, `gender`, `townOfBirth`, `countryOfBirth` | Individual identifiers when published |
| `entityType` | Type of entity, for example `Bank` or `Public Joint Stock Company (PJSC)` |
| `shipDetails` | IMO number, current owner or operator, flag, ship type, tonnage, length, year built and HIN |
| `sourceUrl` | The official CSV the row came from |

Empty source cells are `null`. Columns for subsidiaries, parent company, business registration numbers, previous ship owners and previous flags are not included. A `SUMMARY` record shows the report date, source rows scanned, matched rows, delivered records, filters and warnings.

### How do I search the UK sanctions list by name, ID or regime?

Type part of a name, ID, passport number, address or website into **Search term**. It is a case-insensitive text match, not fuzzy matching.

```json
{ "searchTerm": "Rossiya", "maxResults": 50 }
```

Use the list filters for exact values (matched case-insensitively). **UK unique IDs** retrieves specific designations:

```json
{ "uniqueIds": ["RUS0232", "DPR0075"] }
```

Regime names must be the full regime title, and designation types are `Individual`, `Entity` or `Ship`:

```json
{
  "regimes": ["The Russia (Sanctions) (EU Exit) Regulations 2019"],
  "designationTypes": ["Ship"],
  "maxResults": 1000
}
```

**Sanctions imposed** matches the whole cell value. The file stores combined measures such as `Asset freeze|Travel Ban`, so a filter of `Asset freeze` matches only rows with that single measure (2,804 of 58,645 rows on 2026-10-26). To find every row that includes a measure, use **Search term** instead. With all filters empty, the Actor returns the first records in file order.

### How do I export the full UK sanctions list?

Run it in slices. One run returns at most 5,000 records (`maxResults`, default 100). On 2026-10-26 the file had 58,645 rows covering 6,423 unique IDs, and 19,923 rows remained after the Actor removed exact repeats. Filter by regime and designation type: every regime-and-type combination fit within 5,000 rows that day, and the largest was 3,105.

Each run downloads the whole official file (about 50 MB) once, streams it, and stops as soon as it has delivered `maxResults` records.

### When should I use this Actor, and when not?

**Use it when** you need the UK list as data: loading designations into your own screening or case-management system, pulling every designation under one regime, checking a set of unique IDs, listing sanctioned ships by IMO number, or feeding current UK designations to an AI agent.

**Use something else when:**

- You need scored, fuzzy name screening with match confidence. This Actor filters the list; it does not rank fuzzy matches.
- You need the US OFAC, EU or UN consolidated lists. This Actor covers UK designations only, which include UN designations that the UK implements.
- You need company filings for due diligence: [SEC EDGAR Scraper](https://apify.com/muhammadafzal/sec-edgar-scraper).
- You need US federal award recipients: [USAspending Awards Scraper](https://apify.com/muhammadafzal/usaspending-awards-scraper).

### Use it from an AI assistant

UK Sanctions List Scraper works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add it with `https://mcp.apify.com/?tools=muhammadafzal/uk-hm-treasury-sanctions-scraper`, then ask, for example: "List every ship designated under the UK's Russia sanctions regime with its IMO number, flag and designation date."

### Run it with the API

JavaScript:

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('muhammadafzal/uk-hm-treasury-sanctions-scraper').call({
    regimes: ['The Russia (Sanctions) (EU Exit) Regulations 2019'],
    designationTypes: ['Entity'],
    maxResults: 5000,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]?.uniqueId, items[0]?.name);
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("muhammadafzal/uk-hm-treasury-sanctions-scraper").call(
    run_input={"designationTypes": ["Ship"], "maxResults": 1000}
)
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row["uniqueId"], row["name"], row["shipDetails"]["imoNumber"], row["regimeName"])
```

### What does the output look like?

Two records normalized from the official file dated 26-Oct-2026 (long text and empty fields shortened):

```json
[
  {
    "reportDate": "26-Oct-2026",
    "lastUpdated": "09/04/2025",
    "uniqueId": "RUS0232",
    "ofsiGroupId": "14177",
    "unReferenceNumber": null,
    "name": "Bank Rossiya",
    "nameType": "Primary Name",
    "nonLatinName": "Акционерное общество 'Акционерный Банк 'РОССИЯ''",
    "regimeName": "The Russia (Sanctions) (EU Exit) Regulations 2019",
    "designationType": "Entity",
    "designationSource": "UK",
    "sanctionsImposed": "Asset freeze|Trust Services Sanctions|Director Disqualification Sanction|Prohibition on Correspondent banking relationships and processing payments|…",
    "statementOfReasons": "Bank 'Rossiya' is a Russian bank privately owned by elite Russian billionaires …",
    "address": "Rastrelli Square, 2A, Saint-Petersburg",
    "postalCode": "191124",
    "country": "Russia",
    "website": "https://abr.ru/",
    "dateDesignated": "22/02/2022",
    "entityType": "Public Joint Stock Company (PJSC)",
    "shipDetails": { "imoNumber": null, "currentFlag": null, "typeOfShip": null },
    "sourceUrl": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.csv"
  },
  {
    "reportDate": "26-Oct-2026",
    "lastUpdated": "18/12/2021",
    "uniqueId": "DPR0075",
    "name": "Petrel 8",
    "nameType": "Primary name",
    "regimeName": "The Democratic People's Republic of Korea (Sanctions) (EU Exit) Regulations 2019",
    "designationType": "Ship",
    "designationSource": "UN",
    "sanctionsImposed": "Prohibition of port entry",
    "dateDesignated": "03/10/2017",
    "shipDetails": {
      "imoNumber": "IMO9562233",
      "currentOwnerOperator": "Global United Shipping India",
      "currentFlag": "Comoros",
      "typeOfShip": "Bulk Carrier",
      "tonnage": "7078",
      "length": "134.5",
      "yearBuilt": "2011",
      "hin": null
    },
    "sourceUrl": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.csv"
  }
]
```

### Pricing: how much does UK sanctions data cost?

UK Sanctions List Scraper uses pay-per-event pricing. Platform usage is included in the event prices.

| Event | FREE | BRONZE | SILVER | GOLD | PLATINUM / DIAMOND |
|---|---:|---:|---:|---:|---:|
| Sanctions record (one dataset row) | USD 0.002001 | USD 0.00195 | USD 0.0019 | USD 0.0016 | USD 0.0016 |
| Actor start (per started GB of allocated memory) | USD 0.006251 | USD 0.006094 | USD 0.005938 | USD 0.005 | USD 0.005 |

Worked totals on the FREE tier at the default 512 MB memory (one start event):

- Default run, first 100 records: 100 × USD 0.002001 + USD 0.006251 = **USD 0.2064**
- Largest run, 5,000 records: 5,000 × USD 0.002001 + USD 0.006251 = **USD 10.0113**

A search with no matches charges only the start fee. You can also set a maximum cost per run in Apify Console.

### FAQ

#### Is this the same as the OFSI Consolidated List?

No. The OFSI Consolidated List closed on 28 January 2026. The UK Sanctions List is now the single official source, and it carries the old OFSI Group IDs so you can map historical records.

#### How current is the data?

Every run downloads the file the government is publishing at that moment. `reportDate` shows the file's date, which was 26-Oct-2026 on the latest check, and `lastUpdated` shows when each designation last changed.

#### Why do I get several rows for one designation?

The file has one row per name, alias and address combination. Group by `uniqueId` to get one designation per group, and use `nameType` to tell primary names from aliases.

#### Does it do fuzzy name matching?

No. **Search term** is a case-insensitive substring match across names, IDs, addresses, passport and national ID numbers, websites and other fields. Check spelling variants yourself, or search by a distinctive part of the name.

#### Can I monitor the list for changes?

Yes, with a schedule. The Actor does not compare runs, but you can diff `uniqueId` and `lastUpdated` between scheduled runs to find new, changed and removed designations.

#### Is this legal advice?

No. The output reproduces government data. Confirm decisions against the official list and current UK sanctions guidance.

### Related Actors

- [USAspending Awards Scraper](https://apify.com/muhammadafzal/usaspending-awards-scraper): US federal contracts and grants by recipient
- [Ofsted Reports Scraper](https://apify.com/muhammadafzal/uk-ofsted-inspections-scraper): official UK inspection records
- [SEC EDGAR Scraper](https://apify.com/muhammadafzal/sec-edgar-scraper): company filings for due diligence
- [ProPublica Nonprofit Explorer Scraper](https://apify.com/muhammadafzal/guidestar-propublica-nonprofit-scraper): US nonprofit Form 990 data

### Legal and compliance

This Actor downloads the government's public CSV (one request, with up to two retries) and does not log in or bypass access controls. The list is published under the UK Open Government Licence unless otherwise stated. The Actor is independent of the FCDO and HM Treasury. Individual records contain personal data that is published for sanctions compliance: use it only for that purpose and handle it under UK GDPR.

Last verified: 2026-10-26

# Actor input Schema

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

Optional case-insensitive text search across names, identifiers, addresses and related fields. Example: Russia or Ivan Ivanov. Leave empty to scan the full list.

## `uniqueIds` (type: `array`):

Optional exact UK Sanctions List Unique ID values. Example: RUS0260. Use this for precise record retrieval.

## `regimes` (type: `array`):

Optional exact regime names from the source CSV, such as The Russia (Sanctions) (EU Exit) Regulations 2019. Leave empty for all regimes.

## `designationTypes` (type: `array`):

Optional exact designation types, for example Individual, Entity or Ship. Leave empty for all types.

## `sanctionsImposed` (type: `array`):

Use this to match the whole Sanctions Imposed value, case-insensitively. The file combines measures with a pipe, for example Asset freeze|Travel Ban, so Asset freeze alone matches only rows with that single measure. For a partial match use Search term. Leave empty for all measures.

## `entityTypes` (type: `array`):

Optional exact source values for Type of entity. Leave empty for all entity types.

## `maxResults` (type: `integer`):

Use this to cap records written and billed. Example: 100. Allowed range: 1–5000. The full list is larger than one run (about 19,900 rows after duplicate removal on 2026-10-26), so split big exports by regime and designation type.

## `requestDelayMs` (type: `integer`):

Delay before the government CSV request. Example: 250. Allowed range: 0–5000; use the default for a respectful single-request run.

## Actor input object example

```json
{
  "searchTerm": "",
  "uniqueIds": [],
  "regimes": [],
  "designationTypes": [],
  "sanctionsImposed": [],
  "entityTypes": [],
  "maxResults": 100,
  "requestDelayMs": 250
}
```

# Actor output Schema

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

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

# Run the Actor and wait for it to finish
run = client.actor("muhammadafzal/uk-hm-treasury-sanctions-scraper").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 muhammadafzal/uk-hm-treasury-sanctions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammadafzal/uk-hm-treasury-sanctions-scraper"
        }
    }
}
```

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/xNFGf4gJh4SqbMWff/builds/3SjZFfRg2sZLPnLbK/openapi.json
