KYC · Live
Aadhaar Verification API (OKYC)
Consented Aadhaar e-KYC via DigiLocker, for paperless onboarding.
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
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" }'{
"transaction_id": "…",
"kyc_url": "https://…"
}Response fields returned by the Aadhaar Verification (DigiLocker) API
| Field | Example |
|---|---|
| transaction_id | … |
| kyc_url | https://… |
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
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();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
Start in four steps
- Create a free account — about a minute.
- Call the Aadhaar Verification (DigiLocker) API with your TEST key in the sandbox, free.
- Recharge the wallet (UPI, card or netbanking) from ₹200.
- Switch to your LIVE key — the same key works for every API.
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.
Related APIs
Aadhaar eSign API
Send a PDF, get it signed with Aadhaar OTP — legally valid, no paper.
From ₹30/call
e-Stamp Paper API
Buy electronic stamp paper for any state, programmatically.
From ₹60/call
PAN Verification API
Validate a PAN and fetch the holder’s name in one API call.
From ₹2.40/call
UAN / Employment Verification API
Verify current employment via EPFO / UAN records.
From ₹4.50/call
Driving Licence Verification API
Check a DL number against the transport department record in one call.
From ₹3/call
Voter ID Verification API
Confirm an EPIC number and fetch the electoral-roll details.
From ₹1.50/call
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.