The RPACPC PAN Card OCR API extracts key information from Indian Permanent Account Number (PAN) cards using Optical Character Recognition (OCR).
Automate PAN document data extraction and integrate it into your applications through a simple API request.
The RPACPC PAN Card OCR API enables businesses and developers to extract structured information from PAN card images without manually entering the details.
The API accepts a PAN card image as the raw request body and returns the extracted information in JSON format. Depending on the image and information available, the response may include PAN number, cardholder name, date of birth, father’s name and document type.
The API response may include the following information, depending on the response received:
PAN number and document type
Name, date of birth and gender
Father’s name, where available
Submit a PAN card image as binary data in the request body.
The API processes the uploaded image and extracts the available PAN information.
Retrieve the extracted PAN details in JSON format along with request metadata.
Use the extracted fields to prefill forms, automate document processing and support authorized onboarding workflows.
| Parameter | Type | Description |
|---|---|---|
| Request body | Binary | Raw PAN card image data. |
headers = {
"Authorization": "prod-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
files = [
("front", ("1.jpg", open("1.jpg", "rb"), "image/jpeg")),
]
| Field | Description |
|---|---|
| country | Country associated with the document. |
| billable | Indicates whether the request is billable. |
| output | Object containing extracted PAN card information. |
| output.id_number | PAN number extracted from the card. |
| output.id_gender | Gender, if available. |
| output.id_name | Name of the PAN cardholder. |
| output.id_dob | Date of birth extracted from the card. |
| output.id_address | Address, if available. |
| output.id_type | Identified document type, such as PAN. |
| output.id_caretaker_name | Father’s name or related-person name, if available. |
{
"status": "Success",
"country": "India",
"billable": "Yes",
"message": "Details extraction completed successfully.",
"output": {
"id_number": "ABCKX1034Z",
"id_gender": "",
"id_name": "AMIT SHARMA",
"id_dob": "15/08/1992",
"id_address": "",
"id_type": "PAN",
"id_caretaker_name": "RAJESH SHARMA"
}
}
Illustrative response using dummy data. The API may return additional fields such as request ID, sequence ID and timestamps. Field availability and values may vary.
Extract PAN details to prefill customer registration forms and reduce manual data entry.
Streamline PAN information capture in authorized banking, lending and financial service workflows.
Convert PAN card images into structured data for document management systems.
Use extracted PAN details to support identity verification and KYC compliance workflows.
Integrate PAN OCR into business applications, customer portals and internal processing workflows.
Common questions about the PAN Card OCR API — what it returns, how fast it is, and how to integrate
Discover the fastest identity solution for startups to streamline customer verification, speed up onboarding, and support business growth.
Read More
Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.