AmpleTrails, Gurugram · since 2012 +91 93154 41053 WhatsApp info@ampletrails.com Developer guide · Guides
Products
Identity verificationBusiness verification (KYB)Bank, income & creditFace match & OCRVideo KYC, eSign & flowsCompliance & riskPayouts & messagingAll 52 APIs
Use cases
Customer onboarding (KYC)Merchant & seller onboarding (KYB)Vendor & supplier verificationEmployee background checksGig and field worker onboardingLoan underwritingPayout and refund validationDuplicate and synthetic identity detection
Industries
Fintech & Digital LendingBanks & NBFCsInsuranceBroking, Mutual Funds & WealthCrypto & VDA PlatformsReal-money GamingE-commerce & MarketplacesStaffing, Gig & HRTelecomMobility & LogisticsReal Estate & RentalsB2B & Procurement
Resources
GuidesGlossaryFAQSecurity & data
DevelopersPricingAbout
Theme
Get API keysCall +91 93154 41053

PAN Comprehensive API

Send a PAN with consent and get back the registered name (split into first and last), date of birth, gender, holder category, masked linked Aadhaar and address fields where available.

Identity document · sample NameRAVI KUMAR NumberABCDE1234F Matches the record Name match96 / 100 PAN statusOperative Aadhaar linkLinked
Source
Income Tax Department PAN records, through authorised data partners
Turnaround
Real time, usually a few seconds
Endpoint
POST /v1/pan/comprehensive
Who can use it
Businesses with the holder's consent and a KYC or onboarding purpose. We review the use case before switching it on.

Overview

Where the standard PAN check answers 'does this match?', this one fills the form for you. Send a PAN and we return the registered details so the user doesn't have to type their name and DOB, and you start with the official spelling rather than whatever they typed.

Good to know

Address and gender are not available for every PAN, especially older or non-individual ones. Treat them as optional fields.

What you get

  • Pre-fill formsName and DOB arrive in the format the tax department holds, which cuts typos and later mismatches.
  • Split name fieldsFirst, middle and last name where the source splits them, handy for bureau pulls that want them separately.
  • Linked Aadhaar, maskedThe last four digits of the linked Aadhaar help you cross-check an Aadhaar the user gives you later.
  • Address where heldState and PIN code, when present, help with serviceability checks before you go further.

Request

POST https://api.ampletrails.com/v1/pan/comprehensive

FieldTypeStatusDescription
id_numberstringRequired10-character PAN
consentstringRequiredY 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.

FieldMeaningExample
full_nameName of the PAN holder as registeredRAVI KUMAR
first_nameFirst name, if split is availableRAVI
last_nameLast name, if split is availableKUMAR
dobDate of birth or incorporation1990-04-12
genderGender: M, F or T (individuals only)M
categoryHolder typeIndividual
masked_aadhaarMasked Aadhaar linked to the PAN, if anyXXXXXXXX4321
aadhaar_linkedWhether the PAN is linked to an Aadhaartrue
address.stateState on record, where availableHaryana
address.pincodePIN code on record, where available122001

Example

curl -X POST https://api.ampletrails.com/v1/pan/comprehensive \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id_number": "ABCDE1234F", "consent": "Y"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "full_name": "RAVI KUMAR",
    "first_name": "RAVI",
    "last_name": "KUMAR",
    "dob": "1990-04-12",
    "gender": "M",
    "category": "Individual",
    "masked_aadhaar": "XXXXXXXX4321",
    "aadhaar_linked": true,
    "address": {
      "state": "Haryana",
      "pincode": "122001"
    }
  }
}

Example data. The exact field list for your account comes with your sandbox documentation.

Use cases

Short-form loan journeys

Ask only for PAN and mobile, then pre-fill the rest and let the user confirm.

Credit bureau pulls

Use the official name and DOB to get a cleaner match at the bureau.

Insurance quotes

Pre-fill proposer details in a quote flow so the user only checks and confirms.

Questions about this API

How is this different from PAN Verification?

PAN Verification checks the details you already have. PAN Comprehensive returns the details so you don't have to ask for them.

Will every PAN return an address?

No. Many records don't carry a usable address. Plan your form so address is collected from the user if the field comes back empty.

Can I use this to look up strangers?

No. Every call needs the holder's consent and a genuine onboarding purpose. We switch the API on per use case and watch for unusual lookup patterns.

Is the full Aadhaar number returned?

Never. Only the masked form with the last four digits.

Try the PAN Comprehensive API

Sandbox keys, the full field reference and a Postman collection, usually within a working day.