# Onchain Sanctions Exposure Analyzer

> Onchain Sanctions Exposure Analyzer is a paid API for AI agents from forensik.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-30).

Scores caller-supplied onchain metrics against sanctions-exposure thresholds and returns a risk classification with confidence rating and explicit missing-signal inventory.

## Facts

- Endpoint: POST https://forensik.halowerk.com/v1/onchain-sanctions-exposure?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onchain-sanctions-exposure-analyzer-001eddef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MKIJqnA-g6j1cpRNWtUes

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 onchain-sanctions-exposure-analyzer-001eddef -d '<json body>'
```

Example prompt: Assess sanctions exposure for Ethereum address 0xAbC123... — I have direct exposure at 3.2%, 2 indirect hops, and 8.5% unresolved counterparties observed yesterday from my Chainalysis query. Give me the risk classification and confidence score.

## When to prefer this

Choose this endpoint when you have already gathered raw blockchain metrics (direct exposure %, hop counts, unresolved counterparty %) from your own chain queries or analytics tools and need a structured, threshold-driven sanctions risk classification with explicit confidence scoring. It is not a live chain scanner — prefer it when you want reproducible, evidence-logged compliance verdicts rather than a fresh RPC lookup. Ideal for compliance pipelines, audit trails, and situations where the caller controls the evidence provenance.

## Known failure modes

- Missing required evidence array returns a validation error
- strict:true with any missing metric causes rejection rather than a low-confidence result
- Malformed metric values or unknown metric enum values fail schema validation
- Subject string exceeding 256 characters is rejected
- Supplying more than 50 evidence items triggers a maxItems violation
- Stale or malformed ISO-8601 timestamps may cause the newest-observation logic to behave unexpectedly

## How this service works

Onchain Sanctions Exposure analyses only the evidence supplied by the caller. It does not claim to query a chain, identify a legal status or replace an independent audit. Missing signals lower confidence and are listed explicitly; every classification includes the exact thresholds used.

## Output

A JSON object containing: a risk_score (numeric), a classification label (e.g. 'low', 'medium', 'high'), a confidence percentage, a recommendation summary, the thresholds used for each metric, a list of any missing signals that reduced confidence, the subject echoed back, and a generated_at timestamp. The scope field confirms results are based solely on caller-supplied evidence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "strict": {
   "type": "boolean",
   "default": false,
   "description": "Reject unless all documented metrics are supplied."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret labels returned unchanged for correlation.",
   "maxProperties": 20,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "subject": {
   "type": "string",
   "maxLength": 256,
   "minLength": 1,
   "description": "Address, transaction, protocol, asset, proposal or other subject being assessed."
  },
  "evidence": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "metric",
     "value"
    ],
    "properties": {
     "note": {
      "type": "string",
      "maxLength": 500
     },
     "value": {
      "type": [
       "number",
       "boolean"
      ]
     },
     "metric": {
      "enum": [
       "direct_exposure_pct",
       "indirect_hops",
       "unresolved_counterparties_pct"
      ],
      "type": "string"
     },
     "source": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1,
      "description": "Evidence source or query identifier."
     },
     "timestamp": {
      "type": "string",
      "maxLength": 40,
      "minLength": 10,
      "description": "ISO-8601 observation time."
     }
    },
    "additionalProperties": false
   },
   "maxItems": 50,
   "minItems": 1,
   "description": "Caller-supplied observations. Repeated metrics form a time series; the newest timestamp is assessed."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "scope": "caller_supplied_evidence_only",
  "engine": "exposure",
  "service": "Onchain Sanctions Exposure",
  "subject": "onchain-sanctions-exposure-sample",
  "confidence": 100,
  "risk_score": 16.95,
  "generated_at": "2026-10-23T00:07:35.617Z",
  "classification": "low",
  "recommendation": "No supplied metric crossed a warning thr",
  "service_number": 91
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-sanctions-exposure-analyzer-001eddef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from forensik.halowerk.com](https://www.zero.xyz/host/forensik.halowerk.com/llms.txt)
