Screen API quickstart
Nexiel Screen runs sanctions, PEP and AML screening as one API call (POST /v1/screen) at https://compliance.nexiel.io. Every request needs an access token from a test or live key, sent as a bearer token (see Authentication).
Start with a test key
A test key (client id nx-test-...) screens against Nexiel's synthetic sandbox list only, is never billed, and sends its decisions to your sandbox webhook endpoints. Get one from the test keys page with no account and no review, or from your dashboard's API Keys page in test mode. A live key (nx-live-...) needs approved business verification (KYB) and screens the live sanctions and PEP lists. Asking a live key for "mode": "sandbox" is refused with 400 live_key_sandbox_mode, so use a test key for that. A key never reads a decision made in the other mode. See test mode and live mode.
The examples below assume an access token in $NEXIEL_ACCESS_TOKEN. Exchange your Screen key for one as shown in Authentication.
A request and response round trip
Health check
GET /health is public and needs no token. It is also reachable as /v1/screen/health and /screen-docs/health, alongside /screen-docs/openapi.json and /screen-docs/docs. For the status of every service, see nexiel.eu/status.
curl -s https://compliance.nexiel.io/health{"status":"ok","mode":"production"}The responses below are example test-mode responses. They show the shape of each classification against a synthetic sandbox record, so the candidates, scores and ids you get back will differ. With a live key, the same request screens the live sanctions and PEP lists.
A confirmed match Confirmed match
An exact name, date of birth and nationality match against a sandbox record:
curl -s -X POST https://compliance.nexiel.io/v1/screen \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 4b9e6e2a-df1a-4c3a-9d2a-6a6a6f9e7e10" \
-d '{"name": "Anatoly Sandboxovich Testperson", "dob": "1960-01-01", "nationality": "RU"}'{
"classification": "CONFIRMED_MATCH",
"candidates": [
{
"entityId": "ec01cf51-0db7-4642-b106-64ff439ac8a6",
"source": "sandbox",
"listRef": "SANDBOX-QUICKSTART-1",
"entityType": "INDIVIDUAL",
"isPep": false,
"pepCategory": null,
"pepFunctionalCategory": null,
"pepStatus": null,
"pepJurisdiction": null,
"linkedPeps": [],
"matchedVia": [
"exact",
"fts",
"phonetic",
"trigram"
],
"programs": [],
"listedDate": null,
"match": {
"matchedName": "Anatoly Sandboxovich Testperson",
"matchedField": "primary_name",
"dobComparison": "match",
"nationalityComparison": "match"
},
"classifyResult": {
"score": 100,
"classification": "CONFIRMED_MATCH",
"floored": false,
"exactMatchShortCircuit": true,
"confirmationBlockers": [],
"explain": {
"levenshtein": 1,
"phonetic": 1,
"dobNat": {
"dob": 1,
"nationality": 1,
"combined": 1
},
"vector": null,
"weightSet": "launch"
},
"engineVersion": "0.3.0+src.024c0eba57c8"
}
}
],
"wallet": {
"classification": "CLEAR",
"matches": [],
"checkedAddresses": []
},
"meta": {
"mode": "sandbox",
"sandboxOverride": false,
"humanReviewRequired": false,
"decisionId": "41",
"engineVersion": "0.3.0+src.024c0eba57c8",
"gatesHash": "77891dec4b1ff667af1be0181d9bd7d7c9a2529ba1611ed31a3f3cb25236aa43",
"ensembleWeightsHash": "4a2723f74864b3371c860bbb93c3d6fbfde7dcc21e99e1242ddad3ff366cf69d",
"listSnapshotIds": [],
"listCoverage": [],
"coreListCoverage": {
"complete": true,
"checkedAt": "2026-11-19T09:41:00.000Z",
"lists": []
}
},
"evidencePackStatus": "no_key_registered"
}A name match alone is never a confirmed match. This one is confirmed because the full date of birth corroborates the exact name and the nationality does not contradict it. The same name without a date of birth comes back as a possible match, with confirmationBlockers set to DOB_NOT_CORROBORATED, for your team to review. Each listing is judged on its own: a listing whose date of birth or nationality contradicts yours, one that gives only a birth year, or a match only on an alias the list itself rates low quality, is never confirmed automatically. When the same person appears on several lists, a listing that carries no nationality can still be confirmed while another is not, so review every candidate. match tells a reviewer which of the listed names matched (the primary name, an alias, or a low-quality alias) and whether the date of birth and nationality you sent agree with the listing; programs and listedDate say which sanctions programmes the listing sits under and since when.
entityId is a generated UUID. vector is null, because the AI similarity layer is not live yet, so scoring here runs the 4 traditional layers only. weightSet names which named coefficient set (launch or target) produced this score. The exact per-layer weighting itself is not published, so it is not a field on this response at all. The pep* fields carry AMLR Arts 42-46 political-exposure context (category, functional role, active/decayed status, domestic vs. foreign vs. international, and any linked PEP for a close-associate/family match), purely informational and never a factor in classification itself. The Idempotency-Key header is enforced server-side: resending this exact request with the same key returns this response again, without re-running the screen. A copy sent while the first is still running waits for it and gets the same response. If the first is still running after 10 seconds, the copy gets 409 idempotency_request_in_progress with Retry-After. See Idempotency.
wallet is a second, independent check: exact-match cryptocurrency wallet-address screening, run whenever the request supplies a walletAddresses array (empty and CLEAR here since none was sent). meta.gatesHash, meta.ensembleWeightsHash, and meta.listSnapshotIds are the frozen decision artifact: a SHA-256 of the exact gates configuration and ensemble weights in force, plus which list-ingestion run each live source was at, so a regulator can ask what logic produced this exact decision months later and get a precise, re-derivable answer rather than just proof the stored row was not tampered with.
meta.coreListCoverage records the core lists the decision depended on (the OFAC SDN, UN, EU and UK sanctions lists and the PEP data set, plus the sanctioned wallet address list when you screen addresses) and whether each was loaded and refreshed within its window: one day for the sanctions lists, two for the PEP data set. In sandbox mode lists is empty, because sandbox data comes from no list refresh. A live screen never runs against a core list that is missing or out of date. Such a request is refused with 503 screening_list_coverage_incomplete and a Retry-After header, nothing is recorded or billed, and you can retry the same request with the same Idempotency-Key.
meta.decisionId is this decision's own handle for later lookup: pass it to GET /v1/screen/{decisionId} to re-fetch this same decision (including your own review status), or to POST /v1/screen/{decisionId}/review to record your own resolution of a POSSIBLE_MATCH (confirmed_match, false_positive, or escalated). You can review a CONFIRMED_MATCH the same way, for example to mark it a false positive; the review records which result it overrides. Both routes are scoped strictly to the calling API key's own client_id: a decisionId that is real but belongs to a different account 404s exactly like one that does not exist.
Every review names its reviewer. Send reviewerId, your own opaque reference for the person who decided, such as a staff number or your case system's user id. It is kept with the review for good, so use an identifier rather than a name or an email address. A review recorded in the dashboard names the signed-in member. Nexiel does not store the text of notes: it keeps a SHA-256 fingerprint of the UTF-8 text (line endings normalised to LF, nothing else changed) and its length in Unicode code points, returned as notesSha256 and notesLength, so you can show later that the rationale in your own case records is the one you submitted. Keep the text itself in those records. Each recorded review sends a screening.review.completed webhook event with the decision id, the outcome, the reviewer type and the time, so your onboarding system can act on it without polling.
curl -s -X POST https://compliance.nexiel.io/v1/screen/41/review \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: review-41-1" \
-d '{"decision": "false_positive", "reviewerId": "analyst-042", "notes": "Date of birth differs from the listed person."}'A name that matches nothing Clear
curl -s -X POST https://compliance.nexiel.io/v1/screen \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "Zzqxw Unrelated Nobody"}'{
"classification": "CLEAR",
"candidates": [],
"wallet": {
"classification": "CLEAR",
"matches": [],
"checkedAddresses": []
},
"meta": {
"mode": "sandbox",
"sandboxOverride": false,
"humanReviewRequired": false,
"decisionId": "42",
"engineVersion": "0.3.0+src.024c0eba57c8",
"gatesHash": "77891dec4b1ff667af1be0181d9bd7d7c9a2529ba1611ed31a3f3cb25236aa43",
"ensembleWeightsHash": "4a2723f74864b3371c860bbb93c3d6fbfde7dcc21e99e1242ddad3ff366cf69d",
"listSnapshotIds": [],
"listCoverage": [],
"coreListCoverage": {
"complete": true,
"checkedAt": "2026-11-19T09:41:00.000Z",
"lists": []
}
},
"evidencePackStatus": "no_key_registered"
}A missing required field returns 400
curl -s -X POST https://compliance.nexiel.io/v1/screen \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'{
"error": "bad_request",
"message": "body must have required property 'name'"
}Every error uses the same JSON envelope. See Errors.
classification (Clear, Possible match, Confirmed match) is a screening result, not a legal determination. A POSSIBLE_MATCH is never auto-cleared and always requires human review. See the legal disclaimer for what Nexiel's outputs do and do not mean, and how sanctions and PEP screening works for what each layer above catches, which data sources and jurisdictions this covers today, and why POSSIBLE_MATCH always goes to a human.
Listing decisions
GET /v1/screen/decisions lists your key's own decisions, newest first, each in the same shape GET /v1/screen/{decisionId} returns. A test key lists its test-mode decisions and a live key its live ones. Filter by classification (comma-separated to match any of several) and by creation time. humanReviewRequired=true lists the POSSIBLE_MATCH decisions you have not reviewed yet, which makes it the queue for your reviewers.
curl -s "https://compliance.nexiel.io/v1/screen/decisions?humanReviewRequired=true&limit=2" \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Nexiel-Version: 2026-11-19"{
"data": [
{
"decisionId": "43",
"createdAt": "2026-11-18T09:14:07.512Z",
"classification": "POSSIBLE_MATCH",
"candidates": [
{
"entityId": "a33e0af1-d984-451b-b0b5-7c6c3759b977",
"source": "sandbox",
"score": 87,
"classification": "POSSIBLE_MATCH"
}
],
"wallet": {
"classification": "CLEAR",
"checkedAddressCount": 0,
"matches": []
},
"meta": {
"mode": "sandbox",
"humanReviewRequired": true,
"engineVersion": "0.3.0+src.024c0eba57c8"
},
"customerReviews": [],
"evidencePackStatus": "not_applicable"
}
],
"hasMore": true,
"nextCursor": "MjAyNi0xMS0xOFQwOToxNDowNy41MTIzMzFafDQz"
}Pass nextCursor as starting_after for the next page, or a decisionId to list the decisions made before it. See Pagination for every list parameter.
Evidence packs: what gets encrypted, what gets kept
Register a public key first (see setting up evidence pack encryption), and every screening decision for your account produces an evidence pack: the name, DOB, nationality, and wallet addresses just checked, this decision's classification, listsChecked, and matchedVia, and the frozen decision artifact above, all encrypted to your key. The POST /v1/screen response never carries the pack itself. It carries evidencePackStatus: available when a pack is waiting for you, no_key_registered when no pack exists, or pushing with push delivery.
Claim the pack from your backend with POST /v1/screen/{decisionId}/evidence-pack/claim and an Idempotency-Key. It is handed over once; a retry with the same key within an hour returns the same pack, so neither a dropped screening response nor a dropped claim response can lose it. A claim with another key afterwards returns 409 evidence_pack_already_claimed. Nexiel holds an unclaimed pack, encrypted, for 7 days after the decision, then deletes it (410 evidence_pack_expired). GET /v1/screen/{decisionId} reports the current status and never hands the pack over; it says delivered only once you have claimed it.
A pack belongs to your organization, not to the API key that made the decision. After you rotate a key, claim, read or review a decision made with the old key using the new one, and name the old key's client id in the madeWithKey query parameter: for example POST /v1/screen/41/evidence-pack/claim?madeWithKey=OLD_CLIENT_ID. Each key numbers its decisions from 1, so the decision id alone does not say which key made it. The named key must be a Screen key of your organization in the same mode; anything else answers 404, like an unknown decision.
curl -s -X POST https://compliance.nexiel.io/v1/screen/41/evidence-pack/claim \
-H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
-H "Idempotency-Key: claim-41"{
"decisionId": "41",
"evidencePackCiphertext": "eyJhbGciOiJFQ0RILUVTIiwiZW5jIjoiQTI1NkdDTSIsImtpZCI6Ii4uLiJ9..szFV0aXYxMjM.Y2lwaGVydGV4dC1nb2VzLWhlcmU.YXV0aC10YWc",
"evidencePackHash": "9c1185a5c5e9fc54612808977ee8f548b2258d31f8d3d1c7c4b0f6a0d2b0c0de",
"evidencePackFormat": "jwe_compact",
"claimedAt": "2026-11-19T10:00:00.000Z",
"replayableUntil": "2026-11-19T11:00:00.000Z"
}If you choose push delivery instead, the response also carries an evidencePackDelivery field (the mode and the id of the event that carries the pack). The pack is posted to the webhook endpoint you chose for evidence packs as a screening.evidence_pack.ready event, and Nexiel deletes the encrypted pack as soon as that endpoint acknowledges it. With push and pull fallback, a pack whose push failed can be claimed once with the same claim route. See push delivery.
Only your own private key, generated in your browser and never uploaded to Nexiel, can decrypt it. The pack names that key in the kid of its header, the fingerprint the dashboard shows for it. Decrypted, it holds the actual disclosed claim values, this decision (classification, listsChecked, matchedVia, humanReviewRequired), the frozen decision artifact, and an amlrSuggestedRetentionUntil date: the decision date plus 5 years. That date is the earliest your retention period can end, never a date to delete by. Under AMLR the 5 years run from the end of your business relationship with the customer, which only you know (see how to read the retention date).
With a key registered, what Nexiel keeps afterward is a single screen_decisions row holding the request id, your client id, this decision's classification, the frozen-artifact hashes, and a SHA-256 hash of the ciphertext, plus the encrypted pack itself only until you claim it or for at most 7 days. That hash proves the handoff happened. It does not reproduce the substantive data itself. Without a registered key, Nexiel has nothing to encrypt to, so no evidence pack exists and no such row is written. The screen still runs and returns a classification either way.
AMLR makes you, the obliged entity, responsible for retaining your own CDD/screening evidence, not Nexiel, so treat the evidence pack as your own record from the moment you claim it. See setting up evidence pack encryption for how to generate and register a key from the dashboard.
Browsing the docs
The OpenAPI 3.1 document is public at https://compliance.nexiel.io/screen-docs/openapi.json, with a Swagger UI over the same document at https://compliance.nexiel.io/screen-docs/docs. Neither needs a key or a signup. The API reference on this site covers the same endpoints.
Authentication, rate limits and source restrictions
Every Screen route except GET /health needs an access token from a Screen test or live key. The token is checked on every request, so a revoked key is rejected at once, even while its token is still within its lifetime. A test key needs no review. A live key needs approved business verification (KYB) (see Going live). See Authentication for the token exchange.
Each key has its own rate limit: a burst of 30 requests, then 30 a minute (a test key's burst is 25). Too many requests return 429 rate_limit_exceeded with Retry-After. A sudden volume spike temporarily lowers a key's own limit. The reduction is bounded, expires on its own and is recorded in the audit log. Requests from a country never seen before for a client, or a shift in the kind of checks a client sends, are flagged for an operator to review and never throttle or block a request by themselves. See Rate limits.
You can also restrict which IP addresses or browser origins may use your keys, on the dashboard's Source restrictions page. It is off by default. A request from outside a configured allowlist returns 403 client_access_restricted, whatever the credential.