Screen your entire customer database against the OFAC SDN list.
import csv, requests, time
API = "https://sanctionsai.dev/sanctions"
with open("customers.csv") as f, open("results.csv", "w") as out:
reader = csv.DictReader(f)
writer = csv.writer(out)
writer.writerow(["customer_id", "name", "blocked", "matches"])
for row in reader:
resp = requests.get(API, params={"name": row["name"]}, timeout=5)
data = resp.json()
writer.writerow([
row["customer_id"], row["name"],
data["blocked"], str(data["matches"])[:200]
])
time.sleep(0.1) # Rate limit
Check any wallet, name, or entity against OFAC, EU, UN sanctions lists in real time.
Free wallet checker