Screen an email address against sanctions lists
Updated
The GET /screen/email/{email} endpoint checks an email address against every enabled sanctions and crime list in one request. Matching is exact and case-insensitive, so Test@Example.com and test@example.com are treated as the same value. This endpoint is useful for screening users at signup or during periodic reviews of your customer base.
How to screen an email
- Obtain your API token from the Tokens page.
- Send a GET request with the email address in the path:
GET https://api.compliapi.com/api/v1/screen/email/{email}
- Include your token as a bearer header:
Authorization: Bearer capi_...
- Check
sanctionedin the response —truemeans a government sanctions list matched.flagged: truemeans any list matched. - If
matchesis empty and both flags arefalse, the email is clean across all checked lists.
Example clean response
When no list matches, the response looks like this:
{ "value": "example@protonmail.com", "flagged": false, "sanctioned": false, "lists_checked": ["ofac"], "matches": []}
lists_checked confirms which lists were evaluated for that request.
Filtering by list
You can limit screening to specific lists with the optional ?lists= query parameter:
GET /api/v1/screen/email/user@example.com?lists=ofac,eu_fsf
Pass a comma-separated set of slugs from GET /screen/lists. An unknown slug returns a 400 error. Each metered request costs one credit regardless of how many lists are checked or how many matches are returned.