Skip to main content

Identity Verification API in the United States: A 2026 Guide

Our API creates a verification session in one call and returns a link to the hosted flow for supported passports, driver's licenses and ID cards. Full KYC lists at $0.33 per completed check, before plan discounts.

Identity Verification API in the United States: A 2026 Guide

Contents

In this guide

Jump to the part you need.

For US onboarding that requires a document and a selfie, use our hosted verification API. It reads supported passports, driver's licenses and ID cards. Get the decision by webhook or through the API. At list price, full KYC costs $0.33 per completed check. If you already have the image, standalone ID verification costs $0.20 per live HTTP 200 response at list price. Confirm issuing jurisdictions and document versions before rollout.

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

The API at a glance

List prices and integration facts for a US identity verification API.
ItemDetail
Full KYC check$0.33 per completed check: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03
Standalone ID verification API$0.20 per live HTTP 200 response at list price, server to server, with document liveness screening
Passport chip reading (NFC)$0.15 add-on to a document check in a workflow
AML screening$0.20 per check against 1,300+ lists
Proof of address$0.20 per check
Coverage14,000+ document types, 220+ countries and territories, 54 capture languages
Speedsub-2-second p99 inference
SandboxSandbox testing is free on every plan
Cost to start$0. The first Free-plan organization created with an eligible company work email gets $10 in monthly credit
Customers4,000+ companies

Hosted verification or standalone passport upload?

Two routes into the same document engine, compared on input, evidence, price and fit.
RouteWhat you sendWhat comes backPriceWhen to use it
Hosted workflow sessionworkflow_id, vendor_data and an optional callback; the user completes the flow in a browser or an SDK with a document photo and a selfieid_verifications[], liveness_checks[], face_matches[], ip_analyses[] and one session status$0.33 per completed full KYC check, which carries the $0.15 document readOnboarding a person end to end, with biometrics and a decision you can act on
Standalone ID verification callfront_image and, for two-sided documents, back_image, sent server to serverOCR fields, parsed MRZ, barcodes, id_verification.status and id_verification.warnings$0.20 per live HTTP 200 response at list priceA back office upload, an app that already captured the image, or a document-only check

Use a hosted workflow when you need to capture a document and a selfie. Use the standalone API when you already have the document image and need a document-only result.

What a US identity verification API has to handle

Start by listing the documents your US users will submit, such as passports, state driver's licenses and state ID cards. Decide whether you need a document check alone or a workflow that also checks the person presenting it.

Set your own requirements for collecting and retaining identity data. In Auto consent mode, when you pass Illinois, Texas or Colorado in user_state, our hosted flow asks for explicit biometric consent before the first face capture.

We run 200+ fraud signals on every session and return each check as its own record, so your risk rules can act on the document read, the liveness result and the AML screening separately instead of on one aggregated score.

Prerequisites

  • A Didit organization. Sign up at business.didit.me with SSO or email and password. The first Free-plan organization created with an eligible company work email gets $10 in monthly credit.
  • A workflow. To create a hosted session, pass a workflow_id. The workflow defines which checks run; simple workflows use a fixed order, while node-based workflows can branch on results.
  • An API key for the application you are testing. New keys use these prefixes: sk_test_ for a sandbox application and sk_live_ for a live one. Select the key by application mode, never validate a key by its prefix because older keys have none, and keep it server side, out of browser bundles.
  • A webhook destination URL to receive verification events.
  • Test images if you plan to use the standalone document call.

How to add an identity verification API, step by step

  1. Create the organization and a sandbox application. In the console, pick the application from the dropdown at the top. Workflows, API keys and verification activity all belong to an application.

    Then take the API key: open Developers then API keys and copy the application's primary key, or create a scoped key for the service that will call the API with only the access it needs. Set it as DIDIT_API_KEY before the first verification API call. For the authenticated API calls in this guide, send it in the x-api-key header.

  2. Build the workflow. Open Workflows, click New workflow, choose Verifying users, then describe the checks you need, start from a template, or start empty. The same thing by API:

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

    That payload is the quick-start workflow: OCR, passive liveness, face match and AML. It covers the document read, the biometrics and a screening. The $0.33 full KYC price also includes device and IP analysis, so a full KYC workflow carries that step as well, and AML screening is a separate $0.20 per check. Keep the returned workflow.id.

  3. Register the webhook destination with POST https://verification.didit.me/v3/webhook/destinations/, sending your x-api-key header. Send label, url, subscribed_events and webhook_version set to v3. Subscribe to status.updated and data.updated for KYC: your handler uses status.updated to react to a status change and data.updated to refresh the fields you store. Store the returned secret_shared_key; the destination detail call returns it again if you lose it.

  4. Create the session. workflow_id is required. vendor_data is optional and recommended: it is your stable identifier for the person and it drives duplicate detection. callback is optional and returns the user to your app when the flow finishes.

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

    The shell joins the single-quoted JSON fragments and expands $WORKFLOW_ID inside double quotes. Set DIDIT_API_KEY server side from the key of the application you are testing, and fill in the IDs the previous calls returned.

    Add expected_details when you already know the person: first_name, last_name, date_of_birth, ISO-3 codes for nationality and id_country, and an expected_document_types array such as ["P"] for a passport, ["DL"] for a driver's license or ["ID"] for an ID card. Mismatches appear as decision warnings. Read them alongside the session status.

  5. Send the user to the url the call returns. The hosted flow handles capture, so you do not build a camera UI. It handles supported passports, state driver's licenses and state ID cards, classifies the document itself, and runs liveness and face match inside the same session.

    A user holding an identity document up to the camera in the Didit hosted verification flow
    The hosted flow frames the document, captures it and sends it for reading without the user picking a document type.
  6. Handle the webhook. Verify the X-Signature-V2 header, an HMAC-SHA256 of the canonical JSON signed with your secret_shared_key. De-duplicate on event_id, answer within 5 seconds, and apply the decision to your own user record by status.

  7. Read the decision when you need it outside the webhook. The endpoint is the same for user and business sessions:

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

    The key must hold the read:sessions permission. Branch on session_kind: user for KYC, business for KYB. Feature arrays are always plural, so read id_verifications[], liveness_checks[], face_matches[] and aml_screenings[], never a single object. A feature array is absent or null when that check did not run on the session, so test for the field before you read it.

    Then handle three outcomes, each with its own path: Approved, Declined and In Review. On Approved, mark the user verified. On Declined, store the warnings from id_verifications[].warnings and follow your rejection path. On In Review, keep the case pending in your application and read decision_trace and reviews with the status. Leave onboarding incomplete while a session is In Progress, Not Started, Awaiting User or In Review, and start a new session when one is Expired or Abandoned.

If you are migrating from another provider, didit.me/switch lists what maps to what.

What the calls return

Use session_id to retrieve the decision, url to open the hosted flow and session_token for SDK integrations. The callback returns the user to your app with the session ID and status. Use a verified webhook or the decision endpoint to update the user's verification status.

The decision call returns status as one of Approved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted or Awaiting User. Alongside it you get decision_trace (how the status was reached, and whether automatically, manually or by an investigator), reviews (manual review activity), linked_records (same-face and earlier verification summaries) and biometric_retention with the date the live biometric data is deleted. If a reviewer changed the status by hand, status_override carries both the override time and the automatic_status.

The Didit Business Console session detail showing the ID document read for one verification
One session, one record: the document read, the extracted fields and the warnings sit together in the console.
The Didit Business Console session detail showing the liveness check result
The liveness step comes back as its own record in liveness_checks[], separate from the document read.

Adding passport chip reading to the workflow

For a compatible passport and device, add NFC reading to the workflow at $0.15 per completed check. Read the chip authenticity result in nfc_verifications[] and check nfc_skip_reason when the step did not run. A chip inside a passport is not by itself proof of a read, which is why the skip reason matters as much as the result.

Government ID and passport verification without hosted capture

Some flows do not need a hosted session: a back office uploads a passport, or your mobile app already captured the image. The standalone call is POST https://verification.didit.me/v3/id-verification/. Send front_image and, for two-sided documents, back_image. Upload uncropped photos with all four corners visible: the service detects, aligns and crops the document itself, so do not pre-crop, and you never declare the country or the document type. save_api_request defaults to true, so the result is persisted as an API-type session.

perform_document_liveness defaults to true and screens the images for screen replays, printed copies and portrait manipulation. HTTP 200 means the call returned a result. Read id_verification.status and id_verification.warnings to distinguish Approved, Declined and In Review. Fraud and hard-failure warnings always decline. Examples include an expired document, a screen capture, a printed copy, portrait manipulation, a public document image, a specimen, an extraction failure on name, date of birth or document number, and a readable image that does not match a known official document design with high confidence.

Inputs and outputs

Fields you send and fields you receive on the Didit verification API.
FieldCallDirectionWhat it does
workflow_idcreate sessioninput, requiredUUID of the workflow from /v3/workflows/
vendor_datacreate sessioninputYour stable user id; binds sessions to one person and drives duplicate detection
callbackcreate sessioninputReturn URL. If your application has configured allowed domains, an HTTP or HTTPS callback must match an allowed origin, including scheme, host and port
expected_detailscreate sessioninputfirst_name, last_name, date_of_birth, nationality, id_country and expected_document_types
user_statecreate sessioninputUS state code or name; IL, Texas and Colorado trigger explicit biometric consent in Auto consent mode
languagecreate sessioninputISO 639-1 code for the flow UI, from 54 capture languages
front_image and back_imagestandalone ID verificationinput, front_image requiredDocument images; uncropped, all four corners visible
session_idcreate sessionoutputUUID you use for the decision call and your own records
urlcreate sessionoutputThe hosted verification flow to redirect the user to
request_idstandalone ID verificationoutputA session id you can pass to the decision endpoint while save_api_request is true; a one-off correlation id when persistence is off
statusdecisionoutputApproved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted or Awaiting User
id_verifications[]decisionoutputDocument read, MRZ, barcodes and the warnings that produced the verdict
liveness_checks[] and face_matches[]decisionoutputBiometric results, one record per check
aml_screenings[]decisionoutputWatchlist, sanctions and PEP results
decision_tracedecisionoutputThe path to the final status and who decided it
reviews and status_overridedecisionoutputManual review activity, and any status a reviewer changed by hand

Failure cases and how to recover

Error responses from the Didit verification API and what to do about each one.
ResponseMeaningWhat to do
401x-api-key is wrong, malformed, revoked or expiredFetch a current key from Developers then API keys, or through the programmatic login and application calls
403No key header, a scoped key without access to this resource, or a call from outside the key's IP listUse a key that holds the access you need
403 with application_deletedThe key's application was deletedDo not retry. Use a key from an application that exists
400 on workflow_idThe workflow id is invalidRe-read the id from the create workflow response
400 on callbackIf your application has configured allowed domains, an HTTP or HTTPS callback must match an allowed origin, including scheme, host and portUse an allowed origin, or a custom app deep link, which is always accepted
400 on session_expiration_timeOutside 3600 to 2419200 seconds, or not a whole numberSend a value in the range or omit it and use the workflow setting
403 not enough creditsThe balance cannot cover the standalone callOn Free, Growth or Scale, add a $50 to $20,000 top-up or enable auto top-up. Enterprise overages are invoiced under the contract
404 on a decisionThe session does not exist or belongs to another applicationCheck the key's application and the session id
429Rate limit, with a wait field in secondsBack off for that long, then retry
Webhook missedYour handler took over 5 seconds, or answered 5xx or 404We retry twice, at about 1 and 4 minutes, then drop the delivery. Resend it from the destination's delivery log

Workflow checks are billed when they complete with a result. Each live HTTP 200 response from the standalone ID endpoint consumes one credit, including Declined and In Review results. Four boundaries matter when you size the integration.

  • Workflow sessions. The full KYC check is $0.33, built from ID document $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. Active liveness is $0.15 if you prefer it to passive, and AML screening is $0.20 per check.
  • Standalone calls. Each live HTTP 200 response from /v3/id-verification/ consumes one ID Verification API credit. The list price is $0.20 per billable response, before applicable plan discounts. A call returns 403 before any image processing when the balance cannot cover it, and an image that cannot be recognized returns 400 with COULD_NOT_RECOGNIZE_DOCUMENT, which is not a billed result.
  • Free items. Sandbox testing is free on every plan. The workflow orchestrator, the SDKs, the MCP server and reusable KYC are free too.
  • Review. If a session returns In Review, keep it pending in your application. Use decision_trace and reviews to inspect how the status was reached and any manual review activity.

One escalation is not configurable and belongs in your runbook. When document liveness is enabled and the forgery check returns no usable score, the endpoint returns HTTP 200 with DOCUMENT_LIVENESS_NOT_COMPUTED and changes a would-be Approved result to In Review. An existing Declined result takes precedence. A check that did not run is not evidence that a document is genuine.

Worked cost example

Consider a US fintech that onboards 2,000 users a month, runs AML screening on every user, completes 400 NFC chip reads and runs proof of address for 300 users. The NFC line uses 400 completed chip reads, since that is what bills.

  • 2,000 full KYC checks at $0.33: 2,000 x 0.33 = $660.00
  • 2,000 AML screenings at $0.20: 2,000 x 0.20 = $400.00
  • 400 NFC chip reads at $0.15: 400 x 0.15 = $60.00
  • 300 proof of address checks at $0.20: 300 x 0.20 = $60.00
  • Total: 660.00 + 400.00 + 60.00 + 60.00 = $1,180.00 for the month, or $0.59 per user

On Growth the same volumes take 4% off every line: 660.00 x 0.96 = 633.60, 400.00 x 0.96 = 384.00, 60.00 x 0.96 = 57.60, 60.00 x 0.96 = 57.60, for $1,132.80. Growth costs $99 a month and includes $115 of credit a month, so the monthly fee plus usage above the included credit comes to 99.00 + (1,132.80 - 115.00) = $1,116.80 before tax. On Scale the 10% discount takes the same month to 660.00 x 0.90 = 594.00, 400.00 x 0.90 = 360.00, 60.00 x 0.90 = 54.00, 60.00 x 0.90 = 54.00, or $1,062.00, and with the $299 monthly fee and $350 of included credit, the monthly fee plus usage above the included credit is 299.00 + (1,062.00 - 350.00) = $1,011.00 before tax. On the Free plan, the $10 of monthly credit buys about 30 full checks at list price, which is enough to run the flow end to end before you spend anything.

If you call the standalone document endpoint instead of a workflow, the same document read is $0.20 per live HTTP 200 response at list price rather than $0.15 inside a session. That is $0.05 more per billable result; at 100,000 billable results a month it is 100,000 x 0.05 = $5,000. Put the document step in a workflow unless you specifically need server-to-server uploads.

Sources

Workflow prices and plan terms on this page come from the live Didit price feed, read on November 26, 2026. The standalone $0.20 rate comes from the ID Verification overview in our docs.

Start in the sandbox. Create an application at business.didit.me, copy the key for the sandbox application you selected, and create your first session today. No sales call is in the path.

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 identity verification API?

It is a server endpoint that takes identity evidence as input, usually a document image plus a selfie, and returns a decision your application can act on as output. You call it from your backend, the user completes a flow on a phone or desktop, and the result arrives as JSON or a webhook. A workflow can return a decision directly or send the case to manual review, and you read both outcomes from the same decision payload.

How do I verify a passport with an API?

Two routes. In a session, build the workflow with OCR, liveness and face match, set expected_document_types to ["P"], and send the user to the returned url. Server to server, post the passport photo to /v3/id-verification/ as front_image, then read id_verification.status and id_verification.warnings. If you need to prove the chip itself is genuine, add NFC reading to the workflow at $0.15 per completed check and read nfc_verifications[].

Is there a government ID verification API for driver's licenses and ID cards?

Yes, through the same flow. Beyond the optional hint in expected_document_types, you do not tell us which document to expect: the service classifies it from 14,000+ document types across 220+ countries and territories, reads the visual zone and any barcode, and cross-checks the data against the MRZ where one exists. The same endpoint handles supported passports, driver's licenses and ID cards. Confirm the issuing jurisdiction and document version you plan to accept before rollout.

How much does an identity verification API cost in the United States?

For this US integration, our published USD list prices are $0.33 per completed full KYC check, $0.20 per live HTTP 200 response on the standalone ID verification call, $0.20 per AML screening and $0.20 per proof-of-address check. Business registry retrieval is priced by country and data tier. Phone verification codes are priced by country and channel. See the live price feed for the applicable rates. The first Free-plan organization created with an eligible company work email gets $10 in monthly credit, about 30 full checks at list price. Growth is $99 a month with 4% off the list prices for the checks above, and Scale is $299 a month with 10% off those prices. On phone codes the carrier's price passes through at cost and only our fee takes the discount.

Can I test the API before paying?

Yes. Sandbox testing is free on every plan, and sandbox checks are mocked. Select the key for the sandbox application you are working in; new keys use the sk_test_ prefix for a sandbox application, but pick the key by application mode rather than by prefix. The sandbox_scenario field lets you reproduce a specific outcome, such as a decline, so you can test your own handling first.

Which ID should I store to retrieve a verification?

Store session_id for a workflow session. A standalone call returns request_id, which you can use to retrieve the decision when save_api_request is true. With persistence disabled, it serves as a correlation ID.

How do I know a webhook really came from Didit?

Verify the X-Signature-V2 header: an HMAC-SHA256 of the canonical JSON, signed with the destination's secret_shared_key. De-duplicate on event_id, because the same event can arrive twice. Answer within 5 seconds; a slower handler, a 5xx or a 404 gets two retries at about 1 and 4 minutes, then the delivery is dropped and you resend it from the destination's delivery log.

How do I use an identity verification result before enabling payments?

Use the session's status from a verified webhook or the decision endpoint. Apply your own onboarding policy before enabling payments and define a pending state for sessions marked In Review.

Do I need a sales call to start?

No. Sign up, create an application, and the sandbox works immediately. Sandbox access is free on every plan and does not depend on credit. The first Free-plan organization created with an eligible company work email gets $10 in monthly credit, top-ups run from $50 to $20,000 and last 12 months, and Enterprise contracts start at $15,000 a year for organizations that need company SSO, custom retention or a named team.

Where can I see the full request and response schema?

The create session page and the retrieve session page in the docs document every field, and the OpenAPI contracts are published for agents and code generation. The integration prompt is a single page you can hand to a coding agent to build the whole flow.

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.