Skip to main content

Free KYC API in 2026: Build a Low-Cost Verification Flow

Didit gives you a free sandbox on every plan and $10 of monthly credit to the first eligible console organization with a work email. Live checks are billed per completed check, from $0.33 per full KYC at list price.

Free KYC API in 2026: Build a Low-Cost Verification Flow

Contents

In this guide

Jump to the part you need.

We built Didit for teams that want an identity API without a sales call. The Free plan gives $10 in monthly credit to the first eligible organization created in the Business Console with a work email for its company domain; organizations created through the API start with $0. Live checks are billed from prepaid credit, from $0.33 per completed full KYC check at list price. Sandbox checks are free on every plan and mocked, and unused plan credit expires monthly.

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

Free KYC API access and cost at a glance, November 26, 2026
QuestionAnswer
Is there a free KYC API?Yes. Sandbox testing is free on every plan, and checks are mocked. The Free plan gives $10 in monthly credit to the first eligible organization created in the Business Console with a work email for its company domain. Organizations created through the API start with $0 in credit.
SandboxSandbox testing is free on every plan, and checks are mocked.
Full KYC check$0.33 list price per completed check: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP $0.03
KYC plus AML$0.53 per person at list price ($0.33 + $0.20 AML screening)
Paid plansGrowth $99 a month with $115 of credit (4% off the KYC prices shown), Scale $299 a month with $350 of credit (10% off the KYC prices shown), Enterprise from $15,000 a year
What is billedCompleted checks are billed from prepaid credit. The sandbox, the workflow orchestrator, the SDKs and the MCP server are free.
How you payPrepaid credit. Plan credit first, then top-ups from $50 to $20,000 that last 12 months.

Start free in the sandbox at business.didit.me with no sales call. If you build with a coding agent, connect Didit to an AI assistant through the Didit MCP server. The free KYC product page shows what a first flow looks like, and plan terms and the cost estimator sit on didit.me/pricing.

What is actually free in a free KYC verification API

Free and paid are separated by one line: building and testing costs nothing, and Didit generally bills completed checks from prepaid credit. Some no-match database lookups and retries are also billable, and the billing docs list them.

  • Sandbox: Sandbox testing is free on every plan, and checks are mocked.
  • Free plan credit: The Free plan gives $10 in monthly credit to the first eligible organization created in the Business Console with a work email for its company domain. Organizations created through the API start with $0 in credit. Unused plan credit expires each month. Sandbox checks are mocked, while eligible Free plan credit can pay for live checks. Phone verification codes are excluded from that credit and need a top-up or a paid plan.
  • Free infrastructure: the workflow orchestrator, the SDKs and the MCP server carry no per-call price.
  • Paid: each check that finishes with a result, at list price, paid from the month's credit first and then from top-ups of $50 to $20,000. Top-ups are added at face value and last 12 months. Balance bought before November 1, 2026 never expires.
Didit free KYC walkthrough showing ID document verification plus biometrics
The free KYC flow on Didit: ID document, passive liveness and face match in one session.
Common KYC checks and list price per completed check, November 26, 2026
CheckList priceGrowth, 4% offScale, 10% off
Full ID check (KYC)$0.33$0.3168$0.297
ID document only$0.15$0.144$0.135
Passive liveness$0.10$0.096$0.09
Face match 1:1$0.05$0.048$0.045
AML screening$0.20$0.192$0.18
Ongoing AML monitoring$0.07 per person a year$0.0672$0.063
Proof of address$0.20$0.192$0.18
Wallet screening$0.15 per screening$0.144$0.135

Build a free KYC API flow in seven steps

Prerequisites

  • An inbox that can receive a 6-character code. Reserved test domains such as @example.com are rejected with a 400 and the code email_undeliverable.
  • No console account is required: you can register programmatically. The console at business.didit.me is faster if you prefer a UI.
  • A public HTTPS endpoint, if you want to receive webhooks.
  • A callback URL, optional, if you want the hosted flow to return the user to your own page.
  • curl, or any HTTP client. The full end-to-end recipe for a coding agent is in the integration prompt.

Step 1: get a sandbox API key with two calls

Call the registration and email-verification endpoints without a bearer token. Email verification returns the sandbox and live API keys. Register first, then send the emailed code.

curl -X POST https://apx.didit.me/auth/v2/programmatic/register/ \
-H "Content-Type: application/json" \
-d '{"email": "you@yourdomain.com", "password": "StrongP@ss1"}'

curl -X POST https://apx.didit.me/auth/v2/programmatic/verify-email/ \
-H "Content-Type: application/json" \
-d '{"email": "you@yourdomain.com", "code": "A3K9F2"}'

Save sandbox_application.api_key as DIDIT_API_KEY and build for free. Keep application.api_key as DIDIT_LIVE_API_KEY and switch only to go live. New keys start with sk_test_ or sk_live_ plus 43 URL-safe characters, and older keys have no prefix, so never validate a key by its prefix. An organization created through the API starts at $0, so top up before live traffic.

Step 2: create a KYC workflow

The verification API lives on verification.didit.me and authenticates with x-api-key. A workflow decides which checks run and in which order. Persist the returned id. This sample follows the Quick Start and lists OCR, passive liveness, face match and AML.

curl -X POST https://verification.didit.me/v3/workflows/ \
-H "x-api-key: $DIDIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "workflow_label": "KYC with AML",
  "workflow_type": "kyc",
  "features": [
    {"feature": "OCR"},
    {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}},
    {"feature": "FACE_MATCH"},
    {"feature": "AML"}
  ]
}'

Step 3: create a session and send the user to the hosted flow

One endpoint starts a session. The workflow type decides whether it is a user (KYC) or business (KYB) session; there is no separate KYB endpoint.

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"}'

Replace the <WORKFLOW_ID> placeholder inside the JSON with the workflow UUID you persisted before running the command, and replace the sample callback URL with your own if you keep that optional field. A successful create-session response includes session_id and the hosted url. Redirect the user to url, or open it in an SDK or an iframe. vendor_data is your stable identifier for the person and is used for duplicate detection across sessions.

In the sandbox you can add sandbox_scenario with a scenario slug from GET /v1/sandbox/scenarios/ to reproduce a decision path predictably before you switch to live credentials. Live applications reject the field with a 400.

The hosted Didit verification screen a user sees, with document capture and then a selfie check
What your user sees in the hosted flow you open from the session URL.

Step 4: register a webhook destination

Webhooks carry the decision in real time. Subscribe this destination to status.updated. If the same endpoint handles entity events, add those event types to subscribed_events. Use another destination if they need to go to a different URL. The destination returns a secret_shared_key; store it and never ship it to a client.

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"], "webhook_version": "v3"}'

Step 5: verify the signature, then read the status

Read the raw body before parsing JSON. Verify the X-Signature-V2 header, which is HMAC-SHA256 over the sorted canonical JSON, and check that X-Timestamp is within 300 seconds. Compare with a constant-time function and accept a match on X-Signature-V2-Previous too: that header is checked with the previous signing secret during the 24-hour rotation window after you rotate the secret in the console. De-duplicate on event_id and answer 2xx within 5 seconds. The full header and payload reference is in the webhook documentation.

Check webhook_type before you interpret status. Session events use Approved, Declined, In Review, In Progress, Not Started, Abandoned, Expired, Kyc Expired, Resubmitted or Awaiting User. Entity events such as user.status.updated use a different set, ACTIVE, FLAGGED or BLOCKED. Read decision only when it is present; session events carry it only for some statuses.

Step 6: fetch the decision if a webhook is missed

The same data is available on demand. The key must hold the read:sessions privilege, and a key without it returns 403.

curl https://verification.didit.me/v3/session/$SESSION_ID/decision/ \
-H "x-api-key: $DIDIT_API_KEY"

Step 7: confirm what your first month costs

Estimate cost from the checks that finish with a result, and remember that some no-match database lookups and retries are also billable. A session that expires or is abandoned can still contain completed, billable checks. Watch the credit balance in the console, not the request count. Turn on auto top-up only when you are ready for live traffic, and set it to the amount you can afford to add each time the balance runs low.

Session overview in the Didit Business Console showing the decision status and its warnings
A finished session in the console: the status and the warnings that explain it.

Request fields and decision fields

Inputs you send and outputs you read on a KYC session
ItemWhereWhat it does
workflow_idRequest, requiredWhich checks run. A KYC workflow creates a user session.
vendor_dataRequest, recommendedYour identifier for the person, used for duplicate detection.
callbackRequest, optionalWhere the flow returns the user. When allowed origins are configured, an HTTP or HTTPS callback must match an allowed origin, including scheme, host and port. Custom URL schemes are accepted.
sandbox_scenarioRequest, sandbox onlyReproduces a documented decision path in testing.
expected_detailsRequestName, date of birth, nationality and document types you already hold. Mismatches surface as warnings.
metadata, tags, languageRequestEchoed back, used for filtering in the console, and set the UI language.
session_id, url, session_tokenResponseIdentity of the session and the hosted link to open.
session_kindDecisionuser or business. Always branch on it.
status, decision_traceDecisionThe verdict, plus how it was reached: automatic, manual or Investigator, and the warnings behind it.
id_verifications, liveness_checks, face_matches, aml_screeningsDecisionPlural arrays, one item per check that ran. A configured check that did not run is absent or null, never a placeholder.
reviews, status_overrideDecisionManual review activity and any hand-changed status.

Expected output after a successful run: a create-session response that includes session_id and the hosted url; a status.updated event that can include decision for Approved, Declined, In Review or Abandoned; and a decision endpoint that returns the same object with arrays for the checks that actually ran. A configured check that did not run can still be absent or null. If your handler needs the decision and the field is absent, retrieve the session decision from the documented endpoint.

Failure cases and how to recover

Common errors on the Didit KYC API and the fix
SymptomMeaningRecovery
401 on verification.didit.mex-api-key is wrong, malformed, revoked or expiredRe-fetch the key in Developers, API keys, or use the recover-key login flow. Use the sandbox key for testing.
403 on verification.didit.meNo key header, a scoped key without access to this resource or action, or a call from outside the key's IP listUse a key that holds that access. 403 with code application_deleted is final, so do not retry.
400 on session createInvalid workflow_id, a callback outside your allowed domains, or a session_expiration_time outside 3600 to 2419200 secondsUse a valid workflow UUID. If allowed origins are configured, make the HTTP or HTTPS callback match an allowed origin, including scheme, host and port. Custom URL schemes are accepted. Set session_expiration_time to a whole number from 3,600 through 2,419,200 seconds, or omit it to use the workflow default.
404 on a session routeThe session ID does not exist, the session is outside the scoped key's workflows or statuses, or it belongs to a different applicationVerify the session ID and the application before checking the key's scope, then read with a key whose limits include that session.
429Rate limit. The response carries a wait field in secondsBack off for that long, then retry. Do not hammer the endpoint.
Webhook never arrivesYour handler answered 5xx or 404, or took longer than 5 secondsDidit retries twice, about 1 and 4 minutes later, then drops the delivery. Resend it from the destination delivery log, or read the decision endpoint.
Registration rejectedThe register endpoint checks the address before creating anythingUse a real inbox. Reserved test domains return 400 with email_undeliverable.

Worked cost example, with the arithmetic shown

Unit prices and plan terms come from the published feed. The check volumes are examples.

  • Free plan, one month of credit. $10.00 of credit divided by $0.33 per full KYC check is 30.3, so the credit pays for about 30 full checks. A completed check is what consumes credit.
  • Growth, 5,000 full KYC checks. 5,000 x $0.3168 = $1,584.00 at the 4% plan price. The $115.00 monthly credit pays the first $115.00, leaving $1,469.00 of top-up credit consumed. Monthly cost is $99.00 plan fee + $1,469.00 = $1,568.00, which is $1,568.00 / 5,000 = $0.3136 per check.
  • Scale, 1,000 users with KYC plus AML. $0.297 for KYC + $0.18 for AML screening = $0.477 per person. 1,000 x $0.477 = $477.00. The $350.00 credit covers $350.00, leaving $127.00 of top-up credit consumed. Monthly cost is $299.00 + $127.00 = $426.00, which is $0.426 per person.
  • Only 500 checks a month. On Free: 500 x $0.33 = $165.00, of which $10.00 comes from credit, so $155.00 is bought in top-ups. On Growth: 500 x $0.3168 = $158.40, and the $115.00 credit covers the first $115.00, so $43.40 of top-up credit is consumed. $99.00 + $43.40 = $142.40. Starting with no top-up balance, you pay $149.00 that month, including the $50.00 minimum top-up, and retain $6.60 in top-up credit.
  • Cost per approved customer. Track cost per approved customer by dividing total verification and review spending by the number of customers approved in the same cohort.
Free, Growth and Scale at the same volume: 1,000 people with KYC plus AML, November 26, 2026
PlanCharges for 1,000 peoplePlan feeCredit usedTop-up credit consumedCash from a zero balance
Free$530.00 (1,000 x $0.53)$0.00$10.00$520.00$520.00
Growth$508.80 (1,000 x $0.5088)$99.00$115.00$393.80$492.80
Scale$477.00 (1,000 x $0.477)$299.00$350.00$127.00$426.00
Didit billing explained: credits, auto top-up and volume discounts
How credit, top-ups and plan discounts interact before a check is billed.

Completed checks are billed from prepaid credit. The sandbox, the workflow orchestrator, the SDKs and the MCP server are free. When a check finishes with a result, its module price applies: $0.15 for the ID document, $0.10 for passive liveness, $0.05 for face match, $0.03 for device and IP, and $0.20 for AML screening. Keep your workflow honest about which of those steps it runs, because a step that does not run is not billed.

Two boundaries stay separate. First, a session reaching Approved is a verification result, not a compliance program: the result feeds your risk assessment, your review process and your recordkeeping. Second, capture is not approval. Build your handler to read status, decision_trace and the warnings, and route In Review to a human instead of treating it as a pass.

Comparing KYC API providers on cost

Ask each provider to define its billable unit in writing. Before you compare, get five numbers: the price of a completed full KYC check, the price of an AML screening, whether failed or abandoned sessions are billed, what the included monthly credit is and when it expires, and whether manual review or retries add cost. If pricing is unpublished, mark it quote required and ask whether a minimum commitment applies.

Then model your own funnel on completed checks, not sign-ups. A team doing 2,000 sign-ups a month with a 70% completion rate gets 2,000 x 70% = 1,400 completed flows, so it pays for roughly 1,400 completed checks, assuming one billable full KYC check per completed signup, plus AML if your workflow runs it. Add any billable checks from unfinished sessions separately, so the estimate agrees with Step 7. Branched workflows should be estimated from completed checks by module, because a step that does not run is not billed. We publish every list price on didit.me/pricing and as machine-readable JSON, so you can compute the bill before you talk to anyone; 4,000+ companies run their checks on Didit. If you are moving from another provider, the migration guide covers the switch, and the free KYC product page shows what a first flow looks like.

Sources

Next step: open business.didit.me, build a KYC workflow from a template, and run your first sandbox session. Start free in the sandbox with no sales call, and the sandbox stays free on every plan.

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

Is there a free KYC API?

Yes. Sandbox testing is free on every plan, and checks are mocked. The Free plan gives $10 in monthly credit to the first eligible organization created in the Business Console with a work email for its company domain, and organizations created through the API start with $0 in credit. Live checks are billed per completed check from prepaid credit, from $0.33 per completed full KYC check at list price.

How much does a KYC API cost per check in 2026?

At Didit list price a full KYC check is $0.33: $0.15 for the ID document, $0.10 for passive liveness, $0.05 for face match 1:1 and $0.03 for device and IP analysis. Growth brings that to $0.3168 and Scale to $0.297. Adding AML screening at $0.20 makes it $0.53 per person at list price.

What does free KYC verification API usually mean?

It means one of three things, and the difference is the whole decision: free sandbox testing with mocked checks, a limited production allowance of credit, or free API access while every individual check is billed. Confirm which checks are included, what happens when the allowance runs out, and whether retries or manual review add cost. On Didit it is the first two: a free sandbox on every plan, plus $10 of monthly credit for the first eligible organization created in the console.

Can I run KYC verification online free before I have a company?

Yes, for testing. You can register programmatically with a real inbox that can receive the verification code and test with the sandbox key. API-created organizations start with $0 in credit. If you stay on Free and do not qualify for monthly credit, the minimum top-up for live checks is $50.

Do I need a sales call or a contract to get a Didit API key?

No. Programmatic registration returns the sandbox and live keys inline from the email-verification call, and console users can find their keys under Developers, API keys. Enterprise contracts start at $15,000 a year, but the self-serve Free, Growth and Scale plans cover everything below that without a call.

Can I test Didit without using production credit?

Yes. Sandbox testing is free on every plan, and checks are mocked, so you can build and test the whole flow without spending credit. To see live behaviour you need credit: $10 a month on the Free plan for the first eligible organization, or a top-up of at least $50. Sandbox sessions never verify a real person.

Which API endpoints do I call for KYC verification?

Three calls cover the basic flow: POST https://verification.didit.me/v3/workflows/ to create the checks, POST https://verification.didit.me/v3/session/ to start a session and get the hosted URL, and GET https://verification.didit.me/v3/session/{session_id}/decision/ to read the result. Register POST https://verification.didit.me/v3/webhook/destinations/ to receive the decision in real time. All of them authenticate with the x-api-key header.

Is a sandbox KYC verification a real identity check?

No. Sandbox sessions are mocked and exist to test your integration: request fields, webhook handling, decision parsing and your own state machine. Sandbox sessions return mocked results and verify no real identity. Use them to test the integration. Collect real verification evidence in live mode according to your organization's due diligence requirements. Switch to the live key only when your organization has credit and your handling of real personal data is ready.

What happens when my $10 monthly credit runs out?

Checks are then paid from your top-up balance, and each check uses this month's credit first and then your oldest top-up. Top-ups run from $50 to $20,000, are added at face value and last 12 months. With auto top-up on, Didit adds your chosen amount each time the balance runs low, so live checks do not stop; with it off, live checks stop until you top up, while the sandbox keeps working.

How much does an AML check cost, and is any AML check free?

AML screening is $0.20 per check at list price against 1,300+ lists, or $0.192 on Growth and $0.18 on Scale, and ongoing monitoring is $0.07 per person a year. Sandbox AML checks are mocked. An eligible Free organization can use its $10 monthly credit to cover 50 live AML screenings at $0.20 each if it spends the entire credit on AML.

Can I automate KYC decisions with the API?

Yes, within limits you set. Each workflow returns a status plus a decision_trace that records whether the verdict was automatic, manual or taken by the Investigator, along with the warnings behind it. A node-based workflow can branch on verification results. Read the session's status and decision_trace, and keep a human review path for In Review. Keep a human path for In Review, because automation that silently passes uncertain cases is a compliance risk, not a saving.

Does a Didit identity check make my company compliant?

No. A Didit check returns evidence from the steps configured in your workflow, so add AML screening when your workflow requires it. The obligations your organization must meet depend on its jurisdiction and activities: FATF recommendations provide international context, and applicable local rules determine your obligations.

Which countries and documents can the API verify?

Didit covers 220+ countries and territories, 14,000+ document types, 54 capture and UI languages, and 130+ document-recognition languages across 50+ scripts. A published price does not by itself establish production availability for a specific country or method, so check the product page and docs for the market you need before you commit.

What is the cheapest plan for a startup doing 500 checks a month?

At 500 full KYC checks a month, Growth costs less than staying on Free. On Free, 500 x $0.33 = $165.00, and $10.00 of credit leaves $155.00 in top-ups. On Growth, 500 x $0.3168 = $158.40, and the $115.00 credit covers the first $115.00, so $43.40 of top-up credit is consumed. On a plan-fee-plus-credit-consumed basis, Growth first costs less at 331 completed full KYC checks per month: Free costs $99.23 after its $10 credit, and Growth costs $99.00 because 331 x $0.3168 = $104.8608, within its $115 credit.

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.