# Export Control Screening (`mikee368/export-control-screening`) Actor

Screen company names against US export-control lists on the trade.gov Consolidated Screening List, and flag HS codes or descriptions that overlap EU dual-use Annex I. An indicator, not legal advice.

- **URL**: https://apify.com/mikee368/export-control-screening.md
- **Developed by:** [Mike Berckmoes](https://apify.com/mikee368) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 entity screeneds

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

## Export Control Screening

**This is an indicator. It is not legal advice, not an export classification, and not a licence to ship.** A party hit means the name is similar to a name on a US export-control list. A goods flag means `possible dual-use, verify`. A clear row means every source this run needed did load, and nothing matched. Confirm every hit on the official list before you rely on it.

### What does Export Control Screening do?

Give it company names (country and address optional). It screens each name against the export-control rows in the [Consolidated Screening List](https://www.trade.gov/consolidated-screening-list) CSV from data.trade.gov. That file is a US government work and is in the public domain.

| List | `source` text kept from the CSL |
|---|---|
| Entity List | Entity List (EL) — Bureau of Industry and Security |
| Denied Persons List | Denied Persons List (DPL) |
| Unverified List | Unverified List (UVL) |
| Military End User List | Military End User (MEU) List |
| ITAR debarred | ITAR Debarred (DTC) — State Department |
| Nonproliferation sanctions | Nonproliferation Sanctions (ACN) — State Department |

OFAC financial-sanctions rows in the same CSV (SDN, SSI, and the other Treasury lists) are skipped. Screen those names with Sanctions Screening Watch. OpenSanctions is not used.

Matching reuses that Actor's name matcher: diacritics, Cyrillic, legal suffixes, and aliases. A shared country moves the score. An address that shares a distinctive word with the listed address adds 4 points, up to 100. Each hit keeps the CSL id, the score, and the official list URL.

If the CSL file is missing an expected list, contains a source name this Actor does not know, or can only be served from a stale cache, the row is `incomplete`. It is not `clear`.

### Goods

Optional product values are HS/CN codes (6 digits or more), Annex I item numbers such as `5A002` or `5A002.a.1`, or a short description. They are compared with the official consolidated text of Annex I to Regulation (EU) 2021/821, CELEX `02021R0821-20260921`, from the EU Publications Office. Reuse follows Commission Decision 2011/833/EU. Attribute the text to EUR-Lex.

A match is flagged **possible dual-use, verify**. The annex is not a CN correlation table. A code is flagged only when those digits appear in the annex text. No flag is `no-annex-indication`. That is not a statement that the goods are uncontrolled. If the annex does not load, goods status is `incomplete` and the company is not clear.

### Watch mode

Turn on **Watch mode** and keep the same **Watch list ID** (the input field **Watch list ID**, `monitorId`). Hits are stored in the named key-value store `export-control-screening-state`, under `seen-<monitorId>` and `meta-<monitorId>`. Use **Reset the saved watch list** (`resetState`) to forget prior hits for that ID. A later run pushes a row when a hit is new, a saved hit disappeared from a list that loaded, or a source failed. The first watch run for a monitor ID is a free new-hit baseline: hits are listed but `new-hit` is not charged until a later run. Unchanged companies are still screened and charged an `entity-screened` event each time, and are not pushed again. A list that failed does not delete a saved hit.

An optional **Webhook URL** receives a short JSON digest when a row is pushed. The URL is not written into the dataset or the summary. Set **Webhook when nothing changed** to post on a quiet run as well.

### Cache

Downloaded lists are reduced to the fields needed for matching, gzip-compressed, and stored in `export-control-list-cache`. A run reuses that cache while it is younger than **List cache age** (default 24 hours, maximum 48). A cache older than 72 hours is never used. A partial download is not treated as fresh. The annex is downloaded only when the run includes products. One container screens every name. No child Actor is called.

### Privacy

You supply the company names, and any country, business address, or product text. The Actor does not look up directors, emails, or home addresses. It does not add dates of birth from the CSL to the result. A hit returns the public list id, the matched name, the score, the country, and the listed address so you can check the official page. Watch state holds those names and hit ids in your private named store. The list cache holds official public entries only. The webhook body is the digest you asked to send: name, country, status, and the new list ids. It does not include the street address. Do not use the output for employment or consumer-credit decisions.

### How much does a company cost?

Live pay-per-event prices in `.actor/pricing.json`: `entity-screened` **$0.007** and `new-hit` **$0.004**. The same numbers are in `.actor/deploy.json` under `pricingPrepared`. Incomplete rows are not charged. `apify-default-dataset-item` is not priced.

Apify's developer profit is `(0.8 × revenue) − platform cost`. FREE and BRONZE rates used here are $0.20 per compute unit (1 GB for one hour) and $0.20 per GB of external data transfer. A 1-entity run with no hit pays only `entity-screened`.

Local measurement of the official files, not an Apify invoice:

| File | Bytes | Time on this machine |
|---|---|---|
| CSL CSV | 16,832,471 | 1.27s download, 0.27s parse (26,173 rows; 6,213 kept) |
| Annex I XHTML | 3,231,736 | 1.02s download (382 item headings) |

A cold company with no products downloads the CSV once (about 0.0168 GB, **$0.00337** of transfer). A cautious cloud allowance is 256 MB for 60 seconds: 0.25 × 60/3600 × $0.20 = **$0.00083** of compute. Platform cost about **$0.0042**. After the 20% cut, $0.007 returns $0.0056, so the profit is about **$0.0014**. The annex adds about 0.0032 GB (**$0.00065**) and still leaves a profit. A warm run inside the cache window does not download again. A real new hit adds $0.004 (about $0.0032 after the cut) and almost no extra platform cost. A removed hit is not a `new-hit`.

The platform `apify-actor-start` event stays at its default $0.00005 and covers the first 5 seconds. The 60 second allowance above does not subtract those 5 seconds. `apify-default-dataset-item` is not priced.

Default memory is 256 MB. The live `entity-screened` price is $0.007.

### How to run it

1. Paste company names. Add products only when you want a goods check.
2. Leave the minimum score at 80 unless you have reviewed what a lower score returns.
3. For a daily check, turn on watch mode, keep one watch ID, and schedule it.
4. Read the dataset and `RUN_SUMMARY`. Do not treat a clear row, or a missing goods flag, as a legal clearance.

# Actor input Schema

## `entities` (type: `array`):

Company names. A string, or an object with name, country (ISO2), address, and optional products. Maximum 50 per run.

## `products` (type: `array`):

Optional HS/CN codes (6 digits or more) or Annex I item numbers such as 5A002, or a short description. Applied to every company. A match is flagged possible dual-use, verify. Maximum 20.

## `maxEntities` (type: `integer`):

Stop after this many companies. Default 20. Maximum 50.

## `minScore` (type: `integer`):

Party hits below this score (0-100, minimum 50) are dropped. 100 is an exact normalised name.

## `listMaxAgeHours` (type: `integer`):

Reuse lists stored in the export-control-list-cache key-value store when they are younger than this. Default 24. Maximum 48. A cache older than 72 hours is never used.

## `refreshLists` (type: `boolean`):

Ignore a fresh cache and download the official files.

## `watch` (type: `boolean`):

Save hits in export-control-screening-state and push a row only when a hit is new, a saved hit was removed, or a source failed.

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

Separate schedules keep separate saved hits. Default is default.

## `resetState` (type: `boolean`):

Forget previous hits for this watch ID before screening.

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

Optional https URL on port 443 with a dotted public hostname. A JSON digest is posted when the run pushes a row. The URL is not written into the dataset.

## `notifyWhenEmpty` (type: `boolean`):

Also post the digest when watch mode pushes no rows.

## Actor input object example

```json
{
  "entities": [
    {
      "name": "Example Trading Ltd",
      "country": "DE"
    }
  ],
  "products": [],
  "maxEntities": 20,
  "minScore": 80,
  "listMaxAgeHours": 24,
  "refreshLists": false,
  "watch": false,
  "monitorId": "default",
  "resetState": false,
  "webhookUrl": "",
  "notifyWhenEmpty": false
}
```

# Actor output Schema

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

Dataset with one row per company

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

Counts, list sources and the in-process note

# 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 = {
    "entities": [
        {
            "name": "Example Trading Ltd",
            "country": "DE"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mikee368/export-control-screening").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 = { "entities": [{
            "name": "Example Trading Ltd",
            "country": "DE",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("mikee368/export-control-screening").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 '{
  "entities": [
    {
      "name": "Example Trading Ltd",
      "country": "DE"
    }
  ]
}' |
apify call mikee368/export-control-screening --silent --output-dataset

```

## MCP server setup

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

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/v6SrHVRcXjgPGEWn5/builds/OvxLV7nIQvMdmJ86g/openapi.json
