# CompliAPI — Government ID Sanctions Screening

> CompliAPI — Government ID 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-11).

Screen a government-issued ID number against OFAC SDN and other global sanctions lists to check if it is flagged or sanctioned

## Facts

- Endpoint: GET https://api.compliapi.com/api/v1/screen/id/%7Bgovernment_id%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compliapi-government-id-sanctions-screening-b2793dba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g7fSw9tWsUNo-PLX-3-mg

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-government-id-sanctions-screening-b2793dba
```

Example prompt: Can you screen government ID number X1234567 against all OFAC and EU sanctions lists to check if it's flagged or sanctioned?

## When to prefer this

Choose this endpoint when you need to screen a specific government-issued identifier (passport, national ID, tax ID) against OFAC and other major international sanctions lists in real time. It is ideal for KYC/AML compliance workflows, vendor due diligence, or any onboarding flow requiring sanctions screening of individuals by their ID number. Prefer this over a name-based screen when you have the actual ID number for a more precise match.

## Known failure modes

- Invalid or missing government_id path parameter returns an error response
- Unsupported list slug in 'lists' query parameter may return an error or be ignored
- Rate limiting or payment failure (x402) if quota is exceeded or payment is not processed
- Network timeout if the upstream sanctions database is temporarily unavailable
- Empty matches array with flagged:false does not necessarily confirm identity — only that the ID was not found on checked lists

## How this service works

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

## Output

A JSON object containing the screened ID value, a boolean 'sanctioned' flag, a boolean 'flagged' field, an array of any matching sanctions records, and the list of 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": [
      "government_id"
     ],
     "properties": {
      "government_id": {
       "type": "string",
       "description": "Government-issued ID number to screen"
      }
     }
    },
    "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": "X1234567",
  "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-government-id-sanctions-screening-b2793dba/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)
