REST over HTTPS. JSON in, JSON out. Every screening call is persisted as an
auditable record you can replay. Base URL: https://sanctionslist.xyz.
Authenticate with X-API-Key: <your key> on every
/v1/ call.
list_versions you
screened against.# Screen one name (dob_year, country, id, lists, min_score optional) curl -s https://sanctionslist.xyz/v1/screen \ -H "X-API-Key: $SL_KEY" \ -H "Content-Type: application/json" \ -d '{"name": "Sergei Ivanov", "dob_year": 1970, "country": "RU"}'
{
"labeling": "Public-domain / open-licence government data (OFAC, UK OGL, EU, UN)",
"disclaimer": "Information service, not legal advice. ...",
"screened_at": "2026-10-13T20:41:07+00:00",
"index_reloaded": false,
"threshold": 0.82,
"list_versions": {"ofac_sdn": "9108bffe9cb602ac", "...": "..."},
"matches": [
{"entity_id": "ofac_sdn:1234", "name": "SERGEI IVANOV",
"score": 0.94, "list": "ofac_sdn", "reasons": ["name"]}
],
"n_allowlisted": 0
}
Request fields: name (required) · dob_year ·
country (ISO-2 or ISO-3) · id (passport/national ID) ·
lists (array subset of ofac_sdn, uk_list, eu_fsd, un_consol) ·
min_score (0–1, default 0.82). Fuzzy matching handles aliases,
transliterations and whitespace variants; each match carries a
score and per-field reasons.
Quota: every key has a daily cap. Each response carries
X-Quota-Remaining. Login/session endpoints on the operator UI do
not consume quota.
| Endpoint | Purpose |
|---|---|
| POST /v1/screen | Screen a name against the lists. Returns matches with scores, reasons and list versions. Persisted as an audit record. |
| GET /v1/audit/{audit_id} | Replay a screening request + response verbatim — what you saw is what you can prove. |
| GET /healthz | Liveness + index size + list versions. Unauthenticated. |
| GET /status | Public status page: chain verification, source freshness, last backup. |
| POST /v1/cases | Open a case: {"title", "audit_ids": [...]} → links screenings into the case. |
| GET /v1/cases[?state=] | List cases; filter by new|reviewing|dispositioned. |
| GET /v1/cases/{id} | Case detail incl. linked screens and disposition trail. |
| POST /v1/cases/{id}/items | Attach another audit: {"audit_id"}. |
| POST /v1/cases/{id}/state | Move case: {"state": "reviewing"}. |
| POST /v1/cases/{id}/disposition | Close an item: {"audit_id", "disposition": "true_match|false_positive|no_action", "rationale"} (rationale required — examiners ask). |
| GET /v1/cases/{id}/evidence | Evidence pack (JSON): subject, screens with content checksums, list versions, disposition trail, audit-chain head + verification. Append .html for a printable pack. |
| GET /v1/evidence/{audit_id} | Standalone evidence pack for a single screen. |
| GET/POST /v1/allowlist | False-positive allowlist. POST: {"name", "rationale", "expires_at"? ISO date}. Allowlisted matches are flagged, never hidden. |
| GET/POST /v1/books | Saved subject books. POST: {"name"}. |
| POST /v1/books/{id}/subjects | Add subject: {"name", "dob_year"?, "country"?, "external_id"?}. |
| POST /v1/books/{id}/rescreen | Re-screen all subjects against current lists; diffs vs previous run → new/resolved matches per subject. |
| GET /v1/books/{id}/digest | "Overnight" summary: list updates, rescreen results, new potential matches. |
| Status | Body | Meaning |
|---|---|---|
| 400 | name_required, bad_json, bad_min_score, bad_lists, title_required, bad_disposition, … | Validation — the body names the problem. |
| 401 | missing_key / invalid_key | No X-API-Key, key inactive, or daily quota exhausted (then X-Quota-Remaining: 0). |
| 404 | not_found | Unknown route or ID. Other-tenant records are also 404. |
| 413 | payload_too_large | Body > 64 KiB. Use bulk CSV in the operator UI for large batches. |
Rate posture: no fixed rate limit in alpha — your daily quota is the limit. Sustained p95 latency under concurrent load (8 clients) is < 0.5 s end-to-end. The audit chain self-verifies daily and on every status page load.
Screened names, query parameters and responses are stored to produce your audit trail and are attributable to your key. Keys are stored hashed; we cannot recover a lost key, only revoke it. List data is derived from public government sources — attributions and licences are on the provenance page.