PAN Verification API
Send a 10-character PAN, plus the name and DOB you collected if you have them. We return whether the PAN is valid and operative, whether name and DOB match, the holder category and the Aadhaar-link flag.
- Source
- Income Tax Department PAN records
- Turnaround
- Real time, usually one to three seconds
- Endpoint
- POST /v1/pan/verify
- Who can use it
- Any business with a genuine purpose and the holder's consent, which covers KYC, payouts, TDS and vendor onboarding.
Overview
The most-used check in Indian onboarding. You learn whether the PAN is real, whether it is operative (linked to Aadhaar by the deadline), and whether the name and DOB you collected match the Income Tax Department's record. Name matching handles initials and spelling variants, so 'R. Kumar' and 'Ravi Kumar' don't fail outright.
Good to know
A valid PAN only proves the PAN exists. It does not prove the person typing it is the holder, so pair it with OTP, DigiLocker or a face match for real KYC.
What you get
- Operative statusInoperative PANs attract higher TDS under section 206AA. You see the status before you deduct or pay.
- Name match with a scoreWe return a 0-100 score as well as true/false, so you choose the threshold that suits your risk.
- DOB checkMatching date of birth catches borrowed PANs that a name match alone would let through.
- Holder categoryThe fourth character tells you if the PAN belongs to a person, company, firm, HUF or trust. We spell it out for you.
Request
POST https://api.ampletrails.com/v1/pan/verify
| Field | Type | Status | Description |
|---|---|---|---|
id_number | string | Required | 10-character PAN of the individual or entity |
name | string | Optional | Name to match against the PAN holder's name |
dob | string | Optional | Date of birth or incorporation (YYYY-MM-DD) for extra matching |
consent | string | Required | Y if the user has given explicit consent |
Response
Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.
| Field | Meaning | Example |
|---|---|---|
pan_status | PAN status: VALID, INVALID or DEACTIVATED | VALID |
name_match | Whether the supplied name matches the PAN holder | true |
name_match_score | Fuzzy match score from 0 to 100 | 96 |
dob_match | Whether the supplied date of birth matches | true |
category | Holder type: Individual, Company, Firm, HUF, Trust and so on | Individual |
aadhaar_linked | Whether the PAN is linked to an Aadhaar | true |
pan_operative | Whether the PAN is operative. PANs not linked to Aadhaar by the deadline are inoperative | true |
Example
curl -X POST https://api.ampletrails.com/v1/pan/verify \
-H "Authorization: Bearer $AMPLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id_number": "ABCDE1234F", "name": "Ravi Kumar", "dob": "1990-04-12", "consent": "Y"}'import os, requests
resp = requests.post(
"https://api.ampletrails.com/v1/pan/verify",
headers={"Authorization": f"Bearer {os.environ['AMPLE_API_KEY']}"},
json={
"id_number": "ABCDE1234F",
"name": "Ravi Kumar",
"dob": "1990-04-12",
"consent": "Y"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json()["data"])const resp = await fetch("https://api.ampletrails.com/v1/pan/verify", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AMPLE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"id_number": "ABCDE1234F",
"name": "Ravi Kumar",
"dob": "1990-04-12",
"consent": "Y"
}),
});
const { data } = await resp.json();$ch = curl_init("https://api.ampletrails.com/v1/pan/verify");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AMPLE_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(["id_number" => "ABCDE1234F", "name" => "Ravi Kumar", "dob" => "1990-04-12", "consent" => "Y"]),
]);
$data = json_decode(curl_exec($ch), true)["data"];{
"status": "success",
"request_id": "req_7f3a9c21e4",
"data": {
"pan_status": "VALID",
"name_match": true,
"name_match_score": 96,
"dob_match": true,
"category": "Individual",
"aadhaar_linked": true,
"pan_operative": true
}
}Example data. The exact field list for your account comes with your sandbox documentation.
Use cases
Lending
First check in almost every loan journey, before the bureau pull, so you don't pay for credit reports on fake PANs.
TDS on payouts
Gaming, marketplaces and payroll teams confirm PAN and operative status before deducting tax.
Vendor onboarding
Procurement teams check the vendor's PAN against the name on the invoice before the first payment.
Questions about this API
What does 'inoperative' mean?
A PAN becomes inoperative if it was not linked to Aadhaar by the government's deadline. It still exists, but TDS and TCS apply at the higher rate and some refunds are held until it is linked again.
How strict is the name match?
We normalise case, spacing, salutations and common initials before scoring. Most teams accept 80 and above and send 60-80 to manual review.
Can I verify a company PAN?
Yes. Send the company's PAN and registered name; leave DOB empty or send the date of incorporation.
Do you charge if the PAN is invalid?
An 'invalid PAN' answer is still a completed lookup and is usually billable. Format errors we catch before calling the source are not charged.
Try the PAN Verification API
Sandbox keys, the full field reference and a Postman collection, usually within a working day.