By ·
How to Screen a Crypto Wallet Before Your Agent Pays
This guide walks through the exact steps to ensure OFAC compliance for your AI agents and applications. Every step uses real OFAC data and produces an audit-ready screening trail.
- Step 1. Extract the destination wallet address from the transaction payload.
- Step 2. Call GET /sanctions?wallet=0x... against the OFAC SDN list.
- Step 3. Check the response: match=true means the wallet is sanctioned.
- Step 4. If clean, proceed with payment and log the screening receipt.
- Step 5. If matched, block the transaction immediately and flag for review.
Example: screen a wallet
curl "https://sanctionsai.dev/sanctions?wallet=0x098B716B8Aaf21512996dC57EB0615e2383E2f96"
Free tier: 5 checks/day, no API key. Real OFAC data, refreshed daily.
Frequently asked questions
How long does a sanctions screen take?
Under 100ms per check. The sanctionsai.dev API runs on real OFAC data and returns instant results.
Do I need an API key?
No. The free tier allows 5 checks per day by IP address with no signup or API key.
What happens if I miss a sanctioned party?
OFAC operates under strict liability. You are liable even if you did not know the party was sanctioned. Penalties start at $356,571 per violation.