Skip to content
FinHubBy HabileLabs

Document Intelligence

Extract Aadhaar fields from an image while keeping the number masked by default.

api · POST /v1/kyc/verify
POST /v1/kyc/verify
Authorization: Bearer sk_live_••••
{ "pan": "XXXXX1234F", "consent_artifact": "ca_9f2c…" }

Overview

What the Aadhaar OCR API does

The Aadhaar OCR API reads Aadhaar card images and PDFs to extract the Aadhaar number, name, date of birth and address as structured fields. The Aadhaar number can be returned masked or full depending on consent scope, and every extraction is captured in a tamper-evident, DPDP-aligned audit log.

Inputs

  • Aadhaar card image (front/back)
  • Scanned PDF upload
  • Masking preference / consent scope

Returns

  • Aadhaar number (maskable)
  • Name
  • Date of birth
  • Address
  • Document quality flags

POST /v1/ocr/aadhaar

How it works

Three steps to a verified result

01

Capture the Aadhaar card

Upload a front and back image, or PDF, of the Aadhaar card over an encrypted channel.

02

Extract and mask

The engine extracts name, DOB, address and Aadhaar number, applying masking rules based on the consent scope you configure.

03

Consent-logged response

Structured fields are returned as JSON alongside a consent record and tamper-evident audit entry.

Use cases

Where teams use Aadhaar OCR

  • KYC onboarding for banks, NBFCs and insurers
  • Address proof capture for loan applications
  • Masked Aadhaar display in customer-facing dashboards
  • Reducing manual re-keying of Aadhaar data

FAQ

Aadhaar OCR API — FAQs

Common questions about FinHub's Aadhaar OCR API.

Masking is configurable. By default sensitive digits are masked; full number access requires explicit consent scope and is logged for audit, in line with DPDP and UIDAI guidance.

Ready to add Aadhaar OCR to your flow?

Book a demo and see the API return a verified result on your own test data in minutes.