Aadhaar OTP Verification API
Consent-based Aadhaar verification with OTP delivered to the registered mobile number.
What it verifies
Verifies an individual's Aadhaar with their consent in two calls. The first call sends an OTP to the mobile number registered against the Aadhaar; the second submits that OTP and returns the verified details with the Aadhaar number masked.
Who uses it
- Lenders and NBFCs completing digital KYC before disbursal
- Fintech and wallet apps onboarding customers without paperwork
- Gig, staffing and marketplace platforms verifying workers and partners
- Insurers and brokers confirming a customer's identity at issuance
Send an OTP to the mobile number linked to the Aadhaar.
https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/sendSend an OTP to the mobile number linked to the Aadhaar. This call is not billed.
Request body
aadhaarNumberstringrequired12-digit Aadhaar number, no spaces.
consentstringrequiredMust be "Y". Records that the end customer consented to this check; logged against the transaction.
referenceIdstringoptionalYour own id, echoed back in the response for reconciliation.
Example requests
curl -X POST "https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/send" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aadhaarNumber": "234567890124",
"consent": "Y",
"referenceId": "app_20915"
}'const res = await fetch("https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/send", {
method: "POST",
headers: {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"aadhaarNumber": "234567890124",
"consent": "Y",
"referenceId": "app_20915"
}),
});
const result = await res.json();import requests
res = requests.post(
"https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/send",
headers={"x-api-key": "YOUR_API_KEY"},
json={
"aadhaarNumber": "234567890124",
"consent": "Y",
"referenceId": "app_20915",
},
timeout=15,
)
result = res.json()200 response — status "otpSent"
{
"status": "otpSent",
"data": {
"otpReferenceId": "otp_5c91d2e4"
},
"source": "provider",
"dataAsOf": "2026-11-03T09:30:00.000Z",
"referenceId": "app_20915",
"billing": {
"charged": false,
"walletBalance": "12450.00"
},
"txnId": "txn_8c31ba90",
"livemode": true
}Fields returned in data
otpReferenceIdstringoptionalPass this to the verify call together with the OTP.
Submit the OTP and receive the verified Aadhaar details.
https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/verifySubmit the OTP and receive the verified Aadhaar details. This call is billed when it returns a successful result.
Request body
otpReferenceIdstringrequiredThe otpReferenceId returned by the send call.
otpstringrequired6-digit OTP received on the linked mobile number.
consentstringrequiredMust be "Y". Records that the end customer consented to this check; logged against the transaction.
Example requests
curl -X POST "https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/verify" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"otpReferenceId": "otp_5c91d2e4",
"otp": "123456",
"consent": "Y"
}'const res = await fetch("https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/verify", {
method: "POST",
headers: {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"otpReferenceId": "otp_5c91d2e4",
"otp": "123456",
"consent": "Y"
}),
});
const result = await res.json();import requests
res = requests.post(
"https://verification.techinnoverz.com/api/v1/identity-kyc/aadhaar-otp/verify",
headers={"x-api-key": "YOUR_API_KEY"},
json={
"otpReferenceId": "otp_5c91d2e4",
"otp": "123456",
"consent": "Y",
},
timeout=15,
)
result = res.json()200 response — status "found"
{
"status": "found",
"data": {
"name": "Asha Sample",
"maskedAadhaar": "XXXX XXXX 4312",
"dateOfBirth": "1991-04-17",
"gender": "F",
"address": {
"state": "MH",
"pincode": "411045"
}
},
"source": "provider",
"dataAsOf": "2026-11-03T09:30:00.000Z",
"billing": {
"charged": true,
"walletBalance": "12450.00"
},
"txnId": "txn_8c31ba90",
"livemode": true
}Fields returned in data
namestringoptionalName as recorded against the Aadhaar.
maskedAadhaarstringoptionalAadhaar number with the first eight digits masked.
dateOfBirthstringoptionalDate of birth, YYYY-MM-DD.
genderstringoptionalGender as recorded (M, F or T).
addressobjectoptionalState and pincode of the registered address.
Error codes
Errors return a non-200 HTTP status and the same envelope, so your retry logic and your reconciliation agree.
400 INVALID_INPUTA field is missing or malformed. The details list each problem. Not charged.
401 INVALID_KEYThe key is missing, revoked, or not a key we issued.
402 WALLET_EMPTYYour available balance is below the price of this call. Top up and retry. Not charged.
403 PRODUCTION_NOT_ENABLEDA live key was used before live access was enabled for your account. Use a test key, or ask us to enable live access.
403 TEST_NOT_ENABLEDA test key was used before test (UAT) access was enabled for your account. Ask us to enable it.
403 API_NOT_ENABLEDThis check is switched off for your account, or is not available for live use yet.
403 IP_NOT_ALLOWEDThe key is restricted to certain IP addresses and this call came from another.
403 ACCOUNT_SUSPENDEDThe account is suspended. Contact support.
404 NO_DATAA valid request, but no record was found. Not charged.
404 ROUTE_NOT_FOUNDThere is no endpoint at that path.
405 METHOD_NOT_ALLOWEDUse the method shown in the Allow header.
409 IDEMPOTENCY_IN_PROGRESSA call with the same Idempotency-Key is still being processed. Retry after the delay in Retry-After.
413 PAYLOAD_TOO_LARGEThe request body is too large. Not charged.
415 UNSUPPORTED_MEDIA_TYPESend the request with Content-Type: application/json.
422 IDEMPOTENCY_KEY_REUSEDThis Idempotency-Key was already used with a different request body. Use a new key for a new request.
429 RATE_LIMITEDToo many requests or too many at once. Wait for the Retry-After delay.
500 INTERNAL_ERRORSomething went wrong on our side. Not charged. Quote the txnId if you contact support.
502 SOURCE_ERRORThe data source returned an error. Not charged.
503 SOURCE_DOWNThe data source is unavailable right now. Not charged. Retry after the delay in Retry-After.
504 SOURCE_TIMEOUTThe data source did not answer in time. Not charged.
400 INVALID_OTPThe OTP is incorrect or has expired. Not charged.
{
"status": "error",
"error": {
"code": "NO_DATA",
"message": "No record found for the given input. Not charged."
},
"billing": {
"charged": false
},
"txnId": "txn_8c31ba91",
"livemode": true
}Billing
You are charged only on successful hits. Failed, no-data and error calls are free.
Every response carries billing.charged and your remaining billing.walletBalance. Per-hit pricing is set on your rate card; book a demo to get yours.
Related checks
- PAN Verification API — Verify PAN card details and status against Income Tax Department records.
- PAN Advanced Verification API — Verify a PAN and also get its holder type and whether it is linked to Aadhaar.
- Voter ID Verification API — Verify EPIC (Voter ID) details against Election Commission of India records.
- Driving Licence Verification API — Verify driving licence number, validity and vehicle class against Parivahan records.
- Face Match API — Compare two photos and get a match score, for example a selfie against an ID photo.
- Face Match with Liveness API — Check that a selfie is of a live person and matches the photo on their ID, in one call.
- DigiLocker Verification API — Consent-based fetch of a person's verified documents from DigiLocker.
All API documentation · OpenAPI specification · Docs as plain text
