Skip to main content

Business

Build Your Own KYC or Use a Low-Cost KYC API in 2026

Integrate a KYC API instead of building one: a full Didit ID check costs $0.33, AML screening $0.20, the sandbox is free and unlimited on every plan, and a working flow runs from one workflow plus one session call.

Build Your Own KYC or Use a Low-Cost KYC API in 2026

Contents

In this guide

Jump to the part you need.

Building KYC in house takes months of engineering, and every rule change lands on your team. Integrating a KYC API instead gives you a working verification flow from account to decision with the documented quick start, at a published price: a full ID check on Didit costs $0.33, and the Free plan carries $10 of monthly credit for organizations that sign up with an eligible work email. The caveat: the decision logic around the API response stays yours.

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

Build your own KYC versus integrate a low-cost KYC API
DimensionBuild in houseIntegrate a KYC API
Time to a first working flowMonths of product, engineering, QA and legal work before one user is verifiedA working verification flow from account to decision with the documented quick start: one workflow call, one session call, a webhook destination registration and a webhook handler
Cost basisOwned infrastructure, model upkeep and audit work, with no published unit pricePublished unit prices: $0.33 per full ID check, $0.20 per AML screening
Regulatory upkeepYours, for every rule and document changeThe API runs the documented checks while you keep your verification policy
CoverageOnly what you build220+ countries, 14,000+ document types and 54 flow languages on Didit
Fraud signalsYours to collect and score200+ signals on every Didit check
Manual reviewYour queue, your roles, your audit logDidit Business Console with exact status strings and a review trail
ControlTotal, bugs includedFull control of workflow, rules and data; Didit runs the documented checks

Start free in the sandbox at business.didit.me, no sales call required, and check every unit price on Didit pricing. If you want a coding assistant to draft the integration, connect Didit to your AI assistant through the Didit MCP server.

When to build and when to integrate

Build in house when identity checks are your product, or when a regulator has approved a process you cannot change. Those are real cases. For everything else the arithmetic is simple: identity checks are commodity infrastructure with a fast-moving fraud surface, and a team maintaining them is not working on your differentiator.

Integrate when you need a live check this quarter, when you sell across more than one country, or when you cannot yet say how many users will need enhanced due diligence. Paying per completed check keeps the fixed cost near zero and scales with volume. Didit publishes 25+ modules and one public price list so you can estimate before you commit. We serve 4,000+ companies.

Didit Free KYC flow covering ID document verification and biometrics
Free KYC by Didit: ID document, passive liveness and face match in one check for $0.33.

What an AML KYC API covers end to end

An AML KYC API does two jobs that teams often build twice. First it verifies the person: ID document, passive liveness, face match, device and IP analysis. Second it screens that person against sanctions and PEP lists, drawn from 1,300+ AML lists. On Didit the two jobs are separate lines on the price list, so you start with identity and add screening when a product or a jurisdiction needs it.

Keep the two jobs apart when you budget. A full ID check answers one question: is this person who they say they are. AML screening answers a different one: does this person appear on sanctions and PEP lists. Identity runs on every onboarding, screening runs where your policy or your regulator requires it, and the price example below costs both so you can see each line.

  • Full ID check: $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.
  • AML screening: $0.20 per check against 1,300+ lists.
  • Ongoing AML monitoring after onboarding: $0.07 per person per year.
  • Proof of address: $0.20. NFC passport chip reading: $0.15 as an add-on.
  • Wallet screening inside Transaction Monitoring: $0.15 per screening, or bring your own screening provider and run it inside Didit.

Identity plus AML comes to $0.53 per user at list price. That is the listed cost for this identity-plus-AML example on Didit, and it is the number to compare against the engineers, analysts and reviewers you would need to own the same process.

AML screening result for a session in the Didit Business Console
AML results land on the same session as the identity checks, so a reviewer reads one record.

Prerequisites before step one

  • A Didit organization. Sign up at business.didit.me with an eligible work email to receive $10 of monthly credit on the Free plan. An organization created through the API starts at $0 credit.
  • An API key. Programmatic registration returns a sandbox key and a live key; the sandbox key builds and tests for free. Keep the live key out of client-side code.
  • A workflow. The workflow id is required on every session call, and its type decides whether you get a KYC or a KYB session.
  • An HTTPS endpoint that answers in under 5 seconds if you want webhooks, plus somewhere to store the destination signing secret.
  • A written policy decision: which checks run for which user, and which outcomes must reach a human reviewer.

How to integrate a KYC API in six steps

These steps follow the Didit quick start and use only documented endpoints. The outcome is a session that ends in one exact status string, plus a stored decision you can audit and re-read. The curl calls run as written once the environment variables are set.

  1. Create the organization and copy the API key. Sign up, create an organization, then open the API keys section and put the sandbox key in DIDIT_API_KEY. Everything below runs in the sandbox, which is free on every plan.

  2. Create a workflow. A simple workflow runs its steps in a fixed order; a node-based workflow branches on results. This call creates a standard KYC workflow with OCR, passive liveness, face match and AML screening, and returns the workflow.id you need next.

    curl -X POST https://verification.didit.me/v3/workflows/ \
    -H "x-api-key: $DIDIT_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "workflow_label": "Standard KYC",
      "workflow_type": "kyc",
      "features": [
        {"feature": "OCR"},
        {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}},
        {"feature": "FACE_MATCH"},
        {"feature": "AML"}
      ]
    }'
  3. Create a session. Send the workflow id, your own user id in vendor_data and a callback URL. The response returns session_id, url and session_token; redirect the person to url. vendor_data binds the session to one user in your database and is used for duplicate detection.

    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/kyc/return"}'
  4. Register a webhook destination. Subscribe to the events you act on and save the returned secret_shared_key as DIDIT_WEBHOOK_SECRET; the destination endpoint returns it again if you lose it.

    curl -X POST https://verification.didit.me/v3/webhook/destinations/ \
    -H "x-api-key: $DIDIT_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"label": "Production", "url": "https://myapp.com/api/webhooks/didit", "subscribed_events": ["status.updated", "data.updated"], "webhook_version": "v3"}'
  5. Receive and verify the webhook. Read the raw body before parsing. Verify X-Signature-V2, a HMAC-SHA256 over the canonical JSON, and reject any request whose X-Timestamp is more than 300 seconds old. De-duplicate on event_id, apply the decision, and answer with a 2xx within 5 seconds. Statuses are exact, case-sensitive strings: "Approved", "Declined", "In Review", "In Progress", "Not Started", "Awaiting User", "Resubmitted", "Expired", "Abandoned" and "Kyc Expired", which uses a single capital K.

  6. Fetch the decision as a fallback. If a webhook is missed, pull the full decision. Branch on session_kind, then read the plural feature arrays. V3 always returns arrays such as id_verifications[], liveness_checks[], face_matches[] and aml_screenings[], never singular fields.

    curl https://verification.didit.me/v3/session/$SESSION_ID/decision/ \
    -H "x-api-key: $DIDIT_API_KEY"
The screens a user sees during a Didit KYC verification
The hosted flow the user opens from the session url: document capture, then liveness and face match.

Expected output

The session call returns the identifiers you persist. A webhook delivery for the same session carries the decision object.

{
  "event_id": "uuid",
  "session_id": "uuid",
  "status": "Approved",
  "webhook_type": "status.updated",
  "environment": "live",
  "workflow_id": "uuid",
  "vendor_data": "user-42",
  "decision": { }
}

The decision object mirrors the retrieve endpoint. Expect session_kind set to "user", a status, a decision_trace that records whether a person or the automated checks decided, and one array per feature that ran. A field for a feature that did not run is absent or null, never a placeholder.

Didit Business Console session overview showing status and warnings
The same session in the Didit Business Console: status, warnings and the review trail in one view.

Failure cases and recovery

Common KYC API failures and what to do
SymptomCauseRecovery
403 with "You do not have permission to perform this action."Missing x-api-key header, or a JWT problem on the auth hostSend the key on every request and check the header name
401Key is wrong, revoked or expiredCopy the key again from the console
400 on session creationUnknown workflow_id, or a callback outside the application allowed domainsUse the workflow id from the create response, and add the origin to the allowed domains
400 on session_expiration_timeValue outside 3600 to 2419200 seconds, or not a whole numberSend an integer inside the range, or omit it to use the workflow setting
Webhook never arrivesHandler slower than 5 seconds, or a 5xx or 404 answerDidit retries twice, after about 1 and 4 minutes, then drops the delivery; resend it from the destination delivery log
404 on the decision endpointSession does not exist or belongs to another applicationCheck the key, the environment and the session id
403 on the decision endpointKey lacks the read:sessions privilegeIssue a key with that privilege

Two habits remove most support tickets. Verify webhook signatures against the raw body and accept the -Previous signature header while a secret rotation is deploying. Store the decision, not just the status, so a reviewer can reconstruct why a user was approved without calling the API again.

Inputs and outputs

Fields on a Didit KYC API session and what comes back
FieldDirectionWhat it does
workflow_idInput, requiredSelects the checks and the session kind
vendor_dataInputYour stable user id, used for duplicate detection across sessions
callbackInputWhere the hosted flow redirects, with the session id and status appended
metadata, tagsInputEchoed back in responses and webhooks; tags filter sessions in the console
languageInputISO 639-1 code for the verification UI
expected_detailsInputExpected name, date of birth, nationality or document types; mismatches surface as decision warnings
session_id, url, session_tokenOutputThe session handle, the hosted flow link and the token for your client
status, decision_traceOutputThe outcome and how it was reached
id_verifications[], liveness_checks[], face_matches[], aml_screenings[]OutputPer-feature evidence, always as arrays in V3

What you pay for, and where a human steps in

Billing is per completed check from prepaid credit, and a check is charged only when it finishes with a result. The sandbox is free on every plan and unlimited, so testing never runs up a bill. On the Free plan the $10 monthly credit buys about 30 full ID checks at $0.33 each.

Published Didit prices for the steps in a KYC flow
StepPriceUnit
Full ID check: document, passive liveness, face match, device and IP$0.33check
AML screening$0.20check
Proof of address$0.20check
NFC passport chip reading$0.15check
Ongoing AML monitoring$0.07user per year
Wallet screening$0.15screening
Business verification (KYB)from $2.00company

Review boundaries are explicit in the status model. Automated checks drive most moves. A session lands in "In Review" when warnings need a person, and a reviewer approves, declines or requests a resubmission. A manual change is recorded in status_override with the automatic status it replaced, so an audit can separate machine decisions from human ones.

Plans follow usage. Below $15,000 a year of spend the self-serve Free, Growth and Scale plans are the right fit; from $15,000 a year, Enterprise is an annual contract. Read the exact plan terms on Didit pricing before you quote them.

Worked cost example

Assume 5,000 completed identity plus AML checks in a month, one per new user. Every number below is a published list price.

  • List price: $0.33 + $0.20 = $0.53 per user. 5,000 x $0.53 = $2,650.00 for the month.
  • Growth plan: the full ID check is $0.3168 and AML is $0.192, so $0.5088 per user. 5,000 x $0.5088 = $2,544.00. The $115.00 plan credit covers the first $115.00, leaving $2,429.00 from top-ups, plus the $99.00 monthly fee, for $2,528.00 in total.
  • Scale plan: the full ID check is $0.297 and AML is $0.18, so $0.477 per user. 5,000 x $0.477 = $2,385.00. The $350.00 credit leaves $2,035.00 from top-ups, plus the $299.00 monthly fee, for $2,334.00 in total.
  • A smaller month of 500 checks: 500 x $0.53 = $265.00 at list price. On the Free plan the $10.00 credit covers 18 of those checks ($10.00 / $0.53 = 18.9) and top-ups pay the rest.

Sources

The next step is a sandbox organization at business.didit.me: create a workflow from the KYC template, run one session, and read the decision in the console. The sandbox is free and unlimited, and no sales call is needed to start.

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

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Frequently asked questions

What is an AML KYC API?

An AML KYC API is a programmatic service that verifies a person's identity document and biometrics, then screens the same person against sanctions and PEP lists. On Didit the full ID check costs $0.33, AML screening costs $0.20 against 1,300+ lists, and an identity plus AML decision is $0.53 per user at list price.

How much does a KYC API cost in 2026?

On Didit a full ID check is $0.33, made of ID document $0.15, passive liveness $0.10, face match $0.05 and device and IP analysis $0.03. AML screening adds $0.20 per check. The Free plan includes $10 of monthly credit for organizations that sign up with an eligible work email, and the sandbox is free and unlimited on every plan.

Is it cheaper to build KYC yourself or use an API?

Building has no published unit price, because the cost is your own engineering, model upkeep, audit work and the months before the first live check. An API has a published number: $0.33 per full ID check and $0.20 per AML screening. Treat this as a comparison framework rather than a calculated total: put your own loaded engineering cost per month next to the published per-check price, and the gap widens with every regulation or fraud pattern change.

How long does it take to integrate a KYC API?

The documented Didit quick start goes from account to decision with one workflow call, one session call, a webhook destination registration and a webhook handler, and the docs do not publish a time estimate for a full integration. The sandbox is free on every plan and unlimited, so you can build and test the whole path before you spend anything.

What is the difference between a KYC API and a no-code workflow?

A no-code workflow is built in the Didit console and shared as a hosted link, which suits teams without engineers or a quick pilot. The API starts the same workflow from your backend and returns the decision to your database, which suits product onboarding at scale. Both bill the same published per-check prices.

Do I need AML screening for every user?

No. A full ID check, $0.33 on Didit, confirms that the person is who they say they are, and AML screening, $0.20 per check, matches that person against sanctions and PEP lists. You add screening for the users your own policy or your regulator names, and on Didit the two are separate lines on the price list, so you do not pay $0.20 for every onboarding.

When does a verification go to manual review?

A session lands in "In Review" when automated checks raise warnings that need a person. A reviewer then approves, declines or requests a resubmission, and the change is recorded in status_override with the automatic status it replaced. That record is what lets an auditor tell a machine decision from a human one.

What happens if my webhook endpoint is down or slow?

If your handler takes longer than 5 seconds, or answers 5xx or 404, Didit retries twice, after about 1 and 4 minutes, then drops the delivery. You can resend it from the destination delivery log, and you can always fall back to GET /v3/session/{session_id}/decision/ for the full decision.

Can I test a KYC API without paying?

Yes. The Didit sandbox is free on every plan and unlimited, so test traffic never touches live checks or live billing. Sandbox applications use their own API key, separate from the live application key. The sandbox testing docs cover the scenarios and test data.

Does a KYC API cover ongoing AML monitoring and wallet screening?

Yes. Ongoing AML monitoring after onboarding costs $0.07 per person per year on Didit. Wallet screening runs inside Transaction Monitoring at $0.15 per screening, and if you already have a screening provider you can bring your own and run it inside Didit.

Which countries and documents does Didit cover?

Didit verifies in 220+ countries, recognises 14,000+ document types and runs its hosted flow in 54 languages. Document recognition covers 130+ languages across 50+ scripts, which matters when your users upload IDs from markets you did not plan for.

Does Didit do business verification too?

Yes. Business verification (KYB) starts at $2.00 per company on the published price list, with registry data priced by country and data tier, and owners and officers take a linked full ID check and person AML billed per person. The KYB quickstart follows the same account, workflow, session and webhook sequence as the KYC flow. Transaction Monitoring has its own quickstart.

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.