Logo
Banking & Fintech
Card Solution
ERP Products
API Services
Custom Dev
Other

DigiLocker KYC API for Instant & Secure Identity Verification

The DigiLocker KYC API enables businesses to perform real-time identity verification using government-issued documents like Aadhaar, PAN, Driving Licence, and more. With OTP-based authentication and user consent, you can instantly fetch verified data directly from DigiLocker.

9:41

DigiLocker

Verified

Hello, Abhishek!

You have 4 issued documents

Issued Documents

भारत सरकार
Govt. of India
ABHISHEK JHA
DOB: 26/01/1979
Male / पुरुष
6641 2804 9316
आधार - मेरा आधार, मेरी पहचान
UIDAI_SECURE_LINK Verified
{
  "id": "XXXX-XXXX-9316",
  "status": "active",
  "issued_by": "UIDAI",
  "last_sync": "2026-04-04"
}

Encrypted by DigiLocker Secure Vault v2.0

Driving
Academic
Health
Browse
⭐ 4.8/5 Rating | Trusted by 500+ Businesses Across India

100% Paperless & Frictionless Workflow

Ditch the manual document checks. Automate onboarding instantly.

1. Input Data

User enters Digilocker Document number/id or uploads an image via your app.

2. API Request

IDSPay securely routes the query to government Digilocker databases.

3. Verified Output

Receive JSON response with Name, Status, and Entity Type in <2s.

Why Use DigiLocker KYC API?

Built for enterprise scale, ensuring highest accuracy and compliance with UIDAI and RBI standards.

Instant KYC Verification

Real-time Aadhaar and document verification for seamless processing.

Paperless Process

Go 100% digital with no physical document submission required.

Government Verified Data

Ensure authenticity with data fetched directly from government sources.

Fraud Prevention

Tamper-proof document retrieval to eliminate fake identities.

High Speed & Scalable

Millisecond response times designed for enterprise-grade performance.

Multi-Document Support

Verify Aadhaar, PAN, DL, RC, and certificates via a single integration.

Advanced Features for Digital Onboarding

IDSPay’s DigiLocker KYC API provides a secure, consent-driven gateway to fetch authentic government documents in real-time.

Instant Document Retrieval

Directly pull Aadhaar, PAN, and 100+ types of issued certificates. Eliminates the need for manual uploads and physical verification.

Consent-Driven Security

Built on the MEITY framework, ensuring data is only accessed after explicit user authorization via secure OTP or biometric authentication.

Tamper-Proof Verification

Automatically validate the authenticity of documents with digital signatures, preventing the use of forged or edited PDF files.

Widely used across multiple industries

Digilocker KYC is the cornerstone of financial compliance in India. IDSPay powers identity checks for the most heavily regulated sectors.

NBFCs & Lending
Fintech Startups
Banking & Financial Institutions
Insurance Companies
Stock Brokers
Crypto Exchanges
E-Commerce
Real Estate
HR & Payroll

🔐 Key Features of DigiLocker KYC API

Streamline identity workflows with secure, paperless document access directly from the government's digital ecosystem.

Consent-Based Flow

Secure OTP-based authorization ensures user-driven data sharing and privacy.

Verified Documents

Access digitally signed Aadhaar, PAN, DL, and educational certificates.

Zero Forgery Risk

Fetch data directly from the issuer to eliminate risks of tampered PDFs.

Regulatory Purity

Fully compliant with IT Act, UIDAI, and RBI digital KYC guidelines.

Unified SDK/API

Single integration point for Web, Android, and iOS onboarding journeys.

Automated Extraction

Instantly parse structured data from fetched files into your CRM.

Highest Conversion

Reduce drop-offs with a pre-filled, frictionless user experience.

Audit-Ready Logs

Detailed transaction logs for compliance reporting and internal audits.

How DigiLocker KYC Works

A seamless, four-step process to fetch digitally verified documents directly from the government ecosystem.

User Consent

The user provides explicit consent via our secure interface to access their digital vault.

OTP Auth

Direct authentication via a secure OTP sent to the user's registered mobile number.

Fetch Documents

API retrieves the requested documents (Aadhaar, PAN, etc.) from the issuer's database.

Verified Delivery

Verified data and signed PDFs are delivered to your system in a structured JSON format.

Why IDSPay is Better than Other Digilocker KYC Verification APIs?

See how we outperform the industry standards.

Faster Response

Lower latency and faster data retrieval than competitors.

Superior Uptime

More reliable service stability than Eko & API Mall.

Cleaner Docs

Easier to read and implement compared to Digitap.

Affordable Pricing

Cost-effective plans tailored for growing startups.

Dedicated Support

Real human experts ready to help you with any integration hurdles 24/7.

Integrate DigiLocker API in Minutes

Seamlessly fetch government-issued documents. Fully documented SDKs for Node.js, PHP, Python, and Java.

cURL Node.js PHP
curl --request POST \
                                        --url https://api.idspay.in/v3/kyc/digilocker/fetch \
                                        --header 'Authorization: Bearer YOUR_API_KEY' \
                                        --header 'Content-Type: application/json' \
                                        --data '{
                                        "request_id": "req_8829102",
                                        "document_type": "AADHAAR",
                                        "consent": "Y",
                                        "otp_value": "123456"
                                    }'
Response 200 OK
{
                                        "status": "SUCCESS",
                                        "data": {
                                        "verification_id": "DL-99210-X",
                                        "doc_status": "ISSUED",
                                        "full_name": "PRAKASH KUMAR",
                                        "document_url": "https://cdn.idspay.in/signed_doc.pdf",
                                        "is_digitally_signed": true,
                                        "timestamp": "2026-04-04T13:19:42Z"
                                        }
                                    }

Why We Are The Better Choice

Compare our performance and see why top fintechs trust our infrastructure.

Feature 🚀 Our API Other Providers
Accuracy
99.9% (Govt. Direct)
~85-90% (Scraped)
Speed
< 500ms
2 - 5 Seconds
Pricing
Pay-per-use (No Fixed Fee)
High Monthly Commitment
Support
24/7 Priority Support
Email-only (48hr TAT)

* Based on internal benchmark tests and competitor analysis (April 2026).

Frequently Asked Questions

Common developer queries about integrating the DigiLocker KYC API.

1. What is DigiLocker KYC API?

DigiLocker KYC API allows businesses to verify user identity using government-issued documents via the secure DigiLocker ecosystem.

2. How does DigiLocker API work?

It uses Aadhaar OTP authentication and explicit user consent to fetch digitally verified documents in real time.

3. Is DigiLocker KYC legally valid?

Yes, documents issued in DigiLocker are at par with original physical documents under Rule 9A of the Information Technology Rules, 2016.

4. What documents can be fetched?

You can retrieve Aadhaar, PAN, Driving Licence, Vehicle RC, Marksheets, and over 100+ types of government-issued certificates.

5. Is DigiLocker API secure?

Yes, it employs multi-factor OTP authentication and 256-bit encryption to ensure that data sharing is both authorized and protected.

6. Who can integrate this API?

Banks, Fintech companies, NBFCs, Insurance providers, and any regulated entity requiring KYC compliance can integrate this API.

7. How fast is DigiLocker verification?

The entire process, from consent to document retrieval, happens in real-time, typically within seconds.

8. Does it require user consent?

Yes, it is a strictly consent-based flow. No document can be accessed without the user explicitly authorizing the request via OTP.

9. Can I use DigiLocker API for onboarding?

Absolutely. It is the gold standard for instant, paperless customer onboarding and identity verification.

10. What are the benefits over manual KYC?

It eliminates manual data entry, prevents document forgery, reduces operational costs, and significantly lowers user drop-off rates.