IndiaPAN

PAN Card OCR — Extract Name, Number & DOB

Upload a PAN card image and extract the PAN number, holder name, father's name, and date of birth automatically.

curl -X POST "https://production.deepvue.tech/v1/documents/extraction/ind_pancard" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "document1": "example_string",
  "name": "John Doe"
}'
{
  "code": 200,
  "transaction_id": "string",
  "message": "Document processed successfuly",
  "data": {
    "age": null,
    "date_of_birth": "string",
    "date_of_issue": "string",
    "fathers_name": "string",
    "id_number": "string",
    "is_scanned": true,
    "minor": true,
    "name_on_card": "string",
    "pan_type": "string"
  }
}
POST
/v1/documents/extraction/ind_pancard
POST
Bearer Token (JWT)
Bearer Tokenstring
Required

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key (header: x-api-key)
x-api-keystring
Required

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Content-Typestring
Required

The media type of the request body

Options: application/json
document1string
Required

The main document being submitted for extraction of respective information.

namestring

The name of the document being submitted for extraction of respective information.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

header
x-api-keystring
Required

API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

Body

application/json
document1string
Required

The main document being submitted for extraction of respective information.

namestring

The name of the document being submitted for extraction of respective information.

Responses

codeinteger
transaction_idstring
messagestring
dataobject

Overview

The PAN Card OCR API lets you extract relevant fields like pan_number, name, and dob from the image of a PAN Card document in the form of key-value pairs.

The API requires submission of a base64-encoded image of a PAN Card document. The system processes this image using OCR technology to identify and extract key information fields presented as structured key-value pairs, including PAN number, name on card, date of birth, father's name, date of issue, age, PAN type classification, and minor status indicator.