PAN OCR v2

Extracts structured PAN card details (PAN number, name, father's name, date of birth) from an uploaded image or PDF using OCR, via the customer's configured v2 verification setup. The PAN number is format-validated (AAAAA0000A); an unreadable card or one whose PAN is not a valid PAN returns IDTO_202.

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 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 PAN 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