# Screen B2B Vendors, LEIs & OFAC Sanctions (KYB API)

**Use case:** 

Batch-screen B2B vendor names, 20-character ISO 17442 LEIs, US stock tickers, and SEC CIKs across US Treasury OFAC SDN, 13 Federal Export Watchlists, GLEIF LEI, and SEC EDGAR with SHA-256 audit reports.

## Input

```json
{
  "entityQueries": [
    "HWUPKR0MPOU8FGXBT394",
    "MSFT"
  ],
  "discoveryMode": "SANCTIONS_FEED_ALL",
  "fuzzyMatchThreshold": 88,
  "maxResults": 25,
  "includeDeepEnrichment": true,
  "alertOnChangesOnly": true
}
```

## Output

```json
{
  "recordId": {
    "label": "Record Identifier",
    "format": "string"
  },
  "entityName": {
    "label": "Legal Entity / Sanctioned Name",
    "format": "string"
  },
  "actionableStatus": {
    "label": "Actionable Status",
    "format": "string"
  },
  "sanctionsHit": {
    "label": "Sanctions / Watchlist Hit",
    "format": "boolean"
  },
  "matchedWatchlists": {
    "label": "Matched Watchlists",
    "format": "string"
  },
  "matchScorePct": {
    "label": "Watchlist Match Score %",
    "format": "number"
  },
  "leiCode": {
    "label": "GLEIF LEI (20-Char)",
    "format": "string"
  },
  "leiRegistrationStatus": {
    "label": "LEI Status",
    "format": "string"
  },
  "secCik": {
    "label": "SEC CIK",
    "format": "string"
  },
  "jurisdictionCountry": {
    "label": "Country",
    "format": "string"
  },
  "regionOrState": {
    "label": "State / Region",
    "format": "string"
  },
  "nextRenewalOrEffectiveDate": {
    "label": "LEI Renewal / Notice Date",
    "format": "string"
  },
  "complianceSummary": {
    "label": "KYB & Sanctions Summary",
    "format": "string"
  },
  "verifiedAtUtc": {
    "label": "Verified At (UTC)",
    "format": "string"
  },
  "officialSourceUrl": {
    "label": "Official Source URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The B2B Vendor KYB, LEI & OFAC Sanctions Screener Actor is ready to run with the inputs already set for "Screen B2B Vendors, LEIs & OFAC Sanctions (KYB API)". [Sign up or log in](https://console.apify.com/create-task-from-example/GSVhIfUcfnBVVRciy) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Screen B2B Vendors, LEIs & OFAC Sanctions (KYB API)" task

The B2B Vendor KYB, LEI & OFAC Sanctions Screener Actor will start running based on the input automatically. You can also change all the input fields, like vendor names, 20-char leis, tickers or sec ciks (batch kyb mode), watchlist or corporate registry feed (discovery mode), and more, to match your specific use case.

### 3. Receive the "Screen B2B Vendors, LEIs & OFAC Sanctions (KYB API)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record identifier, legal entity / sanctioned name, actionable status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Screen B2B Vendors, LEIs & OFAC Sanctions (KYB API)" task via API](https://apify.com/nathel-enterprise/b2b-vendor-kyb-sanctions-screener.md).

## FAQ

### What vendor identifiers can I batch-screen in one run?

Pass legal company names, 20-character ISO 17442 LEIs (like HWUPKR0MPOU8FGXBT394), US stock tickers, or 10-digit SEC CIKs up to 500 per run.

### Which federal sanctions and export watchlists are checked?

Every entity is screened against US Treasury OFAC SDN plus all 13 Federal Consolidated Screening Lists including BIS Entity List and AECA Debarred.

### Are malformed inputs or bad LEI check digits billed?

No. Offline ISO 17442 mod-97 checksum validation catches corrupted 20-character LEIs in under 1ms and logs them in COMPLIANCE_CERTIFICATE at $0.00.

### What does Deep Ownership & Watchlist Enrichment include?

Enabling includeDeepEnrichment appends GLEIF Direct and Ultimate Parent corporate trees, SWIFT/BIC codes, SEC SIC profiles, and watchlist remarks.

### How fast do warm KYB screening runs execute?

A 6-hour named reference cache indexes 28,000+ watchlist records in memory so warm verification runs typically finish in about 2 seconds.

### Does each run generate an auditor-ready KYB certificate?

Yes. Every execution outputs both a printable HTML compliance report and a deterministic SHA-256 JSON batch certificate.

## About this Actor

This example demonstrates how to use [B2B Vendor KYB, LEI & OFAC Sanctions Screener](https://apify.com/nathel-enterprise/b2b-vendor-kyb-sanctions-screener.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nathel-enterprise/b2b-vendor-kyb-sanctions-screener.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/nathel-enterprise/b2b-vendor-kyb-sanctions-screener.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`).
