If you are building B2B onboarding, fintech underwriting, ERP supplier intake, or autonomous AI compliance agents, you hit the same wall quickly:

  • Ask an LLM directly ("Is this counterparty active and clear of OFAC sanctions?") and it hallucinates 20-character LEI codes or cites stale sanctions lists from its training cutoff.
  • Run a sanctions-only API and a fake shell company (Northstar Phantom Shell 99999 LLC) comes back CLEAR because it isn't on a terrorist watchlist.
  • Run a corporate-registry-only API and a heavily sanctioned bank (VTB Bank) comes back ACTIVE and ISSUED through November 2027.
  • Buy legacy enterprise KYB/AML suites and you face $99–$119+/month subscriptions, demo-gated contracts, or €0.10/query prepaid bundles before your agent has even screened its first 100 vendors.

To solve both halves in one deterministic API / MCP call, we built Global Counterparty KYB, GLEIF LEI & OFAC Sanctions Screener — unifying the official GLEIF Legal Entity Identifier (LEI) Registry (2.7M+ verified entities across 200+ countries) with fresh US Treasury OFAC SDN & Alias (AKA) feeds downloaded live from treasury.gov on every run.

Below is our live 10-entity benchmark (run today, December 2, 2026), an honest breakdown of a real-world sanctions edge case we caught and patched during testing, and a transparent head-to-head comparison against competing Apify Actors, OpenSanctions, ComplyAdvantage, and DIY open-source scripts.

Live 10-Entity Benchmark (Real Run, Dec 2, 2026)

We ran 10 diverse counterparties — US/EU/India multinationals, a raw 20-character LEI code, a recently delisted crypto protocol, active US Treasury OFAC SDN targets, sanctioned banks with live GLEIF records, and a fictional shell company — in a single 256 MB batch run:

  • Screening throughput: 4.77 seconds across all 10 entities once the live treasury.gov SDN + AKA index loaded in memory (~7.5s warm end-to-end run; 121.9 MB peak RAM).
  • Total run cost: $0.06 on Apify's Free plan ($0.006/entity) — dropping to $0.042 ($0.0042/entity) on Apify Gold+ (-30% Store discount). Errors and blank inputs are $0 (uncharged).
# Input Query Resolved GLEIF Legal Name & LEI Entity / LEI Status Live US Treasury OFAC Result KYB Score Deterministic Verdict
1 Apple Inc. Apple Inc. (HWUPKR0MPOU8FGXBT394, US-CA, BIC APLEUS66XXX) ACTIVE · ISSUED (96d runway) CLEAR (0 hits) 100 APPROVE
2 5493001KJTIIGC8Y1R12 Bloomberg Finance L.P. (US-DE, direct 20-char LEI lookup) ACTIVE · ISSUED (54d runway) CLEAR (0 hits) 100 APPROVE
3 Siemens Aktiengesellschaft Siemens Aktiengesellschaft (W38RGI023J3WT1HWRP32, DE, HRB 6684, BIC SIEMDEMMXXX) ACTIVE · ISSUED (327d runway) CLEAR (0 hits) 100 APPROVE
4 Tata Consultancy Services Limited Tata Consultancy Services Limited (254900C9EP3HFDT6EN57, HQ Mumbai IN-MH) ACTIVE · ISSUED (74d runway) CLEAR (0 hits) 100 APPROVE
5 Tornado Cash No corporate LEI NOT_FOUND CLEAR (reflects Mar 21, 2025 OFAC delisting!) 45 REVIEW
6 Lazarus Group No corporate LEI NOT_FOUND HIGH_MATCH (100%, entNum: 27307, DPRK3) 0 BLOCK
7 Sberbank SBERBANK CIB (UK) LIMITED (549300BKWHXYEXPV0328, GB) ACTIVE · LAPSED (-1,532d overdue) HIGH_MATCH (3 hits: PJSC SBERBANK 100%, JSC SBERBANK 100%, SBERBANK CIB HOLDING LLC 93% — RUSSIA-EO14024) 0 BLOCK
8 Gazprombank GAZPROMBANK LATIN AMERICA VENTURES B.V. (549300BV4X39ITLG4R60, NL) ACTIVE · LAPSED (-1,415d overdue) HIGH_MATCH (100%, entNum: 17016, GAZPROMBANK JOINT STOCK COMPANY, RUSSIA-EO14024) 0 BLOCK
9 VTB Bank VTB BANK (PUBLIC JOINT-STOCK COMPANY) (335800LW6BBDNFASPG17, BIC VTBRINDDXXX) ACTIVE · ISSUED until Nov 2027! HIGH_MATCH (100%, entNum: 17013, JSC VTB BANK, UKRAINE-EO13662, IRAN-EO13902, RUSSIA-EO14024) 20 BLOCK
10 Northstar Phantom Shell 99999 LLC No corporate LEI NOT_FOUND CLEAR (0 hits) 45 REVIEW

3 Real-World Compliance Traps Exposed by This Benchmark

1. The "VTB Bank Trap": Why Registry-Only KYB Fails

Look at Row #9 (VTB Bank). If you query GLEIF alone, VTB Bank resolves to LEI 335800LW6BBDNFASPG17 with:

  • entityStatus: "ACTIVE"
  • registrationStatus: "ISSUED"
  • corroborationLevel: "FULLY_CORROBORATED"
  • nextRenewalDate: "2027-11-30" (363 days of valid renewal runway!)

A corporate-registry-only tool passes it with flying colors. Only unifying live GLEIF resolution with live OFAC SDN + AKA screening catches entNum: 17013 (JSC VTB BANK, sanctioned under UKRAINE-EO13662, IRAN-EO13902, and RUSSIA-EO14024) and overrides the decision to BLOCK.

2. The "Tornado Cash Trap": Why LLM Knowledge Cutoffs Fail

Ask an older LLM prompt about Tornado Cash and it confidently flags OFAC SDN BLOCK. In reality, following the Fifth Circuit ruling in Van Loon v. Department of the Treasury, OFAC formally removed Tornado Cash from the SDN list on March 21, 2025 (while maintaining separate sanctions on individual developers). Because our Actor fetches fresh SDN.CSV and ALT.CSV directly from treasury.gov on every run, it reflects real-time regulatory truth (OFAC_CLEAR) while still routing Tornado Cash to REVIEW (NO_GLEIF_LEI_FOUND).

3. The "International Legal Suffix Trap": A Bug We Caught & Patched Today (v0.1.4)

When we ran our first dry benchmark before writing this article, a naive English-only suffix stripper (Inc., LLC, Ltd., GmbH) missed Gazprombank because US Treasury lists it as GAZPROMBANK JOINT STOCK COMPANY ("joint" and "stock" weren't stripped, diluting the single-token Jaccard overlap!).

We immediately expanded LEGAL_SUFFIXES in v0.1.4 to normalize international corporate designators (Joint Stock, JSC, PJSC, OJSC, OAO, PAO, ZAO, AO, Aktiengesellschaft, S.p.A., S.r.l., S.A.S., KGaA, Oyj, Ltda, Bhd) and tightened auto-APPROVE so LEI_LAPSED entities can never silently auto-approve. On re-run:

  • Gazprombank jumped straight to 100% HIGH_MATCH (BLOCK)
  • Sberbank expanded from 1 match to 3 verified SDN/AKA matches (100%, 100%, 93%) — screening both the submitted query and the resolved GLEIF legal name + otherNames (TROIKA DIALOG (UK) LIMITED).

Head-to-Head Comparison: Apify Actors vs. Commercial APIs vs. DIY Open Source

We audited both the Apify Store and public commercial compliance APIs to see what developers actually pay and what they still have to wire up themselves:

Solution Pricing Model & Real Cost Global 200-Country GLEIF LEI? Live US Treasury OFAC SDN + AKA? Dual-Pass Screening (Query + Resolved Legal Name)? Deterministic APPROVE / REVIEW / BLOCK? Turnkey MCP + n8n Ready?
Jacobian Flux KYB & OFAC Screener (this Actor) $0.006/entity ($0.0042 on Gold -30%) · ~830 free/mo on $5 Apify free tier · Errors $0 ✅ Yes (LEI, BIC, HQ, LOU, renewal runway) ✅ Live treasury.gov SDN.CSV + ALT.CSV ✅ Yes (query + legalName + otherNames) ✅ Yes (0–100 score + explicit flags) ✅ Native Apify MCP + n8n
Competing OFAC-Only Apify Actors (various community Actors) $0.002–$0.10/entity (some charge $0.01/entity for OFAC alone) ❌ No (explicitly "SDN-only, not identity verification") ✅ Yes ❌ Raw input string only ⚠️ Sanctions hit tier only (no KYB score) ⚠️ Requires chaining 2nd registry Actor + extra API key
OpenSanctions API Prepaid bundles: €0.10/query (€50 pack) down to €0.03/query (€15,000 pack) — ~18× higher at starter volume ⚠️ Partial entity graph (no live GLEIF renewal/LOU check) ✅ Multi-list (OFAC/EU/UN/PEPs) ❌ Raw input query ❌ Match score only ⚠️ Custom HTTP wiring
ComplyAdvantage $99–$119+/month subscription (baseline ~100 monitored profiles ≈ $1.00/entity) — ~165× higher for startups ⚠️ Enterprise add-ons ✅ Multi-list + adverse media ✅ Case platform ✅ Enterprise suite ⚠️ Enterprise REST setup
Castellum.AI Custom enterprise quote (demo-gated) ⚠️ Enterprise add-ons ✅ Multi-list ✅ Enterprise ✅ Enterprise ⚠️ Enterprise REST setup
DIY Open Source (requests + raw CSV + GLEIF REST) $0 raw feeds, high engineering maintenance ✅ Build yourself ✅ Build & parse yourself ❌ Must build suffix & alias matching yourself ❌ Must design & maintain rules ❌ Must host & wrap MCP yourself

Honest scope note: If you are a Tier-1 bank needing EU/UN/UK PEP lists, adverse media monitoring, and SOC-2 case management, use ComplyAdvantage, Castellum.AI, or OpenSanctions. If you are building fintech onboarding, B2B SaaS vendor checks, ERP guardrails, n8n workflows, or AI compliance agents and want verified legal-entity existence + live US Treasury OFAC SDN/AKA in one $0.006 call with zero monthly subscription, this Actor eliminates 2 separate APIs and hundreds of lines of brittle parsing code.

Try It in 1 Click (Pre-Configured Example Tasks)

Apify's $5 monthly Free plan credit covers ~830 counterparty screenings (and Free plan users can test up to 10 entities per run immediately):

Drop-In Code: MCP, Python & n8n

1. Connect to Claude Desktop, Cursor, or Windsurf via Official Apify MCP

Give any AI agent deterministic KYB + OFAC verification in 6 lines of JSON:

{ "mcpServers": { "apify": { "url": "https://mcp.apify.com?actors=jacobianflux/global-counterparty-kyb-lei-screener", "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" } } } } 

2. Python (apify-client)

from apify_client import ApifyClient client = ApifyClient("YOUR_APIFY_TOKEN") run = client.actor("jacobianflux/global-counterparty-kyb-lei-screener").call( run_input={ "queries": [ "Apple Inc.", "5493001KJTIIGC8Y1R12", "Siemens Aktiengesellschaft", "VTB Bank", "Northstar Phantom Shell 99999 LLC", ], "includeOfacScreening": True, "maxResults": 20, } ) for row in client.dataset(run["defaultDatasetId"]).iterate_items(): print( f"[{row['complianceDecision']:7}] {row['query']:34} | " f"LEI={str(row['lei'] or 'NONE'):20} | " f"OFAC={row['sanctionsRisk']:10} | Score={row['kybScore']}" ) 

3. Autonomous n8n Vendor Onboarding Gate

We also wired this Actor directly into an autonomous 5-tool B2B Compliance & Vendor Due-Diligence AI Agent in n8n (combining KYB/OFAC screening with EAA website compliance, PDF invoice math reconciliation, US contractor licenses, and B2B security headers — routing APPROVE, REVIEW, and BLOCK verdicts into an n8n Data Table audit trail).

Full Compliance Stack by Jacobian Flux Labs

Need to extend vendor due diligence beyond KYB & OFAC? Every Actor below follows the same deterministic, zero-charge-on-error, MCP-ready schema:

What sanctions lists or national corporate registries (EU consolidated sanctions, UK OFSI, UN, Companies House) would you want added next? Drop a comment below!