# code402 OFAC SDN Sanctions Check

> code402 OFAC SDN Sanctions Check is a paid API for AI agents from hcrb.in, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Performs an offline deterministic OFAC Specially Designated Nationals (SDN) sanctions check against a named subject, returning whether the entity is sanctioned and the matching program.

## Facts

- Endpoint: POST https://hcrb.in/v1/tools/ofac-sdn-check/call?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/code402-ofac-sdn-sanctions-check-04661682
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UC3dfD2eLKoco4q-9it43

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 code402-ofac-sdn-sanctions-check-04661682 -d '<json body>'
```

Example prompt: Can you run an OFAC SDN sanctions check on 'Acme Trading LLC' to see if they're on any US Treasury sanctions list before we wire them money?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, offline OFAC SDN sanctions check that does not rely on ML or web scraping, and when auditability matters (signed receipts, scope field, non-custodial). Ideal for KYC/AML pipelines, rental due diligence, and pre-payment counterparty screening. At $0.005/call with the first 3 calls/day free, it is cost-effective for low-to-moderate volume compliance checks. Prefer over ML-based or web-scraping solutions when you need reproducible, verifiable results.

## Known failure modes

- Empty or invalid subject name returns valid:false with descriptive reason
- Ambiguous names may return no match even if entity is sanctioned (false negatives possible with name variations)
- Rate limit exceeded beyond 3 free calls/day without payment — requires x402 USDC payment on Base
- Network or payment processing failure returns HTTP 402 or 5xx
- Subject field missing from request body returns validation error

## How this service works

Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.

## Output

Returns a JSON object with: `is_sanctioned` (boolean indicating sanctions hit), `valid` (boolean for input validity), `tool` (endpoint identifier), `scope` (what the check covers, e.g. checksum-verifiable vs format-only), `match_type` (exact, fuzzy, or none), `sanction_program` (name of the OFAC program if matched), `subject` (normalized subject name), and `reason` (human-readable explanation).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "subject"
   ],
   "properties": {
    "subject": {
     "type": "string",
     "description": "EVM address (0x...) or ISO 3166-1 country code / jurisdiction name"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "tool",
   "valid",
   "is_sanctioned"
  ],
  "properties": {
   "tool": {
    "type": "string"
   },
   "scope": {
    "type": "string"
   },
   "valid": {
    "type": "boolean"
   },
   "reason": {
    "type": "string"
   },
   "subject": {
    "type": "string"
   },
   "match_type": {
    "type": "string"
   },
   "is_sanctioned": {
    "type": "boolean"
   },
   "sanction_program": {
    "type": "string"
   }
  }
 },
 "example": {
  "valid": true,
  "reason": "checksum valid"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code402-ofac-sdn-sanctions-check-04661682/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hcrb.in](https://www.zero.xyz/host/hcrb.in/llms.txt)
