Skip to main content

Technical

Aadhaar Verification API: Hosted UIDAI Lookup with Didit

Run an Aadhaar lookup against UIDAI in a hosted Didit session. A successful lookup returns a data match. Confirm India availability, required fields and pricing before launch.

Aadhaar Verification API: Hosted UIDAI Lookup with Didit

Contents

In this guide

Jump to the part you need.

Use our hosted Aadhaar lookup if your onboarding team has a permitted use case for checking details a user enters against UIDAI. A successful lookup returns a data match without inspecting a document or collecting a selfie. Lookup pricing varies. Confirm the India entry's availability, required fields and rate before you build.

Existing prices were checked against the Didit price feed on November 26, 2026.

India Aadhaar verification with Didit at a glance
ItemDetail
What it confirmsOn a successful lookup, the submitted details match a record held by UIDAI, the source we name for India
Assurance tierdata_match. No document is inspected, so no claim is made about a document's authenticity
Recommended routeHosted non-document lookup inside an ID Verification step. Configure India in the workflow, create a session, open the hosted URL and retrieve the decision
Session endpointsPOST https://verification.didit.me/v3/session/ and GET https://verification.didit.me/v3/session/{session_id}/decision/. Both calls require API-key authentication, and the decision call requires a key with read:sessions
What the user suppliesThe national identifier plus the personal details the India entry requests. Our non-document lookup documentation names UIDAI as the source for India. Confirm production availability, required fields and applicable consent requirements before enabling the lookup
Evidence returnedAn ID Verification feature result with the data_match tier and the source under id_lookup.source. India is data only, so no document photo and no lookup selfie
PriceThe public pricing feed lists non-document lookup pricing as variable and gives no India-specific rate. Confirm the applicable rate before budgeting
BillingBilling is per completed check. For Database Validation, some no-match results and retries are billable, and a multi-service request can generate multiple usage events. If every selected upstream service fails and the request returns HTTP 502, it is not billed
Not includedNo document authenticity check and no registry portrait from the lookup

What India non-document lookup proves, and what it does not

Our non-document ID Verification lookup names UIDAI as the source for India. We name the source per country rather than generalising, because provenance changes what a match proves and what you can tell a regulator about it. Read the Source queried column before you enable India.

For India's non-document lookup, the result carries the data_match assurance tier. The assurance-tier label belongs to this lookup, not to a standalone Aadhaar Database Validation service. It means the details the user gave matched a record UIDAI holds. No document was inspected, so we make no claim about a document's authenticity. The source appears under id_lookup.source on the session payload, in the console and in exports. End users do not see it.

The user picks India in the ID step and types the fields India asks for, always the identifier and usually a name, sometimes a date of birth or an address. India is not one of the sources that returns a portrait, so the lookup is data only. No selfie is taken inside it.

The lookup form where a user types a national ID number instead of photographing a document
The lookup form: the user types the identifier and personal details, and we check them against the source named for that country.

A fabricated number may not be in the source, but a no match is not proof of fraud. A real number with details that differ may produce a partial match or a no match. Inspect the ID Verification result and apply your own policy. If your workflow needs to verify access to a phone number, configure a separate Phone Verification step.

A data-only match and a later Face Match step

A data-only lookup leaves a later Face Match step nothing from the lookup to compare. India returns data only, so we do not get a registry portrait. If nothing else in the workflow provides a reference face, Face Match reports that the comparison could not be computed, with a null score, rather than declining automatically.

The workflow editor blocks publishing when, for India, every path into the Face Match step uses methods that leave no photo and every route out of the ID Verification step leads to Face Match. It warns when the outcome depends on the user: offering document capture alongside the lookup can still leave a warning for users who finish with the data-only lookup. Allow document capture, add another documented reference, or remove the Face Match step. A workflow that collects a reference face when the session is created with portrait_image has something to compare; that applies to Biometric Authentication workflows and graph workflows where Face Match can run before ID Verification.

Prerequisites

Before collecting or submitting Aadhaar data, confirm that your use case is permitted and establish the applicable notice, consent and retention requirements. For Database Validation services flagged requires_consent=true, the API requires consent=true.

  • A Didit account and an API key. Sign up at business.didit.me and keep the key server side.
  • A workflow with an ID Verification step. Enable the India lookup method only after you confirm production availability and the required fields.
  • A key with read:sessions for the decision call.
  • If the application has configured allowed domains, an HTTP or HTTPS callback must match an allowed origin, including scheme, host and port. Custom URL schemes are also accepted.
  • The sandbox is free on every plan.

Run the India lookup in a hosted flow

The recommended route for a new India integration is the hosted non-document lookup inside an ID Verification step. For server-to-server Aadhaar checks, use the separate ind_aadhaar Database Validation service and its country-specific request contract.

  1. Confirm the India entry. Open our non-document lookup documentation and read the Source queried column for India. It names UIDAI. Confirm production availability, required fields and applicable consent requirements before enabling the lookup. For a separate server-to-server check, the Aadhaar Database Validation reference documents ind_aadhaar; it is distinct from this hosted lookup.
  2. Configure the country method. In the Didit Business Console, open the Workflow Builder and the ID Verification step. In the Countries tab, enable the non-document lookup for India and choose whether to offer document capture. Set the partial-match, no-match and provider-error actions for your policy.
  3. Create a session with the documented fields.
    curl -X POST 'https://verification.didit.me/v3/session/' -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' --data '{"workflow_id":"YOUR_WORKFLOW_ID","vendor_data":"user-1234","callback":"https://app.example.com/callback"}'
  4. Open the hosted URL returned by session creation. The user picks India and types the identifier and personal details the country asks for.
  5. Retrieve the decision with a key that has read:sessions.
    curl https://verification.didit.me/v3/session/SESSION_ID/decision/ -H 'x-api-key: YOUR_API_KEY'
  6. Read status for the session lifecycle and the feature result for the evidence behind it. For the India lookup, the source is under id_lookup.source. Handle HTTP errors separately from the decision. If your workflow also ran Database Validation, read database_validations; if it did not run, that array can be absent or null.
  7. Keep the session ID and your internal reference so you can correlate the result with the request.

Expected output and inputs

The documented output for the hosted India lookup is a session decision, not a bespoke Aadhaar response. Read status, session_kind, features and the ID Verification feature result. For a Database Validation workflow, configured match actions determine the outcome. If the feature did not run, database_validations can be absent or null.

Hosted India lookup inputs and decision fields
ItemWhere it comes fromWhat to read or send
workflow_idCreate session inputThe stable workflow UUID from /v3/workflows/
vendor_dataCreate session inputYour stable identifier for the person
callbackCreate session inputWhere the hosted flow redirects the user when finished
Country selectionThe userThe user picks India in the ID step
Identifier and personal detailsThe userThe fields the India entry requests. See the non-document lookup documentation for the India entry
statusDecision responseThe session lifecycle. The docs list Approved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted and Awaiting User
id_verificationsDecision responseThe ID Verification feature result
id_lookup.sourceDecision responseThe source name for the lookup. In India it is UIDAI
database_validationsDecision responseSeparate Database Validation evidence. Can be absent or null when the feature did not run
database_validation_not_performed_reasonDecision responseWhy a configured database validation produced no result
decision_traceDecision responseHow the status was reached, including decided_by as manual, automatic or investigator

Standalone Database Validation: where it fits

Database Validation is a separate feature from the hosted ID Verification lookup. The India Aadhaar service reference documents POST /v3/database-validation/ with issuing_state=IND and services=ind_aadhaar. Its required inputs are full_name, date_of_birth, a 12-digit personal_number and a correctly formatted pan. Obtain end-user consent before sending consent=true. Its per-service tariff is separate from hosted non-document lookup pricing.

Handle HTTP errors separately from the match result. For Aadhaar Database Validation, use the country-specific field contract above and inspect the completed response and its per-service results. For the hosted lookup, read the ID Verification feature result and recorded method. The Database Validation overview explains the shared response and error handling.

Decision table and failure cases

Hosted India lookup cases and the route you configure
CaseWhat it meansWhat to do
Successful data matchThe submitted details match a record held by UIDAIThe workflow action you configured decides the route. Inspect the ID Verification result and use data_match to describe the assurance
Partial matchSome submitted details matchedThe configured partial-match action decides the route. Review the ID Verification result and your policy
No matchThe check did not return a matchThe configured no-match action decides the route. A no match is not proof of fraud by itself
Provider errorThe source could not complete the lookupThe configured provider-error action decides the route. Retry later or fall back to document capture

Database Validation note. The standalone Database Validation API returns match_type values full_match, partial_match and no_match, plus per-service results, and services flagged requires_consent=true require consent=true. If every selected upstream service fails, the request returns HTTP 502 with validation_errors[], is not billed and writes a COULD_NOT_PERFORM_DATABASE_VALIDATION log. These details apply to Database Validation, not to the hosted India lookup contract.

HTTP and workflow failures

Common failures and recovery
CaseWhat you getWhat to do
Database Validation: ineligible service, missing required field or missing consentHTTP 400Fix the request. For consent-flagged Database Validation services, send consent=true after you have the consent record
Invalid API keyHTTP 401Use a valid key from the application you are testing
Key lacks decision permissionHTTP 403Use a key that has read:sessions
Session not found or belongs to another applicationHTTP 404Check the session ID and the application that created it
HTTP or HTTPS callback origin not allowed when the application has configured allowed domains.HTTP 400 on callbackIf the application has configured allowed domains, an HTTP or HTTPS callback must match an allowed origin, including scheme, host and port. Custom URL schemes are also accepted.
Database Validation: every selected upstream service failsHTTP 502 with validation_errors[]Not billed. Retry later or use document capture

Cost of a document-based full ID check

Say 1,000 users a month each pass through a session with ID document verification, passive liveness, face match and device and IP analysis.

  • ID document verification: $0.15 per check
  • Passive liveness: $0.10 per check
  • Face match 1:1: $0.05 per check
  • Device and IP analysis: $0.03 per check
  • Full ID check: 0.15 + 0.10 + 0.05 + 0.03 = $0.33 per completed check
  • 1,000 checks: 1,000 x $0.33 = $330.00

That total is check usage at list price before subscription fees, included credits, taxes and any separately priced lookup. It excludes the India non-document lookup because the public pricing feed gives no India-specific rate. Confirm the applicable rate before budgeting.

On Growth, the same full ID check is $0.3168 per check with the 4% plan discount: 1,000 x $0.3168 = $316.80. On Scale it is $0.297 with the 10% discount: 1,000 x $0.297 = $297.00. These are check usage before subscription fees, included credits, taxes and any separately priced lookup.

How Didit billing works: credits, auto-recharge and volume discounts
Credits, auto top-up and plan discounts: the billing model behind the per-check prices.

Billing is per completed check. For Database Validation, some no-match results and retries are billable, and a multi-service request can generate multiple usage events. If every selected upstream service fails and the request returns HTTP 502, it is not billed.

Completed checks draw from prepaid credit at the rate applicable to your plan, under the credit and billing rules. Our USD list prices per completed check are $0.15 for ID document verification, $0.10 for passive liveness, $0.05 for face match 1:1, $0.03 for device and IP analysis, and $0.20 for AML screening. The workflow orchestrator, SDKs, reusable KYC and the MCP server are free.

For the India lookup, the partial-match, no-match and provider-error actions on the workflow decide the route. In a Database Validation workflow, configured match actions determine the outcome. Your workflow routes the session according to its configured actions. Read status for the session decision and decision_trace for how it was reached. If the feature did not run, database_validations can be absent or null.

A session overview with its warnings in the Didit Business Console
A session overview with its warnings. This is where a reviewer sees the evidence behind a routed case.

Test the India integration

Create a free Didit account and test session creation and decision retrieval in the sandbox. Confirm whether an Aadhaar lookup test scenario is available before testing the India method. No sales call is required.

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

It is a hosted lookup that checks an Aadhaar number and the personal details a user enters against UIDAI, the source we name for India. On Didit, the documented route is our non-document ID Verification lookup, not a standalone Aadhaar Database Validation service. You create the session with POST /v3/session/ and retrieve the decision with GET /v3/session/{session_id}/decision/. On a successful lookup, the submitted details match a UIDAI record and the result carries the data_match assurance tier.

How do I integrate Aadhaar verification with Didit?

Use the hosted non-document lookup. Configure India in the ID Verification step, create a session with POST /v3/session/, open the hosted URL for the user, then call GET /v3/session/{session_id}/decision/ with a key that has read:sessions. Read status for the lifecycle and the ID Verification feature result for the evidence. The source appears under id_lookup.source.

What does UIDAI identity verification confirm?

On a successful lookup, the submitted details match a record held by UIDAI. Inspect the ID Verification result for the outcome and use data_match to describe the assurance tier, because no document was inspected. That is useful evidence, but it does not prove a document is genuine or that the user owns the phone or device. Use it with the rest of your workflow and your own policy.

Is there a free Aadhaar verification API to test with?

The sandbox is free on every plan. On the Free plan, the first organization created with an eligible work email for a company domain receives $10 in monthly credit. Unused plan credit expires at the end of the plan month. Phone usage has separate eligibility and credit limits described in the billing rules. Confirm whether the sandbox includes a scenario for the India lookup before testing that method.

How much does Aadhaar verification cost in India?

The public pricing feed lists non-document lookup pricing as variable and gives no India-specific rate. We bill completed checks at the rate applicable to your plan. Confirm the applicable rate before budgeting.

Which fields does the India lookup need?

Our non-document lookup documentation names UIDAI as the source for India. Confirm production availability, required fields and applicable consent requirements before enabling the lookup.

Does the Aadhaar check need a document photo or a selfie?

No. India is a data-only source in our non-document lookup, so no document photo is inspected and no lookup selfie is taken. We also get no registry portrait from the lookup. A later Face Match step has nothing from this method to compare, so allow document capture, add another documented reference, or remove the Face Match step.

What happens on a partial match or a no match?

For a partial match or no match, the workflow follows the action you configured for that outcome. Inspect the ID Verification result and follow your policy. A no-match outcome alone does not establish fraud.

Can I run the lookup without code?

You can configure the lookup in Workflow Builder without code. To create sessions and retrieve decisions from your application, use the documented session API.

What status comes back from a session route?

Read status for the session lifecycle and the feature result for the evidence behind it. Status values include Approved, Declined, In Review, In Progress, Not Started, Expired, Abandoned, Kyc Expired, Resubmitted and Awaiting User, so do not treat three values as the whole surface. In a Database Validation workflow, configured match actions determine the outcome. If the feature did not run, database_validations can be absent or null.

Which Didit docs cover a UIDAI lookup?

Start with our non-document ID Verification page, which names UIDAI as India's source, then read the ID Verification methods page for the assurance tiers. Use the Create Session and Retrieve Session docs for the hosted flow, and the per-service pricing table only after the India catalog entry confirms a rate. Read the linked country-specific reference when choosing the standalone route.

Is Aadhaar Database Validation available on Didit?

Yes. The Aadhaar Database Validation reference documents ind_aadhaar, its request fields, consent requirement and service tariff. This is separate from the hosted non-document ID Verification method described above. Choose the route for your data collection and assurance needs; do not apply the hosted lookup rate to the standalone service.

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.