We’re excited to launch our latest product to simplify your business processes. Know More →
OCR RPACPC OCR SuiteDocument Verification

Extract PAN card details with a single API.

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.

Live extraction Replay
1 You upload
pan_card.jpgJPG · 1.2 MB
Reading document
2 You get back
✓
SUCCESSPAN card read · fields extracted
612 ms
Document PAN Card
PAN no. ABCKX1034Z
Name AMIT SHARMA
Date of birth 15/08/1992
Caretaker name RAJESH SHARMA
Response time
< 2 s
Uptime SLA
99.9%+
Rate limit
500 req / sec
Auth
Authorization token
API overview

Simplify PAN Card OCR API.

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.

Key information available

Access essential PAN Card OCR API details.

The API response may include the following information, depending on the response received:

01
PAN Identification

PAN number and document type

id_number
id_type
02
Personal Information

Name, date of birth and gender

id_name
id_dob
id_gender
03
Father’s Name

Father’s name, where available

id_caretaker_name
How it works

Simple API-based verification process.

Step 01

Upload the PAN Card Image

Submit a PAN card image as binary data in the request body.

Step 02

Extract PAN Details

The API processes the uploaded image and extracts the available PAN information.

Step 03

Receive Structured Data

Retrieve the extracted PAN details in JSON format along with request metadata.

Step 04

Integrate into Your Application

Use the extracted fields to prefill forms, automate document processing and support authorized onboarding workflows.

API Request

Step 1 Submit PAN Card OCR API details.

Request parameters
Parameter Type Description
Request body Binary Raw PAN card image data.
The request values shown are illustrative dummy data.
Sample request REQUEST
headers = {
    "Authorization": "prod-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}

files = [
    ("front", ("1.jpg", open("1.jpg", "rb"), "image/jpeg")),
]
API response

Step 2Receive structured verification information.

Key response fields
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.
200 · Sample responseRESPONSE
{
  "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.

Use cases

PAN Card OCR API across business workflows.

Digital Onboarding

Extract PAN details to prefill customer registration forms and reduce manual data entry.

Financial Services

Streamline PAN information capture in authorized banking, lending and financial service workflows.

Document Processing Automation

Convert PAN card images into structured data for document management systems.

Identity Verification & Compliance

Use extracted PAN details to support identity verification and KYC compliance workflows.

Enterprise Application Integration

Integrate PAN OCR into business applications, customer portals and internal processing workflows.

FAQ

Frequently asked questions

Common questions about the PAN Card OCR API — what it returns, how fast it is, and how to integrate

Still have a question? Talk to an expert
What is the PAN Card OCR API?
The PAN Card OCR API extracts available information from Indian PAN card images and returns the results in structured JSON format.
Should I send the image as multipart form-data?
No. This endpoint accepts the raw image binary directly in the request body, with the appropriate Content-Type header.
What information can the API extract?
Available fields include PAN number, cardholder name, date of birth, father's name and document type.
What happens if some fields are missing?
Some fields may be empty if the information is unavailable, illegible or not present in the submitted image.
Does PAN OCR verify the PAN with the Income Tax Department?
OCR extracts text from the submitted image. It should not be treated as PAN database verification or proof of authenticity unless a separate verification service explicitly provides that functionality.
Blog

What Is the Fastest Identity Solution for a Rapidly Growing Startup?

Discover the fastest identity solution for startups to streamline customer verification, speed up onboarding, and support business growth.

Read More
What Is the Fastest Identity Solution for a Rapidly Growing Startup?

India's verification infrastructure is already here.

Empower your applications with India's Enterprise Verification Intelligence Platform for faster, more reliable verification.