How to Implement AML Screening: Step-by-Step Technical Guide
Run AML screening in eight steps: get a key, set match and risk thresholds, call POST /v3/aml/ or add AML to a workflow, then route hits to review. $0.20 per check.

Contents
In this guide
Jump to the part you need.
This guide is for the engineer or compliance lead who has to put AML screening into production, not read a vendor tour. Didit screens a person or a company against 1,300+ sanctions, PEP and watchlist sources for $0.20 per check, and ongoing monitoring costs $0.07 per person a year. The caveat sits in the scores: a match is not a decision, so your thresholds and your review queue do the judging.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
The eight steps at a glance
| Step | What you do | Where it runs | Cost |
|---|---|---|---|
| 1 | Create an API key | Business Console, Developers, API keys | Free |
| 2 | Choose session mode or the standalone call | Console workflow or POST /v3/aml/ | Free |
| 3 | Set thresholds and match weights | Workflow settings or request fields | Free |
| 4 | Run the screening | POST /v3/aml/ or POST /v3/session/ | $0.20 per completed check |
| 5 | Read the two scores | Response body | Included |
| 6 | Deliver and verify the result | Webhook or decision endpoint | Included |
| 7 | Route hits to a human | Your queue or the Didit console | Included; separate Investigator pricing is not published here |
| 8 | Turn on ongoing monitoring | include_ongoing_monitoring | $0.07 per person per year |
Start free in the sandbox at business.didit.me, no sales call, and run the whole flow before you spend anything. Every number here is public at didit.me/pricing, the product page is AML screening, the API reference is at the AML screening docs, and developers who want an agent to drive the setup can connect the Didit MCP server.
What AML screening checks
AML screening compares a name against published risk lists and returns every potential match with a confidence score. Didit checks 1,300+ sources across four families: sanctions regimes, politically exposed persons, regulatory and warning watchlists, and adverse media.
The company examples below come from the business coverage page and describe company screening: international sanctions publishers such as the UN Security Council consolidated list, the EU consolidated financial sanctions, the World Bank debarment list and OFAC, plus regulatory watchlists and insolvency and bankruptcy registers. Person-level screening draws on its own catalogue, so do not read the company list as a promise of identical coverage for every entity type. The full publisher lists are on the business AML coverage page and the person-level watchlist reference.
AML screening is not the same thing as KYC, and buyers often ask for one when they need the other. KYC establishes that the person is who they claim to be, by reading an ID document and matching a live face to it. AML KYC screening is the second half: you take the verified name, date of birth and nationality and check that identity against the lists. Running both in one workflow is the usual setup, and on Didit that pair costs $0.53 as the compliance bundle: full KYC at $0.33 plus AML at $0.20.
Screening duties are not the same in every market. What you must screen, at what threshold, and how long you must keep watching a customer come from your jurisdiction, your licence and your own risk assessment. The FATF recommendations are the common reference point that national rules build on; confirm the requirements that apply to you with counsel before you set policy.
Prerequisites
- A Didit organization and an application. New sandbox keys start with
sk_test_and new live keys withsk_live_; older keys may have no prefix and still work; both are server-side secrets and never belong in a browser bundle. - For session mode, a published workflow that has the AML Screening feature added to it.
- A full name of at least two characters is the minimum input. Date of birth and nationality raise match quality, and a document number acts as a golden key.
- An HTTPS endpoint if you want results pushed by webhook instead of polled.
- Your thresholds decided before the first live check. The defaults are 93 for match, 80 for approve and 100 for review.
Step-by-step implementation
Step 1: Create the API key
Sign in to the Didit Business Console, pick the application from the top dropdown, then open Developers and API keys. The Primary key is the application's own secret; create a separate key for each service or partner. Keys authenticate on the x-api-key header against https://verification.didit.me. The verification API does not use OAuth bearer tokens, and a missing header returns 403 while a wrong or revoked key returns 401. The authentication page lists the recovery flow if you lose the key.
Step 2: Choose session mode or the standalone call
There are two supported routes and you pick one per use case. Session mode runs AML as a step inside a verification session, so the decision, the monitoring state and the audit history stay bound to that session and appear in the console. The standalone route is a one-shot server-to-server check for when you already know the identity and only need the list check.
curl -X POST https://verification.didit.me/v3/session/ \
-H "x-api-key: $DIDIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"workflow_id":"<WORKFLOW_ID>","vendor_data":"user-42","callback":"https://myapp.com/return"}'
In session mode the AML result arrives in the aml_screenings[] array on the decision payload, which you read with GET /v3/session/{sessionId}/decision/ or receive through a status.updated webhook.
Step 3: Set thresholds and match weights
Three thresholds decide whether a hit is ignored or acted on, and three more decide how the match score is built. The match score threshold defaults to 93: any hit below it is tagged review_status: "False Positive" and excluded from the risk calculation. The status then follows the other two thresholds: a score above the review threshold of 100 is Declined, a score above the approve threshold of 80 and at or below 100 is In Review, and anything at or below 80 is Approved. The weights aml_name_weight, aml_dob_weight and aml_country_weight default to 60, 25 and 15 and must sum to exactly 100 on every request; anything else is rejected with HTTP 400.
Step 4: Run the screening
The standalone call takes a full name and returns the packed result. This is the request from the Didit docs, with an idempotency key added so a retry after a timeout does not buy a second check.
curl -X POST 'https://verification.didit.me/v3/aml/' \
-H "x-api-key: $DIDIT_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: aml-user-1234-2026-11-26" \
-d '{
"full_name": "Javier Ejemplo Modelo",
"entity_type": "person",
"date_of_birth": "1974-01-01",
"nationality": "ES",
"include_adverse_media": true,
"vendor_data": "user-1234"
}'
Plain screenings complete in a few seconds. Setting include_adverse_media to true makes the API wait for adverse-media enrichment, an initial pause of about 5 seconds plus up to 25 seconds of polling, so configure a client timeout of at least 60 seconds. The 60-second figure comes from the API reference and supersedes the shorter 45-second timeout still printed on the overview page.
Step 5: Read the two scores
Each hit carries two numbers. The match score (0 to 100) answers how likely it is that the listed entity is the person in front of you, and it decides whether the hit counts at all. The risk score (0 to 100) answers how risky that entity is if the match is real, and the highest risk score among the hits that survived the false-positive filter becomes aml.score. A matching document_number overrides the match score to 100, so pass one whenever you have it.
{
"request_id": "...uuid...",
"aml": {
"status": "In Review",
"screening_id": "...uuid...",
"score": 85,
"hits": [
{ "match_score": 97, "risk_score": 85, "review_status": "Unreviewed" },
{ "match_score": 71, "risk_score": 40, "review_status": "False Positive" }
],
"warnings": ["POSSIBLE_MATCH_FOUND"]
}
}
That is a trimmed illustration of the documented shape, not a real customer record. The status enum is fixed: Not Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired. The POSSIBLE_MATCH_FOUND warning is added when the score is above zero and at or above the approve threshold; a score of exactly zero never warns. The other warning codes you will meet are MATCH_FOUND, HIGH_RISK_COUNTRY, ADVERSE_MEDIA_HIT, SANCTIONED_ENTITY, PEP_MATCH and ONGOING_MONITORING_ENABLED.

Step 6: Deliver and verify the result
Do not trust an unverified webhook. Didit signs each delivery with HMAC-SHA256 in the X-Signature-V2 header over the sorted, Unicode-preserved canonical JSON, and sends X-Timestamp in Unix seconds. Read the raw body before parsing, reject anything whose timestamp is more than 300 seconds old, recompute the signature with your destination secret and compare it in constant time. During a secret rotation the previous signature is also sent for 24 hours in X-Signature-V2-Previous, and accepting a match on either keeps verification working while you deploy. The deprecated X-Signature-Simple authenticates only the envelope, so if you use it, re-fetch the decision from the API instead of trusting the payload. Subscribe to status.updated explicitly; there is no wildcard. The details are on the webhooks page.
On the standalone route, save_api_request defaults to true, which stores the screening as a session, so request_id works with GET /v3/session/{sessionId}/decision/ and the report can be pulled as a PDF. With save_api_request set to false nothing is stored and the request_id is only a correlation id.

Step 7: Route hits to a human
Three outcomes need three different paths. A hit tagged False Positive stays on the record but never moves the score, so it should not create work. A status of In Review means the score landed above the approve threshold and at or below the review threshold, and it belongs in a manual queue with the hit details attached. A status of Declined means a hit crossed the decline boundary, which is a compliance decision rather than an application error, so it follows your documented compliance and escalation policy. Write all three outcomes to your own case record, because the audit trail is the thing a regulator asks for.
The reviewer needs the score breakdown, not just the verdict, so they can see whether a name matched on surname alone or on name, date of birth and country together. That breakdown is visible per hit in the console.

Step 8: Keep monitoring
Sanctions and PEP designations change after you onboard someone, so a point-in-time check goes stale as list updates land. Setting include_ongoing_monitoring to true keeps the screened profile under provider-driven monitoring, dated every day, so updates reach the report. It requires save_api_request to be true and returns HTTP 400 otherwise. It costs $0.07 per screened entity per year, and you can turn it off from the Business Console. Whether a given customer has to stay under monitoring is a question for your own risk assessment and the rules that apply to you.
Inputs and outputs
| Field | Direction | What it does |
|---|---|---|
full_name | In, required | Person or company to screen, minimum 2 characters |
entity_type | In | person or company |
date_of_birth | In | Feeds the date-of-birth component of the match score |
nationality | In | ISO country code such as ES; feeds the country component |
document_number | In | Golden key: a matching document number overrides the match score to 100 |
include_adverse_media | In | Adds adverse-media enrichment; needs a 60-second client timeout |
include_ongoing_monitoring | In | Daily re-screening; requires save_api_request true |
save_api_request | In | Defaults to true; stores the check as a session |
vendor_data | In | Your internal user id, echoed back |
Idempotency-Key | In, header | Retry safety, up to 255 characters, scoped to the body |
request_id | Out | Correlation id, usable with the decision endpoint when saved |
aml.status | Out | Approved, In Review, Declined and the rest of the status enum |
aml.score | Out | Highest risk score among the hits that survived filtering |
aml.screening_id | Out | Identifier of the screening record |
hits[] | Out | Each with match_score, risk_score and review_status |
warnings[] | Out | POSSIBLE_MATCH_FOUND, PEP_MATCH, SANCTIONED_ENTITY and the other codes |
Failure cases and recovery
| What you see | Cause | Recovery |
|---|---|---|
| HTTP 400 | Weights do not sum to exactly 100, or ongoing monitoring was requested without save_api_request | Fix the weights or the save flag and resend the same request |
| HTTP 401 | Key is wrong, malformed, revoked or expired | Issue a key from Developers, API keys and redeploy the secret |
| HTTP 403 | Out of credit, or a scoped key without access to this resource | Top up, or use a key whose scopes include the call |
| HTTP 409 | An Idempotency-Key was reused with a different body | Use one key per distinct body |
| HTTP 429 | Rate limit; the response carries a wait in seconds | Back off for that long, then retry with the same idempotency key |
| Adverse-media timeout | The upstream source was slow | The result returns without adverse-media hits and is still actionable; set the client timeout to at least 60 seconds |
| Status Declined | The score is above the review threshold, so a hit crossed the decline boundary | Declined cases must follow the organization's documented compliance and escalation policy |
| Status In Review | The score is above the approve threshold and at or below the review threshold, which is In Review under the documented comparisons | Send to the manual queue with the hit detail attached |
Paid steps and review boundaries
Three things cost money in this flow. One AML API credit ($0.20) is charged after the first successful screening, and a replayed idempotent response is not charged again. Ongoing monitoring adds $0.07 per person per year. Anything the workflow adds on the way, such as the full KYC at $0.33, bills at its own line. Any separate Investigator pricing is not published here. Insufficient balance returns 403 before any new screening runs.
The sandbox is the exception. Sandbox testing is free and unlimited, and keys from sandbox applications skip screening and billing entirely and return a mocked Approved result with zero hits, unless you pass a sandbox_scenario such as decline_aml_hit to exercise the unhappy path. save_api_request behaves exactly as it does live, so you can rehearse the decision fetch and the PDF.
The first review boundary is the match score threshold at 93. Above it, a hit counts toward the risk score and can move the status. Below it, the hit is a false positive and the system ignores it for risk purposes. That threshold is the setting to test against your own population before you go live, because lowering it creates reviewer work and raising it hides real matches. The second boundary is the pair of approve and review thresholds at 80 and 100: a score above 100 is Declined, a score above 80 and at or below 100 is In Review, and anything at or below 80 is Approved. The middle band is a human decision by design, not an automation failure.
Worked cost example
Take a fintech onboarding 10,000 new customers a month and screening each one at list price. AML alone is 10,000 x $0.20 = $2,000.00 a month. Full KYC alongside it is 10,000 x $0.33 = $3,300.00, so the pair is $5,300.00, the same as 10,000 checks of the $0.53 compliance bundle. Add ongoing monitoring on the 2,000 customers you rate as higher risk: 2,000 x $0.07 = $140.00 a year.
On the Scale plan the same volume carries the 10% discount: 10,000 x $0.18 = $1,800.00 for AML and 10,000 x $0.297 = $2,970.00 for KYC, so $4,770.00 in total. The plan itself is $299 a month and adds $350 of credit a month, which covers 1,944 AML checks at the Scale price ($350 / $0.18 = 1,944). Growth takes 4% off every price and adds $115 of credit; the Free plan's $10 of monthly credit buys 50 AML checks at list price ($10 / $0.20 = 50).
If you want an AI assistant to walk these steps with you, the Didit MCP setup guide covers every client.
Sources
- Didit docs: AML Screening API reference
- Didit docs: AML screening overview and integration prompt
- Didit docs: business AML coverage
- Didit docs: pricing and billing
- Didit docs: API authentication
- Didit docs: webhooks and HMAC signing
- Didit docs: verification statuses
- Didit pricing page and live price feed, read November 26, 2026
- Didit AML screening product page
- Didit MCP server
- FATF recommendations, read November 26, 2026
Next step: create a sandbox application and run the call above against a test key. Start free at business.didit.me, no sales call, and the check is mocked so nothing is billed while you wire the thresholds and the review queue.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
What is AML screening in simple terms?
AML screening checks a person or a company name against published sanctions, PEP, watchlist and adverse-media sources and returns every potential match with a confidence score and a risk score. It is a list check on an identity, not a criminal-record check. On Didit it runs as a step in a verification workflow or as a single API call for $0.20 per check.
How does an AML screening API call work?
You send a POST to https://verification.didit.me/v3/aml/ with the x-api-key header and a JSON body holding at least full_name. The response returns request_id plus an aml object with a status, a screening id, the hits and any warnings. Adding date_of_birth, nationality and a document number improves match quality.
What is the difference between a match score and a risk score?
The match score (0 to 100) is identity confidence: how likely it is that the listed entity is the same person you are screening. The risk score (0 to 100) is entity risk: how risky that entity would be if the match is real. A hit below the match threshold of 93 is tagged as a false positive and ignored for risk, and the highest surviving risk score becomes the screening score.
How much does an AML check cost?
List price is $0.20 per completed AML screening, with no monthly minimum. Ongoing monitoring is $0.07 per screened entity per year. On the Growth plan every Didit price is 4% off, which puts AML at $0.192, and on Scale it is 10% off, which puts it at $0.18. The sandbox is free and unlimited and returns mocked results.
Can I test AML screening for free before paying?
Yes. Sandbox testing is free and unlimited on every plan, and a key from a sandbox application starts with sk_test_. Sandbox keys skip screening and billing and return an Approved result with zero hits, unless you pass a sandbox_scenario such as decline_aml_hit to test the review path.
What should I do when a screening comes back In Review?
An In Review status means the score is above the approve threshold (default 80) and at or below the review threshold (default 100), which is In Review under the documented comparisons. Send it to a manual queue with the hit detail and score breakdown attached, and record the reviewer's decision. Do not auto-approve it and do not auto-block it; the status exists precisely because the case is not clear.
How do I screen a company instead of a person?
Set entity_type to company and send the registered legal name. Business screening adds sanctions publishers, regulatory watchlists, and insolvency and bankruptcy registers, and company AML is priced at $0.20 per check. For full know-your-business you pair it with registry retrieval from $2.00 per company, and the directors and owners take a person AML check each.
Do I need ongoing monitoring after the first check?
Whether ongoing monitoring is required depends on your risk-based program and applicable rules; Didit supports it through include_ongoing_monitoring. Sanctions and PEP designations change after onboarding, so a point-in-time check goes stale as lists update. Turning it on keeps the profile under daily provider-driven re-screening at $0.07 per person per year, and it requires save_api_request to be true.
How do I run AML screening for a marketplace?
Define the screened parties from the marketplace's risk assessment and the requirements that apply to it, rather than assuming a fixed side of the trade is out of scope. Use the standalone call for high-volume onboarding when you already hold a verified identity, and session mode when the party also has to pass KYC. Route anything above the approve threshold to a queue, keep false positives on record, and choose ongoing monitoring from your risk assessment rather than by default: turn it on for the parties your assessment rates higher risk, record why each party is in or out, and revisit that split when your rules change.
What are the most common AML screening failure codes?
HTTP 400 means the match weights do not sum to 100 or ongoing monitoring was requested without save_api_request. HTTP 403 means you are out of credit or the key lacks the scope. HTTP 409 means an idempotency key was reused with a different body, and HTTP 429 means you should wait the number of seconds in the wait field and retry.
How long does an AML screening take?
A plain screening typically completes in a few seconds. With include_adverse_media set to true the API waits for adverse-media enrichment, roughly a 5-second pause plus up to 25 seconds of polling, so set a client timeout of at least 60 seconds; the 60-second figure in the API reference supersedes the shorter 45-second timeout still shown on the overview page. Handle a slow upstream as a partial result rather than a failure.
Is AML screening the same as a background check?
No. AML screening checks a name against published sanctions, PEP, regulatory watchlists, insolvency registers and adverse media. It does not replace a criminal-record background check, and it does not confirm that the person owns the identity being screened; that is the job of the KYC steps that run alongside it.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


