Skip to main content

AML Screening API in Brazil: How to Integrate It in 2026

Didit's AML Screening API checks a person or company against 1,300+ sanctions, PEP and watchlist sources for $0.20 per check, returning a match score and a risk score per hit.

AML Screening API in Brazil: How to Integrate It in 2026

Contents

In this guide

Jump to the part you need.

This guide is for engineering and compliance teams in Brazil that screen people or companies against sanctions, PEP, warning and adverse-media lists from their own code. Didit's AML Screening API costs $0.20 per check, covers 1,300+ lists and returns two scores for every potential hit. The caveat comes first: the API returns evidence, and your thresholds decide who is approved, who waits for a human and who is declined.

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

AML Screening API at a glance
ItemValue
EndpointPOST https://verification.didit.me/v3/aml/
Authenticationx-api-key header, server side only
Price$0.20 per completed screening; ongoing monitoring $0.07 per person a year
Lists1,300+ sanctions, PEP, warning and watchlist sources, with adverse media as an option
Scores per hitmatch_score (0 to 100, identity confidence) and risk_score (0 to 100, entity risk)
Default thresholdsMatch 93, approve 80, review 100
LatencyA few seconds; with adverse media, plan a client timeout of at least 60 seconds
SandboxFree, mocked results, no billing

Start free in the sandbox at business.didit.me, with no sales call, then read the AML screening product page and the price list before you scale. Developers who want an AI assistant to drive the integration can connect Didit through MCP.

What an AML screening API does for a Brazilian business

Brazilian compliance teams should map this screening result to their own customer-due-diligence, risk-assessment, record-keeping and reporting obligations. Didit returns screening evidence, while your compliance team owns the policy and any required reports.

Used this way, an AML compliance API is a control inside your onboarding flow rather than a separate back office tool. A fintech opening accounts, a crypto exchange onboarding traders, a real estate agency checking buyers and a marketplace paying sellers all run the same call at the moment a person becomes a customer, and again when that person's details change.

The standalone endpoint is server-to-server. You call POST /v3/aml/ from your backend with your secret key, and the call does not itself make the compliance decision: it returns the matches and the two scores, and your team's policy decides what happens next. The Didit AML screening product page describes the two-score model in plain terms.

Didit screens at person level and at company level. Company screening adds insolvency and bankruptcy registers and regulatory watchlists published by authorities in the United States, Canada, Colombia and Brazil, next to UN, EU, OFAC and development bank sanctions lists. The business AML coverage page lists the publishers.

Prerequisites

  • A Didit organization and an application. Log in to the Business Console, pick the application, then open Developers, API keys. The primary key is the application's own secret.
  • Your key kept on the server. New keys start with sk_test_ for a sandbox application and sk_live_ for a live one. Never ship a key to a browser or a mobile bundle. The authentication page explains the header and the failure codes.
  • A decision on thresholds before the first live call: aml_match_score_threshold, aml_score_approve_threshold and aml_score_review_threshold, plus the three weights aml_name_weight, aml_dob_weight and aml_country_weight, which must sum to exactly 100.
  • A decision on persistence. save_api_request defaults to true, which stores the screening as a session you can re-read, review and export.
  • Optional: a webhook endpoint so status.updated reaches you, verified with the X-Signature-V2 HMAC-SHA256 signature as described in the webhooks page.

Run the integration: seven steps

  1. Point at the right host. The verification API lives at https://verification.didit.me and takes the x-api-key header. The account API at apx.didit.me uses a bearer token and is a different surface, so do not mix the two headers.
  2. Set the weights and thresholds for your first request. If you send weights, they must add up to 100, with defaults of 60 for name, 25 for date of birth and 15 for country. Components you leave out are re-normalised. A matching document_number overrides the match score to 100.
  3. Decide whether you want adverse media and monitoring on this call. include_adverse_media=true adds latency. include_ongoing_monitoring=true requires save_api_request=true and is rejected with HTTP 400 otherwise.
  4. Send the screening request. This is the call from the standalone AML API docs, with an idempotency key added so a retry after a timeout cannot bill twice.
    curl -X POST 'https://verification.didit.me/v3/aml/' \
      -H "x-api-key: $DIDIT_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: onboarding-user-1234" \
      -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"
      }'
  5. Read the scores, not just the status. Take the highest risk_score among the hits that cleared the match threshold, compare it with your approve and review thresholds, and store request_id, screening_id and vendor_data against your customer record.
  6. Pick up the result again later. With save_api_request=true the screening is stored as a session, so GET /v3/session/{sessionId}/decision/ returns it and GET /v3/session/{sessionId}/generate-pdf/ produces a report for the file. A status.updated webhook fires when the status changes.
  7. Switch to a live key and watch the balance. The sandbox application returns mocked results and bills nothing. Live calls bill one AML credit after the first successful screening, and an empty balance returns HTTP 403 before any screening runs.

Expected output

The response carries a correlation id and an aml object. The field names below are the documented ones. The values are illustrative, and the scores are numbers, not strings; your own values depend on your data and your thresholds.

{
  "request_id": "6f1c2a93-correlation-id",
  "aml": {
    "status": "In Review",
    "score": 80,
    "screening_id": "aml_8f42c1d0-screening-id",
    "hits": [
      {
        "match_score": 96,
        "risk_score": 80,
        "review_status": "Unreviewed"
      }
    ],
    "warnings": ["POSSIBLE_MATCH_FOUND"]
  }
}

Warning codes you will see include POSSIBLE_MATCH_FOUND, MATCH_FOUND, HIGH_RISK_COUNTRY, ADVERSE_MEDIA_HIT, SANCTIONED_ENTITY, PEP_MATCH and ONGOING_MONITORING_ENABLED. A score of exactly zero never raises a warning.

How to read the two scores and where review starts

match_score answers one question: is this record the same person we are screening? It is built from name, date of birth and country similarity, re-weighted by whatever you left out, and jumped to 100 when a document number matches. Hits below aml_match_score_threshold (default 93) are tagged False Positive and ignored for risk purposes.

risk_score answers the second question: if the match is real, how risky is the listed entity? Country risk, category such as PEP or sanctions, and criminal records feed it. The highest risk_score among the surviving hits becomes the screening score, and that score drives the status.

AML screening result for a session in the Didit Business Console, showing the status and the hit list
The screening result as it lands in the Business Console: status, score and every hit.

A score above the approve threshold (default 80) and at or below the review threshold produces In Review. A score above the review threshold produces Declined. Anything else is Approved.

Read the defaults carefully. The review threshold ships at 100, the top of the scale, so with default settings a real hit lands In Review for a human rather than declining on its own. If you want automatic declines in your automated flow, set aml_score_review_threshold below 100 and document why.

The score breakdown of an AML hit in the Didit Business Console
The score breakdown of a hit, so a reviewer can see what pushed the risk score up.

Inputs and outputs

Request fields for POST /v3/aml/
FieldRequiredWhat it does
full_nameYesPerson or company to screen, minimum 2 characters
entity_typeNoperson for an individual
date_of_birthNoNarrows matches; missing values are re-normalised in the weights
nationalityNoCountry component of the match score
document_numberNoGolden key: a match overrides match_score to 100
include_adverse_mediaNoAdds adverse-media enrichment and latency
include_ongoing_monitoringNoKeeps the profile under provider-driven monitoring; needs save_api_request=true
save_api_requestNoDefaults to true; false returns a transient correlation id and stores nothing
vendor_dataNoYour own user id, echoed back and searchable
aml_name_weight, aml_dob_weight, aml_country_weightNoMust sum to exactly 100 when sent
aml_match_score_threshold, aml_score_approve_threshold, aml_score_review_thresholdNoYour decision boundaries
Response fields
FieldMeaning
request_idCorrelation id; with persistence on it identifies the stored session
aml.statusApproved, In Review or Declined
aml.scoreHighest risk_score among hits that cleared the match threshold
aml.screening_idIdentifier of this screening
aml.hits[]Every potential match with match_score, risk_score and review_status
aml.warnings[]Risk codes such as PEP_MATCH or ADVERSE_MEDIA_HIT

Failure cases and how to recover

What breaks, why, and what to do
What you seeWhyRecovery
HTTP 400Weights do not sum to 100, or ongoing monitoring without save_api_request=trueFix the body and send it with a new Idempotency-Key, since a changed body under the old key answers 409
HTTP 401Key wrong, malformed, revoked or expiredIssue a key in Developers, API keys, and redeploy it server side
HTTP 403Insufficient credit, or a scoped key without access to this resourceTop up the balance, or widen the key scope
HTTP 409The idempotency key was reused with a different bodySend a new key for the new body
HTTP 429Rate limit, with a wait field in secondsBack off for that many seconds, then retry with the same idempotency key
Result without adverse-media hitsThe upstream provider was slowThe result is still actionable; rescreen later if the review depends on media
status is DeclinedA hit cleared the match threshold and scored above your review thresholdNot an error. Route it to the compliance process you documented
status is In ReviewThe score fell between the approve and review thresholdsSend to a human queue; hit review statuses can be updated later

Idempotency is the recovery mechanism worth building first. The key is scoped to your application and to the exact request body, so a retry after a timeout returns the stored response without running or billing a second screening. If the original request is still running, retry later with the same key rather than firing a new one.

The details of an AML hit in the Didit Business Console, with the listed entity and its source
An individual hit, with the listed entity and its source, ready for a reviewer decision.

What is billed, and where human review begins

Prices are per completed check from prepaid credit, and each line has its own price. The standalone screening in this guide is $0.20 per check. Company AML screening at $0.20 per company and person AML at $0.20 per UBO or officer are separate charges inside business verification, which starts at $2.00 per company; neither is part of the standalone call above, so keep them out of this per-call arithmetic. A full ID check is $0.33, made of ID document $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. Ongoing monitoring is $0.07 per person a year.

Growth takes 4% off every Didit price and Scale 10%, and each plan's monthly credit pays first before top-ups. Sandbox calls are free on every plan, and replayed idempotent responses are not charged again. Review boundaries sit outside the per-check price: a hit that lands In Review or is later contested goes to a human queue, and that reviewer time is your team's cost, not part of the screening fee.

Ongoing monitoring in Brazil

Lists change after onboarding. Setting include_ongoing_monitoring=true with save_api_request=true keeps the screened profile under provider-driven monitoring, so list updates reach the report instead of stopping at the day of onboarding. It costs $0.07 per screened entity per year and can be switched off from the Business Console. Monitoring is the cheaper half of the control: you pay $0.20 once to establish the match, then a few cents a year to keep watching it.

Worked cost example

Take a Brazilian fintech onboarding 2,000 new customers a month, running a full ID check plus an AML screen on each one, with ongoing monitoring on every profile.

  • Full ID check: $0.15 + $0.10 + $0.05 + $0.03 = $0.33.
  • One customer at list price: $0.33 + $0.20 = $0.53.
  • 2,000 customers a month: 2,000 x $0.53 = $1,060.
  • The same volume on Scale prices: $0.297 + $0.18 = $0.477 per customer, so 2,000 x $0.477 = $954 a month.
  • Ongoing monitoring at list price: 2,000 x $0.07 = $140 a year. On Scale prices: 2,000 x $0.063 = $126 a year.

Business verification is not in this total, because these 2,000 customers are individuals. Any hit that lands In Review moves to a human queue, and that reviewer time sits outside this per-check arithmetic.

Sources

Open the console, create a sandbox application and send your first screening against it at business.didit.me. No sales call, and the sandbox returns a mocked result you can use to inspect the response fields.

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 an AML screening API?

It is an HTTP endpoint that takes a name, and optionally a date of birth, nationality or document number, and returns every potential match against sanctions, PEP, warning and watchlist sources. Didit's AML Screening API answers POST https://verification.didit.me/v3/aml/, costs $0.20 per check and returns a match score plus a risk score for each hit. It does not replace your due diligence policy; it produces the evidence your policy acts on.

How much does AML screening cost in Brazil with Didit?

$0.20 per completed screening at list price, $0.192 on Growth and $0.18 on Scale. Ongoing monitoring is $0.07 per person a year. There is no monthly minimum for the AML line itself, and sandbox calls are free.

Which lists does the Didit AML API check against?

1,300+ sources covering sanctions, PEPs, warning and watchlists, plus adverse media when you ask for it. For companies, Didit adds insolvency and bankruptcy registers and regulatory watchlists published by authorities in the United States, Canada, Colombia and Brazil, alongside UN, EU, OFAC and development bank lists. The publisher list is on the business AML coverage page in the docs.

What is the difference between match score and risk score?

The match score says how likely the listed record is the person you are screening, on a 0 to 100 scale, and hits below your match threshold (default 93) are tagged as false positives. The risk score says how risky that listed entity is if the match is real. The highest risk score among the surviving hits becomes aml.score and sets the status.

How do I handle an In Review or Declined result?

Neither is an HTTP error, so build them into your flow. In Review means the score landed between your approve and review thresholds and belongs in a human queue. Declined means it crossed the review threshold. With the default review threshold of 100 nothing declines automatically, so lower it if you want automated refusals.

Can I test the AML screening API without paying?

Yes. Keys from a sandbox application skip screening and billing and return an Approved result with zero hits unless you pass sandbox_scenario. Persistence works the same way, so a saved sandbox screening can be read back through the decision endpoint and exported as a PDF. The sandbox is free on every plan.

Can the API screen companies as well as people?

Yes. Company AML screening is $0.20 per company and person AML for each UBO or officer is $0.20 per person, on top of business verification from $2.00 per company, and those are separate charges from the standalone person call described here. Company and person matches are surfaced together so a compliance team sees the entity and the people behind it in one review.

Can I keep monitoring a customer after onboarding?

Yes, with include_ongoing_monitoring=true and save_api_request=true, which the API enforces with HTTP 400 if you send one without the other. Monitoring costs $0.07 per screened entity per year and can be disabled from the Business Console at any time.

How long does one AML screening take?

Plain screenings typically finish in a few seconds. With adverse media enabled the API waits for 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 and retry with the same Idempotency-Key if the connection drops.

Are there AML screening services that fit a small fintech without a compliance team?

Yes, if you keep the policy small and explicit. The API gives a small team the matching, and with save_api_request=true every screening is stored as a session you can re-read through the decision endpoint and export as a PDF, with the hits and their review statuses kept in the Business Console. It does not give you a policy. Start with a full ID check plus AML at $0.53 per customer, set the review threshold where a human can absorb the queue, and route only the borderline hits to review.

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.