Check whether a country or region carries sanctions designations, such as comprehensive OF
Check whether a country or region carries sanctions designations, such as comprehensive OFAC embargoes. Call to gate signups, shipments or transactions by country. Accepts a country name or ISO code; returns the designating lists with source URLs.
10000 (raw units)
price
5
calls / 30d
3
unique payers
2026-09-17
updated
Provider
api.compliapi.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x7c221925dd7494dA6F5E2254043DC8D61273309c",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"country": ":country"
},
"queryParams": {
"lists": "ofac,ofac_consolidated"
},
"type": "http"
},
"output": {
"example": {
"flagged": false,
"lists_checked": [
"ofac",
"ofac_consolidated",
"eu_fsf",
"uk_fcdo_sanctions"
],
"matches": [],
"sanctioned": false,
"value": "CH"
},
"type": "json"
}
},
"routeTemplate": "/api/v1/screen/country/:country",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"country": {
"description": "Country name or ISO code",
"type": "string"
}
},
"required": [
"country"
],
"type": "object"
},
"queryParams": {
"properties": {
"lists": {
"description": "Optional comma-separated list slugs to screen against (e.g. ofac,ofac_consolidated); defaults to all enabled lists. GET /api/v1/screen/lists enumerates them.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.compliapi.com/api/v1/screen/country/:country" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.compliapi.com/api/v1/screen/country/:country");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.compliapi.com/api/v1/screen/country/:country")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3384.json, and this resource appears in /discovery/resources and /discovery/search.