Skip to main content

AML Screening API Integration Guide for Banks (2026)

Banks integrate Didit AML screening with one POST to /v3/aml/ using an x-api-key. Each check costs $0.20 list, $0.18 on Scale. You retain responsibility for the review policy and any bank-side audit trail.

AML Screening API Integration Guide for Banks (2026)

Contents

In this guide

Jump to the part you need.

We built the AML screening API for banks that need a sanctions, PEP and adverse media answer on a person or a company inside their own systems. One call returns a status, two scores for every hit and a list of warnings you route. It costs $0.20 per check at list price. The caveat is that a screening is evidence, not a decision: you retain responsibility for the review policy and any bank-side audit trail.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Three ways to install Didit AML screening for a bank, and what each one costs
RouteWhat runsPrice at listCaveat
Standalone API recipePOST /v3/aml/ from your core banking or case system$0.20 per checkYou own the review queue and the storage decision
Session workflowAML as a step inside a verification session, decided with the rest of the flow$0.20 per check plus the other steps in the sessionNeeds a published workflow and a hosted flow for the end user
MCP connectorDidit inside an MCP clientThe MCP server is free; completed checks bill as usualConnects supported MCP clients to Didit

Start free in the sandbox at business.didit.me, no sales call. Developers who want Didit inside an AI assistant can connect it through MCP setup. The product page is AML Screening and every unit price is on the pricing page.

What one call returns

Every server-to-server call is POST https://verification.didit.me/v3/aml/ with an x-api-key header and a JSON body. The only required field is full_name, with a minimum of 2 characters. Everything else sharpens the match: entity_type, date_of_birth, nationality, document_number and vendor_data.

The response carries request_id and an aml object, as in { request_id, aml: { status, screening_id, hits, warnings } }. The exact response fields depend on the documented result schema. Each hit carries two scores. match_score runs 0 to 100 and answers one narrow question: is this the same person. risk_score runs 0 to 100 and answers a different one: how risky is the listed entity if the match is real. Keep them apart in your data model, because the common failure in bank integrations is collapsing the two and then having to defend it.

Hits whose match_score is below aml_match_score_threshold (default 93) are tagged review_status: "False Positive" and ignored for risk purposes. The highest risk_score among the remaining hits becomes aml.score. The status then follows your thresholds: a score above aml_score_review_threshold (default 100) is Declined, above aml_score_approve_threshold (default 80) is In Review, and everything else is Approved. With the defaults the decline branch is closed, because a risk score cannot exceed 100 and the comparison is strictly greater. If your policy wants an automatic decline on the worst hits, set the review threshold below 100.

The weights are yours. aml_name_weight plus aml_dob_weight plus aml_country_weight must sum to exactly 100, and the defaults are 60, 25 and 15. Components missing from the request are re-normalized away. A matching document_number acts as a golden key and overrides match_score to 100, which is why a bank that already holds an identity number should always send it.

The score breakdown of a single AML hit in the Didit Business Console
A single hit, with the match score and risk score broken out for the reviewer.

Prerequisites

What you need before the first AML screening call
RequirementWhat it isWhere it comes from
PlanFree, Growth or Scale self-serve, or an Enterprise contract starting at $15,000 a year. Free sits at list price, Growth is 4% below list, Scale is 10% below list.Pricing page and the pricing docs
Sandbox applicationCreated with the organization. Sandbox testing is free and unlimited on every plan, and sandbox calls are never billed.The application switcher in the console
API keyThe Primary key has full access. Create a separate key for the service that calls AML. New keys start with sk_test_ or sk_live_ plus 43 URL-safe characters.Developers, then API keys, in the console
PermissionsThe key must be allowed to reach the AML screening route. A scoped key without that access is refused with 403. Treat the key as a server-side secret.API authentication
Credit for live checksAn insufficient balance returns 403 before any new screening runs, so a live pipeline never half-bills.Billing in the console
An HTTPS endpointOnly if you want status.updated delivered to you. There is no wildcard, so subscribe each event family you want.Webhooks
Client timeoutAt least 60 seconds whenever include_adverse_media is true.Your HTTP client

Install route 1: the API recipe, step by step

  1. Open the console and copy a sandbox key. Sign in at business.didit.me, pick the Application from the dropdown at the top, then open Developers and API keys. The Primary key is the Application's own secret; create a separate key for the service that will call AML. Store it server side as DIDIT_API_KEY. Never ship it to a browser or a mobile bundle.

  2. Send one call and read the shape. This is the documented request, unchanged.

    curl -X POST 'https://verification.didit.me/v3/aml/' \
    -H "x-api-key: $DIDIT_API_KEY" \
    -H "Content-Type: application/json" \
    -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 usually complete in a few seconds. With include_adverse_media set to true the API waits for adverse media enrichment, an initial pause of about 5 seconds plus up to about 25 seconds of polling, so configure a client timeout of at least 60 seconds.

  3. Set the thresholds and weights your policy needs. Pass aml_match_score_threshold, aml_score_approve_threshold, aml_score_review_threshold and the three weights on the request, or configure them once in the workflow. The three weights must sum to exactly 100 or the request is rejected with HTTP 400.

  4. Decide whether to store the screening. save_api_request defaults to true. That stores the screening as a session: request_id works with GET /v3/session/{sessionId}/decision/, the result appears in the console, a status.updated webhook fires, and hit review statuses can be updated later. Set it to false and nothing is stored, and request_id is only a transient correlation id.

  5. Add ongoing monitoring if the customer stays on your book. include_ongoing_monitoring=true keeps the profile under provider-driven monitoring, and it requires save_api_request=true, otherwise the API answers 400. It is billed at $0.07 per screened entity per year. Turn it off from the Business Console.

  6. Register the webhook and check the signature. Create a destination subscribed to status.updated, read the raw request body before parsing JSON, recompute HMAC-SHA256 over the sorted canonical JSON and compare it with X-Signature-V2 in constant time. Reject anything where X-Timestamp is more than 300 seconds away from now, then return 2xx quickly and re-fetch the decision when you need the full body.

  7. Send an Idempotency-Key and go live. On a timeout or a transient error, retry with the same Idempotency-Key header of up to 255 characters. The key is scoped to your application and the exact request body: an identical retry returns the stored response and runs and bills nothing, while a different body with the same key returns 409. When the flow works in sandbox, switch to the sk_live_ key and make sure the organization holds credit.

Install route 2: AML inside a session

Use this when the AML check should be decided together with identity verification, proof of address or a questionnaire. Decisions, monitoring and audit history stay bound to the session.

  1. Add the AML feature to the workflow in the Business Console or with POST /v3/workflows/, and set aml_match_score_threshold, aml_score_approve_threshold, aml_score_review_threshold and the three weights, which must sum to 100.
  2. Create the session with POST /v3/session/ and a body of { workflow_id, vendor_data, callback }. See create session.
  3. Fetch the decision with GET /v3/session/{sessionId}/decision/ or subscribe to status.updated. AML results sit in the aml_screenings[] array, next to id_verifications[] and liveness_checks[], because a workflow can hold more than one instance of the same feature.

Install route 3: MCP connector for AI assistants

The Didit MCP server is hosted at https://mcp.didit.me/mcp and signs in with OAuth. The server is free, and the checks you run through it bill at your plan's prices. The documented setup page is didit.me/developers/mcp; follow it for the MCP client you use.

  • Use the documented MCP setup page to connect a supported client to the Didit MCP server.
  • No connector is documented in the supplied Didit materials; use the documented API or webhook route.
Cover of the Didit Academy lesson on using Didit with MCP
Running Didit from inside an AI assistant over MCP.

Field and event mapping

Use this table to map Didit fields and events to your system.

Didit AML fields and events mapped to what your system should do with them
Didit field or eventTypeWhat to do with it
full_nameString, 2 characters minimum, requiredThe screened party, exactly as your record holds it
entity_typePerson or companyTells the reviewer which register the party belongs to
date_of_birthDateFeeds aml_dob_weight
nationalityISO country codeFeeds aml_country_weight
document_numberStringGolden key: a match overrides match_score to 100
vendor_dataStringYour customer id, the join between the screening and the core record
request_idUUIDCorrelation id, and a session id when save_api_request is true
aml.screening_idStringThe screening reference you cite in the customer file
aml.statusApproved, In Review, DeclinedThe routing value for your decision engine
aml.score0 to 100The highest risk score among hits that are not false positives
hits[].match_score0 to 100Identity confidence, filtered at 93 by default
hits[].risk_score0 to 100Entity risk, which drives aml.score
hits[].review_statusString"False Positive" or unreviewed, for the reviewer queue
warnings[]CodesPOSSIBLE_MATCH_FOUND, MATCH_FOUND, HIGH_RISK_COUNTRY, ADVERSE_MEDIA_HIT, SANCTIONED_ENTITY, PEP_MATCH, ONGOING_MONITORING_ENABLED
status.updatedWebhook eventFires when the stored screening is written. For statuses that include a decision, the event carries the decision object; otherwise fetch it from the decision endpoint
X-Signature-V2 and X-TimestampHeadersVerify the HMAC and the 300-second window before trusting a payload
sandbox_scenarioString or nullShows which mocked path a sandbox session took
What each AML status should trigger on the bank side
aml.statusWhat it meansYour action
ApprovedNo hit scored above the approve thresholdComplete onboarding and store the decision
In ReviewAt least one hit scored above the approve threshold and none crossed the decline boundaryRoute to the reviewer queue; the hit and its score breakdown are in the console
DeclinedA hit scored above the review thresholdDecline, or start enhanced due diligence
A full AML screening result for one session in the Didit Business Console
The same fields, assembled per session, for the reviewer who signs off.

Test with sandbox data

Keys from a sandbox application skip screening and billing entirely and return a mocked result: Approved, with zero hits, unless you pass sandbox_scenario. save_api_request behaves exactly as it does on a live key, so a saved sandbox screening is retrievable through GET /v3/session/{sessionId}/decision/ and GET /v3/session/{sessionId}/generate-pdf/.

{ request_id, aml: { status, screening_id, hits: [...], warnings: [...] } }

That is the documented success shape. Build your parser against it on day one, so the live switch changes the key and nothing else.

Error cases you will hit in a bank integration, and the fix for each
What you seeCauseFix
400The three weights do not sum to exactly 100, or include_ongoing_monitoring is true with save_api_request falseFix the weights, and turn persistence on before monitoring
401x-api-key is wrong, malformed, revoked or expiredRe-fetch the key from Developers, API keys
403No key, a scoped key without access to this route, or a key called from an address outside its IP listUse a key whose access includes the AML screening route
403 on balanceOut of creditTop up, or keep testing on the sandbox key
404A session route outside the scoped key's workflows or statusesUse a key whose limits include that session
409The same Idempotency-Key sent with a different bodyReuse a key only for an identical retry
429Rate limitBack off for the seconds in the response's wait field, then retry
Adverse media missingThe upstream provider was slowThe result returns without adverse media hits and is still actionable; raise the client timeout to at least 60 seconds

Disconnect. To stop the integration, delete or rotate the key the service uses in Developers, API keys; a revoked key answers 401 from then on. If you enabled ongoing monitoring, switch it off in the Business Console, because the setting lives on the stored profile and deleting a key does not stop it. Export what you need first: stored screenings stay retrievable with GET /v3/session/{sessionId}/decision/, and the console keeps the audit log for your plan's window, 30 days on Free, 1 year on Growth and 3 years with export on Scale.

Cost

Didit charges one AML API credit after the first successful screening. A replayed idempotent response is not charged again, and an insufficient balance returns 403 before any new screening happens. List price is $0.20 per check, $0.192 on Growth and $0.18 on Scale. Ongoing monitoring is $0.07 per screened entity per year, $0.0672 on Growth and $0.063 on Scale. A full ID check in the same session is $0.33 at list, $0.3168 on Growth and $0.297 on Scale. Sandbox calls are free on every plan.

Worked cost example

A bank on Scale screens 4,000 retail customers a month, each with a full ID check and an AML screening in the same session.

  • Full ID check: 4,000 x $0.297 = $1,188.00
  • AML screening: 4,000 x $0.18 = $720.00
  • Month subtotal: $1,188.00 + $720.00 = $1,908.00
  • Minus the $350 monthly Scale credit: $1,908.00 - $350.00 = $1,558.00 from top-ups
  • Plus the $299 monthly fee: $1,558.00 + $299.00 = $1,857.00 for the month, about $0.46 per customer

Add ongoing monitoring for those 4,000 customers as a yearly line: 4,000 x $0.063 = $252.00 a year, or $0.063 per customer per year. If you are moving off a screening contract with a monthly minimum, the migration notes are on the switch page.

Sources

Next step: create the sandbox organization, run one screening against the mocked result, then map aml.status to your decision engine before you touch a live key. You can do all of that at business.didit.me in the sandbox, with no sales call.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is the endpoint for the Didit AML screening API?

It is POST https://verification.didit.me/v3/aml/, authenticated with an x-api-key header rather than an OAuth bearer token. The only required body field is full_name, with a minimum of 2 characters. The response returns request_id and an aml object; the exact fields follow the documented result schema.

How much does one AML screening cost a bank?

$0.20 per completed check at list price, $0.192 on Growth and $0.18 on Scale. One credit is charged after the first successful screening, and a replayed idempotent response is not charged again. There is no monthly minimum on the AML line itself, and sandbox calls never bill.

Which lists does Didit screen against?

We screen against 1,300+ global watchlists covering sanctions, PEPs, warning and watchlist sources, plus adverse media when you set include_adverse_media to true. Potential matches are returned with a match score and a risk score. The full warning catalogue is in the warnings documentation.

What is the difference between match score and risk score?

The match score, 0 to 100, says how likely it is that the listed entity is the same person you are screening. The risk score, 0 to 100, says how risky that listed entity is if the match is real. Hits below aml_match_score_threshold, default 93, are tagged False Positive and excluded from risk, and the highest remaining risk score becomes aml.score, which sets the final status.

Why does the API return 400 on my first request?

Two causes are documented. Either aml_name_weight plus aml_dob_weight plus aml_country_weight does not sum to exactly 100, or you sent include_ongoing_monitoring=true with save_api_request=false. Fix the weights and turn persistence on before monitoring, and the call goes through.

What does a sandbox key return for an AML screening?

A key from a sandbox application skips screening and billing and returns a mocked result: Approved, with zero hits, unless you pass sandbox_scenario to arm a specific path. save_api_request works the same as on a live key, so the saved screening is retrievable through the decision endpoint. Sandbox testing is free and unlimited.

How should a bank handle an In Review result?

In Review means at least one hit scored above aml_score_approve_threshold and none crossed the decline boundary, so a person has to decide. Route it to your reviewer queue; the hit detail and the score breakdown are in the Didit Business Console, and a reviewer can approve, decline or request a resubmission with PATCH /v3/session/{sessionId}/update-status/. The final decision and its reason stay in your file.

How long does adverse media screening take?

Plain screenings usually finish in a few seconds. With include_adverse_media set to true the API waits for adverse media enrichment, an initial pause of about 5 seconds plus up to about 25 seconds of polling, so configure a client timeout of at least 60 seconds. If the upstream provider is slow, the result comes back without adverse media hits and is still actionable.

How do I stop ongoing monitoring for a customer?

Turn it off from the Business Console, where the setting lives on the stored profile. Ongoing monitoring requires save_api_request=true, so there is always a stored profile to switch off. It is billed at $0.07 per screened entity per year, $0.0672 on Growth and $0.063 on Scale.

Can I run AML screenings from an AI assistant?

Yes, through the hosted Didit MCP server at https://mcp.didit.me/mcp, which signs in with OAuth and costs nothing as a server. Follow the documented MCP setup page to connect your client. Checks run through it bill at your plan's prices.

Do I have to store the screening inside Didit?

No. save_api_request defaults to true, which stores the screening as a session, makes request_id work with the decision endpoint, lists it in the console and fires status.updated. Set it to false and nothing is stored, request_id becomes a transient correlation id, and ongoing monitoring is not available.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.