C

CompliAPI · Screen Country

by CompliAPI

GETBase

$0.01

per call · USD Coin on Base

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.

Endpoint

GET https://api.compliapi.com/api/v1/screen/country/:country

4

Calls / 30d

2

Unique payers / 30d

Aug 28

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.compliapi.com/api/v1/screen/country/:country", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.compliapi.com/api/v1/screen/country/:country?lists=ofac%2Cofac_consolidated" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "flagged": false,
  "lists_checked": [
    "ofac",
    "ofac_consolidated",
    "eu_fsf",
    "uk_fcdo_sanctions"
  ],
  "matches": [],
  "sanctioned": false,
  "value": "CH"
}

Payment details

Pay to0x7c221925dd7494da6f5e2254043dc8d61273309c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from CompliAPI & similar services