Loading...
Loading...
Integrate Didit AML Screening standalone API to screen individuals or companies against global watchlists. Use when the user wants to perform AML checks, screen against sanctions lists, check PEP status, detect adverse media, implement KYC/AML compliance, screen against OFAC/UN/EU watchlists, calculate risk scores, or perform anti-money laundering screening using Didit. Supports 1300+ databases, fuzzy name matching, configurable scoring weights, and continuous monitoring.
npx skill4agent add didit-protocol/skills didit-aml-screeningfull_nameentity_type"person""company"x-api-keyPOST https://apx.didit.me/auth/v2/programmatic/register/{"email": "you@gmail.com", "password": "MyStr0ng!Pass"}POST https://apx.didit.me/auth/v2/programmatic/verify-email/{"email": "you@gmail.com", "code": "A3K9F2"}api_keyGET /v3/billing/balance/POST /v3/billing/top-up/{"amount_in_dollars": 50}POST https://verification.didit.me/v3/aml/| Header | Value | Required |
|---|---|---|
| Your API key | Yes |
| | Yes |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| string | Yes | — | Full name of person or entity |
| string | No | — | DOB in |
| string | No | — | ISO country code (alpha-2 or alpha-3) |
| string | No | — | ID document number ("Golden Key") |
| string | No | | |
| integer | No | | Name weight in match score (0-100) |
| integer | No | | DOB weight in match score (0-100) |
| integer | No | | Country weight in match score (0-100) |
| integer | No | | Below = False Positive, at/above = Unreviewed |
| boolean | No | | Save in Business Console |
| string | No | — | Your identifier for session tracking |
import requests
response = requests.post(
"https://verification.didit.me/v3/aml/",
headers={"x-api-key": "YOUR_API_KEY", "Content-Type": "application/json"},
json={
"full_name": "John Smith",
"date_of_birth": "1985-03-15",
"nationality": "US",
"document_number": "AB1234567",
"entity_type": "person",
},
)
print(response.json())const response = await fetch("https://verification.didit.me/v3/aml/", {
method: "POST",
headers: { "x-api-key": "YOUR_API_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
full_name: "John Smith",
date_of_birth: "1985-03-15",
nationality: "US",
}),
});{
"request_id": "a1b2c3d4-...",
"aml": {
"status": "Approved",
"total_hits": 2,
"score": 45.5,
"hits": [
{
"id": "hit-uuid",
"caption": "John Smith",
"match_score": 85,
"risk_score": 45.5,
"review_status": "False Positive",
"datasets": ["PEP"],
"properties": {"name": ["John Smith"], "country": ["US"]},
"score_breakdown": {
"name_score": 95, "name_weight": 60,
"dob_score": 100, "dob_weight": 25,
"country_score": 100, "country_weight": 15
},
"risk_view": {
"categories": {"score": 55, "risk_level": "High"},
"countries": {"score": 23, "risk_level": "Low"},
"crimes": {"score": 0, "risk_level": "Low"}
}
}
],
"screened_data": {
"full_name": "John Smith",
"date_of_birth": "1985-03-15",
"nationality": "US",
"document_number": "AB1234567"
},
"warnings": []
}
}(Name × W1) + (DOB × W2) + (Country × W3)| Component | Default Weight | Algorithm |
|---|---|---|
| Name | 60% | RapidFuzz WRatio — handles typos, word order, middle name variations |
| DOB | 25% | Exact=100%, Year-only=100%, Same year diff date=50%, Mismatch=-100% |
| Country | 15% | Exact=100%, Mismatch=-50%, Missing=0%. Auto-converts ISO codes |
| Scenario | Effect |
|---|---|
| Same type, same value | Override score to 100 |
| Different type or one missing | Keep base score (neutral) |
| Same type, different value | -50 point penalty |
When data is missing, remaining weights are re-normalized. E.g., name-only → name weight becomes 100%.
(Country × 0.30) + (Category × 0.50) + (Criminal × 0.20)| Highest Risk Score | Status |
|---|---|
| Below 80 (default) | Approved |
| Between 80-100 | In Review |
| Above 100 | Declined |
| All False Positives | Approved |
| Category | Score |
|---|---|
| Sanctions / PEP Level 1 | 100 |
| Warnings & Regulatory | 95 |
| PEP Level 2 / Insolvency | 80 |
| Adverse Media | 60 |
| PEP Level 4 / Businessperson | 55 |
| Status | Meaning | Action |
|---|---|---|
| No significant matches or all False Positives | Safe to proceed |
| Matches found with moderate risk | Manual compliance review needed |
| High-risk matches confirmed | Block or escalate per your policy |
| Screening not yet performed | Check for missing data |
| Code | Meaning | Action |
|---|---|---|
| Invalid request body | Check |
| Invalid API key | Verify |
| Insufficient credits | Check credits in Business Console |
| Tag | Description |
|---|---|
| Potential watchlist matches requiring review |
| Missing KYC data. Provide full name, DOB, nationality, document number |
| Field | Type | Description |
|---|---|---|
| integer | 0-100 identity confidence score |
| float | 0-100 threat level score |
| string | |
| array | e.g. |
| array | PEP match details |
| array | Sanction match details |
| array | |
| array | Related persons/entities |
| string | ISO 8601 timestamps |
-1-2-31. POST /v3/aml/ → {"full_name": "John Smith", "nationality": "US"}
2. If "Approved" → no significant watchlist matches
If "In Review" → review hits[].datasets, hits[].risk_view for details
If "Rejected" → block user, check hits for sanctions/PEP details1. POST /v3/id-verification/ → extract name, DOB, nationality, document number
2. POST /v3/aml/ → screen extracted data with all fields populated
3. More data = higher match accuracy = fewer false positives# Requires: pip install requests
export DIDIT_API_KEY="your_api_key"
python scripts/screen_aml.py --name "John Smith"
python scripts/screen_aml.py --name "John Smith" --dob 1985-03-15 --nationality US
python scripts/screen_aml.py --name "Acme Corp" --entity-type company