DigiLocker API for Consent-Based KYC & Document Verification in India
Retrieve verified, digitally signed documents through Deepvue’s DigiLocker API integration to support KYC, onboarding, education verification, and document retrieval workflows.
Trusted by platforms building KYC, onboarding and verification workflows
Organizations across industries use Deepvue APIs to automate document retrieval and verification processes.
What is a DigiLocker KYC & document fetch API?
A DigiLocker KYC & Document Fetch API lets platforms retrieve verified, digitally signed user documents from DigiLocker — the digital document wallet built under the Government of India's Digital India programme by the Ministry of Electronics and Information Technology (MeitY) — through a consent-driven flow. DigiLocker is a flagship initiative of Digital India that gives every citizen a secure digital locker, and any user with a DigiLocker account can share those verified records on request.
The Deepvue DigiLocker API helps automate retrieval of government-issued documents straight from the issuer, reducing manual upload and verification effort.
Authorized DigiLocker integration
Deepvue is an authorized DigiLocker entity with partner integration to the DigiLocker APIs published on API Setu, the Government of India's open API platform run by MeitY. This supports consent-based access to verified, government-issued digital documents.
DigiLocker Entity
These documents are retrieved through a fully end-user consented flow from the government departments and agencies that issue them, and can be used to support verification and onboarding workflows.
Why DigiLocker-based document access matters
Manual document collection creates friction. DigiLocker-based retrieval eliminates it, letting you verify digital documents and complete KYC verification in one seamless, consent-driven step.
What this API enables
From one consent, the API retrieves, verifies, and formats the documents your flow needs.
Fetch what your flow needs
Trust the source, not the upload
Automate KYC and onboarding
Collect documents in one step
Integrate once for every document
How the API works
A five-step consent-driven flow from user redirect to structured output.
Redirect to DigiLocker
Authenticate and consent
Return to platform
Fetch documents
Structured output
Consent-driven document access
Every document retrieval is backed by explicit end-user approval.
Sample API flow
See how a single API call moves from consent to verified document delivery.
{
"consent_token": "<token_from_consent_flow>",
"document_types": ["aadhaar_xml", "pan_card"]
} {
"documents": [
{
"type": "aadhaar_xml",
"format": "xml",
"digilocker_uri": "digilocker://document/abc123"
},
{
"type": "pan_card",
"format": "pdf",
"digilocker_uri": "digilocker://document/xyz789"
}
],
"status": "success"
} Output formats supported
Depending on document type and source, outputs may be available as:
JSON metadata
PDF documents
XML documents
DigiLocker-issued document URIs
Unified API for multiple document categories
Deepvue provides a single integration layer to retrieve a broad range of DigiLocker-supported documents.
Integration features and key capabilities
Everything you need to build, ship, and scale DigiLocker-powered workflows.
Consent-based workflow
Unified API layer
Structured outputs
Scalable infrastructure
Developer-friendly documentation
Authorized DigiLocker integration
Verified and digitally signed documents
Identity and education coverage
Consent-driven access
Unified document retrieval API
Who uses this API
Organizations across industries rely on Deepvue for document retrieval and verification.
Fintech and KYC platforms
EdTech and credential platforms
Enterprises and HR teams
Background verification platforms
Digital onboarding systems
Compliance and data governance
Deepvue provides infrastructure to enable consent-based DigiLocker document retrieval workflows.
Deepvue does not independently initiate document access and only facilitates retrieval after valid end-user consent.
All API interactions are protected using encryption, access controls, and audit logging.
Flexible API pricing
Deepvue APIs are designed to scale with your document retrieval requirements.
For organizations evaluating DigiLocker API pricing or DigiLocker integration cost, our team provides customized pricing.
Frequently asked questions
Common questions about DigiLocker API integration, documents, and pricing.
What is a DigiLocker API?
Can this API be used for KYC?
Can I fetch education documents through this API?
Are the documents digitally signed?
What is DigiLocker API pricing?
How do I use the DigiLocker API?
What is the API Setu portal?
How do I get a DigiLocker document URI?
Is DigiLocker an open-source platform?
Which documents can I fetch through the DigiLocker API?
What do I need to integrate the DigiLocker API?
Is Deepvue a DigiLocker API provider?
Deepvue provides authorized DigiLocker integration APIs that enable organizations to retrieve verified digital documents through consent-based workflows.
Start retrieving verified documents
through DigiLocker-powered workflows.
Authorized integration. Consent-driven access. Production-ready API.