How to Integrate a Sanctions Screening API
How to Integrate a Sanctions Screening API
Integrating a sanctions screening API into your payment pipeline is straightforward — and the fastest way to close the compliance gap for AI agents and automated payments. This guide covers REST, MCP, Python, and CLI integration patterns.
Step 1: Choose your integration mode
- REST API: Simple GET request — screen any wallet, name, or country. Works with any language. Start with the free tier (5 checks/day, no key).
- MCP server: For AI agents — call sanctions_check as a tool from any MCP-compatible framework.
- CLI: For scripts and CI/CD pipelines — agentmail check --wallet 0x...
Step 2: Wire into your payment path
Add the screening call immediately before payment authorization. If the result is clean, proceed. If not, block and alert. This is a single function call — do not over-engineer it.
Step 3: Test with known sanctioned wallets
Use Tornado Cash addresses to confirm blocking works. If your screening returns clean for a known sanctioned wallet, your integration has a bug.