Aadhaar OCR v2

Extracts structured Aadhaar details (Aadhaar number, name, date of birth, gender, care-of, address) from an uploaded image or PDF using OCR, via the customer's configured v2 verification setup. The full 12-digit Aadhaar number is returned.

Response contract: A successful extraction returns HTTP 200 with status: "success", error_code: null, and a populated data object. A valid upload with nothing readable, or one whose Aadhaar number is not a valid 12-digit number, ALSO returns HTTP 200 with status: "success", but carries a non-null error_code (IDTO_202) and data: null — every 2xx response is status: "success", so branch on error_code (null = extracted, IDTO_202 = nothing readable), not on status. Only a raised error returns status: "error". An unreadable or oversized image returns HTTP 413 (IDTO_503). Authenticate with your X-Client-ID and X-API-KEY headers.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
file
required

Upload a clear JPG, PNG or PDF of the Aadhaar card.

Responses

401

Missing or invalid authentication credentials (X-Client-ID / X-API-KEY).

429

Too many requests, rate limited (IDTO_006). Retry after a short wait.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json