Identity & KYC Suite · Engineering Guide

Aadhaar Verification API: Real-Time OTP eKYC, Offline XML & Masking Infrastructure

By ASP Associates Technical Architecture & Compliance Team Updated: September 2026 UIDAI & DPDP 2023 Aligned

Enterprise real-time Aadhaar verification API for Indian fintechs, NBFCs, and digital lenders. Supports UIDAI 2.5 OTP eKYC, Offline XML, automated 8-digit masking, and DPDP 2023 compliant ephemeral routing.

Executive Technical Summary (BLUF)
ASP Associates' Aadhaar Verification API offers OTP and Offline XML flows to validate user identity against UIDAI records in real-time. It ensures DPDP Act 2023 and UIDAI circular compliance via ephemeral in-memory processing, zero plain-text PII storage at rest, mandatory 8-digit masking, and multi-KUA intelligent failover routing for maximum reliability.
p95 Latency: < 680ms (OTP) 🛡️ Compliance: DPDP 2023 Ephemeral 🏛️ Authority: Multi-KUA Connected 🎯 SLA: 99.9% Target Uptime
Test in Live Playground → Talk to Engineer
Protocol
RESTful HTTPS JSON / TLS 1.3
p95 Latency
< 680ms (OTP) / < 420ms (XML)
Throughput
1,500+ TPS concurrent
Data Residency
100% Indian Tier-4
API Contract & JSON Schema

Standardized REST Response

Canonical JSON response payload returning demographic info and base64 photo with 8-digit masked Aadhaar.

Step 1: Generate OTP (POST /v1/verify/aadhaar/generate-otp)
// Sample Request
POST https://www.aspassociates.in/api/v1/verify/aadhaar/generate-otp
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json

{
  "aadhaar_number": "123456789012",
  "consent": true
}

// Sample Response
{
  "outcome": "SUCCESS",
  "request_id": "req_aadhaar_8f2a4b6c",
  "message": "OTP sent successfully."
}
Step 2: Submit OTP (POST /v1/verify/aadhaar/submit-otp)
// Sample Request
POST https://www.aspassociates.in/api/v1/verify/aadhaar/submit-otp
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json

{
  "request_id": "req_aadhaar_8f2a4b6c",
  "otp": "123456",
  "dpdp_consent_hash": "a3f9e...b2c"
}

// Sample Response
{
  "outcome": "SUCCESS",
  "data": {
    "aadhaar_number": "XXXXXXXX9012",
    "name": "Rahul Kumar",
    "dob": "1990-01-01",
    "gender": "M",
    "split_address": {
      "house": "123",
      "street": "MG Road",
      "pincode": "110001"
    },
    "photo_base64": "/9j/4AAQSk..."
  },
  "consent_verified": true,
  "tat_ms": 450
}

Test This In Our Live API Playground

Simulate realistic Aadhaar responses, test OTP and Offline XML flows, examine latency percentiles, and export cURL, Python, and Node.js code snippets in real-time.

Open Interactive Playground →
Frequently Answered

Aadhaar Verification Questions

What are the UIDAI Sub-AUA / KUA licensing requirements for fintechs?

Fintechs can utilize ASP Associates' multi-KUA routing infrastructure without becoming a direct AUA/KUA themselves, provided they collect explicit consent and comply with Sub-AUA terms as laid out by UIDAI for regulated entities.

Is 8-digit masking mandatory under UIDAI circulars & Section 6 of DPDP Act 2023?

Yes. Our API automatically masks the first 8 digits of the Aadhaar number in responses (e.g., XXXXXXXX1234) to comply with both UIDAI data localization circulars and Section 6 of the DPDP Act 2023.

How should we choose between OTP and Offline XML (OKYC) selection criteria and what are the failure modes?

OTP eKYC is seamless for low-friction digital journeys, but relies on UIDAI SMS gateway uptime. Offline XML provides higher fault tolerance as it avoids live OTP dependencies and works through downloadable XML ZIP packages. We support both with intelligent fallback.

What is ephemeral in-memory processing and why don't clients need to maintain an Aadhaar Vault?

Our API processes Aadhaar requests ephemerally in-memory. Because the plain-text Aadhaar numbers never touch disk storage, the client system is not classified as storing Aadhaar data, eliminating the need for expensive Aadhaar Vault certification.

What is the target SLA and how does multi-KUA intelligent failover routing work?

The platform provides a 99.9% target SLA by orchestrating requests across multiple authenticated KUA gateways. If one KUA node drops traffic or faces UIDAI CIDR latency, requests are automatically routed to a healthy secondary node in under 35ms.

Ready to integrate Aadhaar verification into your fintech stack?

Request sandbox access today or test directly in our live browser playground.

Request Sandbox Credentials WhatsApp Technical Support