2026-06-20 ยท agentmail
Step-by-step guide: screen any EVM, Bitcoin, Solana, or Tron wallet against the OFAC sanctions list before your agent signs a transaction.
When your AI agent is about to send USDC, ETH, or any crypto to a counterparty wallet, the single most important check is whether that wallet is on the OFAC sanctions list. Here is how to do it.
agentmail supports three integration modes: HTTP API (curl/HTTPS), MCP tool (for agent frameworks that support MCP), and CLI (pip install sanctions-mcp). All three check the same data. The HTTP API is simplest for a single call.
A 1-page compliance audit for your payment agent. Check your setup against the 7-point framework. Enter your email โ we send it instantly.
Wire the check into your agents payment pipeline. The pattern is always: screen first, pay only if clean.
# Before your agent signs:
import requests
result = requests.get(
"https://sanctionsai.dev/sanctions",
params={"wallet": "0x..."}
).json()
if not result.get("clean", True):
raise Exception("Wallet is OFAC-sanctioned")
# Safe to proceedThe API returns a clean boolean and a matches array if flagged. If clean is true, proceed. If clean is false, halt the transaction and log the match details. The matches array contains the SDN name, list, and match type for your audit trail.
OFAC expects to see documented screening. Save the timestamp, wallet address, API response, and which agent initiated the check. agentmail handles this automatically on the paid tier with the dashboard audit log.
Do not screen once and cache. The SDN list changes daily. A wallet clean today may be sanctioned tomorrow. Screen before every payment.
Free tier: 5 checks/day, no API key. Try the interactive wallet checker to see how it works.
Free tier, 5 checks/day. Add compliance before money moves.
Try the free checker See pricing