Skip to main content

Optimizing Batch AML Screening with Didit and AWS Batch

Learn how to significantly reduce costs and boost performance for batch AML screening by integrating Didit's asynchronous API with AWS Batch.

Optimizing Batch AML Screening with Didit and AWS Batch

Contents

In this guide

Jump to the part you need.

Cost-Effective ComplianceLeverage AWS Batch's serverless computing model to pay only for the resources consumed during large-scale AML screening operations, drastically reducing infrastructure overhead.

Enhanced Performance and ScalabilityProcess millions of AML checks efficiently by distributing tasks across a highly scalable and fault-tolerant AWS Batch environment, ensuring rapid turnaround times.

Seamless Asynchronous ProcessingUtilize Didit's asynchronous AML Screening API to submit large batches of data without waiting for individual responses, optimizing API call efficiency and system throughput.

AI-Native, Modular SolutionsDidit provides an AI-native, modular AML Screening solution that integrates effortlessly with existing compliance workflows, offering real-time risk detection against 1300+ global watchlists and configurable risk thresholds.

The Challenge of Batched AML Screening

For many businesses, particularly those in financial services, e-commerce, or online gaming, the need to perform Anti-Money Laundering (AML) screening isn't just about real-time onboarding. There's often a significant requirement for batch screening existing customer bases, periodic re-screening, or processing large historical datasets. This can be a daunting task, as traditional synchronous API calls for millions of records can be slow, resource-intensive, and incredibly expensive. The core challenge lies in balancing the need for comprehensive compliance with the demand for cost-efficiency and high performance. Manual processes are out of the question for such volumes, and even automated systems can struggle without the right architecture. Businesses need a solution that can handle massive loads without breaking the bank or causing significant operational delays.

Introducing Didit's Asynchronous AML API

Didit, as an AI-native, developer-first identity platform, understands these challenges. Our AML Screening product is designed not just for real-time checks but also for efficient batch processing. A key component of this efficiency is our asynchronous API. Unlike synchronous calls, where your system waits for a response for each individual screening request, an asynchronous approach allows you to submit a large volume of requests and receive notifications or retrieve results later. This is crucial for batch operations, as it prevents your application from being bottlenecked by API latency. Didit's AML Screening screens users against 1300+ global sanctions, PEP, and watchlist databases, providing a two-score risk system with configurable compliance thresholds. This means you can submit an entire list of users for screening, and Didit will process them in the background, providing detailed reports that include hit details, risk scores, match scores, PEP matches, sanctions data, and adverse media intelligence.

Leveraging AWS Batch for Scalable Processing

To truly unlock the potential of Didit's asynchronous AML API for large batches, combining it with a powerful, scalable compute service is essential. This is where AWS Batch comes in. AWS Batch is a fully managed service that enables developers, scientists, and engineers to easily run hundreds of thousands of computing jobs on AWS. It dynamically provisions the optimal quantity and type of compute resources (e.g., CPU or memory optimized instances) based on the volume and specific resource requirements of your batch jobs. By using AWS Batch, you can:

  • Automate Resource Provisioning: AWS Batch handles all the heavy lifting of managing your compute infrastructure, from EC2 instances to containers, scaling up and down as needed.

  • Maximize Cost Efficiency: Pay only for the compute resources consumed by your jobs. AWS Batch can leverage Spot Instances, offering significant cost savings for fault-tolerant workloads like batch AML screening.

  • Enhance Reliability: Distribute your workload across multiple compute instances, ensuring that even if one instance fails, your overall batch job continues to progress.

  • Simplify Job Management: Define your jobs as Docker containers, making them portable and easy to manage. AWS Batch takes care of scheduling, monitoring, and retrying failed tasks.

Imagine having a list of a million customers to re-screen. Instead of sending one request at a time and waiting, you package your data, submit it to an AWS Batch job, which then uses Didit's asynchronous API to process it concurrently across many workers. This dramatically reduces the total processing time and the operational burden.

Implementing a Cost-Optimized Batch AML Workflow

Here's a high-level overview of how you can implement an optimized batch AML screening workflow using Didit and AWS Batch:

  1. Prepare Your Data: Consolidate your customer data into a structured format (e.g., CSV, JSON) suitable for batch processing. Ensure it contains necessary fields like full name, date of birth, and country for optimal AML screening by Didit.

  2. Develop a Batch Job Application: Create a simple application (e.g., a Python script) that reads a chunk of your prepared data, calls Didit's asynchronous AML Screening API for each record, and stores the session IDs or initial responses. This application will be containerized using Docker.

  3. Configure AWS Batch: Define your compute environment (e.g., using EC2 Spot Instances for cost savings), job queues, and job definitions in AWS Batch. Your job definition will point to your Docker image.

  4. Submit Batch Jobs: Break your large dataset into smaller, manageable chunks. For each chunk, submit a job to AWS Batch. AWS Batch will then launch container instances, run your application, and process the data.

  5. Retrieve Results: Your batch job application can be designed to store the Didit AML screening results (or references to them) in a central location like an S3 bucket or a database. You can then poll Didit's API using the session IDs to retrieve the final, detailed AML reports once processing is complete. Didit's comprehensive AML report includes match information, scoring details (match score and risk score), and adverse media details, crucial for compliance officers.

  6. Automate Actions: Based on the AML screening warnings and scores (e.g., POSSIBLE_MATCH_FOUND or high risk scores), automate subsequent actions such as flagging users for manual review or declining transactions, leveraging Didit's configurable verification settings.

This approach transforms a potentially slow and expensive operation into a fast, reliable, and highly cost-effective one, allowing your compliance teams to focus on reviewing actual high-risk cases rather than managing infrastructure.

How Didit Helps

Didit is at the forefront of enabling efficient and compliant identity verification, including robust AML screening. Our platform is designed with a modular architecture, meaning you can easily integrate our powerful AML Screening product into your existing systems and workflows. Didit's AI-native capabilities ensure highly accurate risk assessment and match scoring, minimizing false positives and focusing your resources on true risks. We offer AML Screening that screens against over 1300 global sanctions, PEP, and watchlist databases in real-time, delivering a two-score risk system (match score and risk score) with fully configurable compliance thresholds. Furthermore, Didit stands out by offering Core KYC, and its pay-per-use pricing and absence of setup fees let businesses get started without upfront investment. Our developer-first approach, complete with an instant sandbox and clean APIs, makes integration with services like AWS Batch seamless. Whether it's for initial onboarding or ongoing monitoring, Didit provides the tools to automate trust and orchestrate risk globally and at scale.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

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

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

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.