# CompliAPI Country Sanctions Screening

> CompliAPI Country Sanctions Screening is a paid API for AI agents from api.compliapi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Checks whether a given country is sanctioned by screening it against OFAC, EU, UK, and other international sanctions lists.

## Facts

- Endpoint: GET https://api.compliapi.com/api/v1/screen/country/%7Bcountry%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compliapi-country-sanctions-screening-6aa6d04c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fh4O-9JzFcdB_b4U53fAA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability compliapi-country-sanctions-screening-6aa6d04c
```

Example prompt: Can you check if Iran is sanctioned and tell me which lists flag it — run it against OFAC, the EU FSF, and UK FCDO sanctions lists?

## When to prefer this

Use this endpoint when you need a fast, per-country sanctions check against multiple authoritative lists (OFAC, EU FSF, UK FCDO) in a single call. Prefer this over manual list lookups or broader name-screening endpoints when the subject of inquiry is specifically a country or jurisdiction rather than an individual or entity. It is ideal for automated compliance gates in payment flows, onboarding pipelines, and export workflows where country-level risk must be resolved in real time.

## Known failure modes

- Unknown or misspelled country name returns an error or empty result
- Invalid ISO code results in a 400 bad request
- Requesting a specific list slug that does not exist or is not enabled returns an error
- Network timeouts may occur if upstream sanctions list data sources are temporarily unavailable
- Authentication or payment failures (402) if x402 payment is not properly attached

## How this service works

Easy OFAC sanction list lookups, geo-fencing checks and VPN detection, streamlining compliance obligations around the world.

## Output

Returns a JSON object with the country's ISO code, a boolean 'sanctioned' flag, a boolean 'flagged' flag, a list of any matched sanctions entries, and an array of all sanctions lists that were checked (e.g. ofac, ofac_consolidated, eu_fsf, uk_fcdo_sanctions).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "country": {
       "type": "string",
       "description": "Country name or ISO code"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lists": {
       "type": "string",
       "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."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compliapi-country-sanctions-screening-6aa6d04c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.compliapi.com](https://www.zero.xyz/host/api.compliapi.com/llms.txt)
