Screen a name against global sanctions and watchlists.
FREE TIER: 3 screens per day without an API key.
PAID: Unlimited screens with an API key.
Checks the name against US SDN (OFAC), EU, UK, Canada, Switzerland,
Australia, and New Zealand sanctions lists. Returns matching
entities with similarity scores.
For a company or an individual the screen covers every list, including
adverse media, PEP and debarment registers. For a BANK or other financial
institution it returns sanctions DESIGNATIONS only: a warning-list entry
naming a bank is usually a clone-firm alert about fraudsters impersonating
it, and the feed carries nothing that tells the two apart.
Args:
name: The person or entity name to screen.
api_key: Your Ohmyfin API key (prod-...). Can also be passed
via KEY header or Authorization: Bearer header.
Optional — free tier allows 3 screens/day without a key.
threshold: Minimum match score 0-100 (default 85).
subject_type: What is being screened: "bank" for a financial
institution, "party" for a company or individual, or "auto"
(default). A name the bank directory resolves is treated as a
financial institution whatever you pass here.
Examples:
sanctions_screen("Acme Trading Ltd")
sanctions_screen("John Smith", threshold=90)
sanctions_screen("First Abu Dhabi Bank", subject_type="bank")
sanctions_screen("Acme Trading Ltd", api_key="prod-abc123...")