KYC · Live

Aadhaar Verification API (OKYC)

Consented Aadhaar e-KYC via DigiLocker, for paperless onboarding.

From ₹1/callPrepaid · billed per successful call

What the Aadhaar Verification (DigiLocker) API does

Aadhaar verification through DigiLocker, with the customer's explicit consent. You start a verification and receive a `kycUrl`; the customer follows it and authenticates with UIDAI directly, so their Aadhaar credentials are never handled by you or by us. Once they finish, you fetch the verified record — name, date of birth, gender, address and the masked Aadhaar number — against the transaction id you were given. Two calls: ₹1 to start, ₹2.25 to fetch the result.

Popular use cases

  • →Paperless customer onboarding for banks, NBFCs and wallets
  • →Address + identity verification for lending
  • →Re-KYC and periodic verification
Request
curl -X POST https://apisathi.in/gw/v1/aadhaar-digilocker-init-v1/ \
  -H "X-API-Key: live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "uid": "your-own-reference-id", "mobile": "9876543210" }'
Response
{
  "transaction_id": "…",
  "kyc_url": "https://…"
}

Response fields returned by the Aadhaar Verification (DigiLocker) API

FieldExample
transaction_id…
kyc_urlhttps://…

Every field, error code and the full schema are in the Aadhaar Verification (DigiLocker) API reference.

Call the Aadhaar Verification (DigiLocker) API from Node.js or Python

Node.js
const res = await fetch('https://apisathi.in/gw/v1/aadhaar-digilocker-init-v1/', {
  method: 'POST',
  headers: { 'X-API-Key': process.env.APISATHI_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({"uid":"your-own-reference-id","mobile":"9876543210"}),
});
const data = await res.json();
Python
import os, requests

res = requests.post(
    "https://apisathi.in/gw/v1/aadhaar-digilocker-init-v1/",
    headers={"X-API-Key": os.environ["APISATHI_KEY"]},
    json={"uid":"your-own-reference-id","mobile":"9876543210"},
    timeout=30,
)
data = res.json()

Aadhaar Verification (DigiLocker) API pricing

  • → From ₹1 per successful call + 18% GST
  • → Prepaid wallet from ₹200; no monthly fee, no minimum volume
  • → Failed or timed-out calls are not charged
  • → Bonus credit on recharges of ₹1,000 and above; GST invoice on every recharge
See live prices for every API →

Start in four steps

  1. Create a free account — about a minute.
  2. Call the Aadhaar Verification (DigiLocker) API with your TEST key in the sandbox, free.
  3. Recharge the wallet (UPI, card or netbanking) from ₹200.
  4. Switch to your LIVE key — the same key works for every API.
Create a free account →

Frequently asked questions

Is this UIDAI compliant?

Yes — the customer authenticates with UIDAI through DigiLocker and gives explicit consent. You never handle their Aadhaar number or OTP.

Do you store Aadhaar numbers?

No. The Aadhaar number is returned masked, and only the verified result is passed back to you.

What does a verification cost?

Starting one costs ₹1. Fetching the completed record costs ₹2.25. A customer who abandons the flow is never fetched, so you pay only the ₹1.

Can I test the Aadhaar Verification (DigiLocker) API for free?

Yes. Every account gets a TEST key that calls the Aadhaar Verification (DigiLocker) API in the sandbox at no cost and returns realistic sample responses, so you can finish your integration before adding money to the wallet.

Am I charged if a Aadhaar Verification (DigiLocker) API call fails?

No. You pay only for successful calls. If the source is unavailable, times out or rejects the request, the amount held for that call is released straight back to your wallet.

How do I get a Aadhaar Verification (DigiLocker) API key?

Sign up at apisathi.in — it takes about a minute — and create a key under API Keys. Use the TEST key in the sandbox, then recharge from ₹200 and switch to a LIVE key. The same key works for every API on API Sathi.

Start using the Aadhaar Verification (DigiLocker) API today

Sign up, recharge a prepaid wallet and generate a key in minutes. Lowest price guaranteed, no volume commitment.