Home Identity Verification Aadhaar via DigiLocker
Identity Verification API

Aadhaar via DigiLocker API

Pull verified Aadhaar demographics and photo directly from DigiLocker — with user consent, zero paperwork, and complete government authorisation. Perfect for paperless KYC, account opening, and DBT onboarding.

<2s Avg response time
99.9% Uptime SLA
100% Consent-based
Aadhaar Verification VERIFIED
Name RAHUL SHARMA
Date of Birth 15-08-1990
Gender MALE
Address VERIFIED
Photo FETCHED
ISO 27001 Certified 256-bit Encryption Real-Time Response REST & SDK Support Made in India
Overview

What is Aadhaar via DigiLocker API?

A consent-driven API that lets your users share their verified Aadhaar details directly from DigiLocker — the Government of India's digital document wallet. No OTPs, no eKYC friction, no data storage liability.

User Consent First

Users explicitly authorise data sharing through DigiLocker. Full audit trail and consent artifacts are captured and can be retrieved anytime for compliance.

Government Authorised

Pull demographics, address, and photo directly from the source — the Aadhaar database via DigiLocker's secure channel.

Zero Paperwork

Replace physical document collection with a 30-second digital flow. Ideal for remote onboarding, gig economy, and BFSI use cases.

Key Benefits

Why Teams Choose This API

Sub-2 Second Response

Optimised routing ensures the fastest possible verification without compromising on accuracy.

Auto-Retry & Failover

Intelligent retries and multi-region failover keep your verification pipeline running 24/7.

Full Audit Trail

Every request, consent artifact, and response is logged for compliance and dispute resolution.

Developer-First Docs

REST endpoints, curl snippets, Postman collections, and SDKs for every major language.

Use Cases

Where It Shines

Bank Account Opening
Paperless KYC
Gig Worker Onboarding
DBT Onboarding
How It Works

Three Steps to Integration

From sandbox to production in under 24 hours — no paperwork, no waiting.

1

Get Your API Key

Sign up for sandbox and grab your keys in under a minute.

2

Integrate in Minutes

Use our REST endpoints, SDKs, or Postman collection to integrate quickly.

3

Go Live & Scale

Switch to production with our team's help and scale to millions.

Sample Request

Integrate in Minutes

A single POST request returns verified Aadhaar data — clean, structured, and ready to store.

POST /v1/identity/aadhaar/digilocker
// Request curl -X POST "https://api.cgpey.com/v1/identity/aadhaar/digilocker" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "consent_id": "CNT_9a8b7c6d5e", "redirect_url": "https://yourapp.com/callback" }' // Response { "status": "success", "reference_id": "AVD_2026_0001", "data": { "name": "RAHUL SHARMA", "dob": "1990-08-15", "gender": "MALE", "address": "...", "photo_url": "https://cdn.cgpey.com/photo/...", "verified": true }, "timestamp": "2026-09-21T10:15:00Z" }
FAQ

Frequently Asked Questions

Yes. The Aadhaar via DigiLocker API follows RBI KYC Master Directions and UIDAI guidelines. All data is consent-based and users can revoke consent anytime.
Only a DigiLocker account with their Aadhaar linked. Users authorise your app to fetch their verified Aadhaar data — no scans, no uploads.
Consent is captured via DigiLocker's standard consent screen. We return a consent artifact ID that you can store for compliance and audit.
By default, no. You can configure CGPEY to return data and forget, or store encrypted blobs with your own KMS. Complete control is yours.

Ready to integrate?

Get your sandbox credentials in seconds. Talk to our team to go live in production within 24 hours.