PAN Card Validation Api

API Call Request Parameters
string
Required

Pan No

string
Required

Full Name

string
Required

Date of Birth

string
Required

Enter Your Api Key

This Api Price:-
API Name Mini API Plan Pro API Plan Gold API Plan Custom API Plan
Pan_card_validation_api ₹0.60/hit
Mini Plan
0.50/hit
Pro Plan
₹0.40/hit
Gold Plan
₹0.35/hit
Custom Allowed

The PAN Card Validation API is a web service that allows businesses, financial institutions, and developers to verify the authenticity of a Permanent Account Number (PAN) issued by the Indian Income Tax Department. This API helps prevent fraud, ensures KYC compliance, and streamlines customer onboarding processes. When you send a PAN number along with the associated name and date of birth, the API cross-references this information with the official government database and returns a structured JSON response indicating whether the PAN exists, whether the name matches, whether the date of birth matches, and whether the PAN is linked with Aadhaar.

The API response shown above represents a successful validation where all provided information matches the official records. The HTTP status code 200 indicates that the API request was processed successfully, while the "status" field with value "success" confirms that no technical or authentication errors occurred during the validation process.


Understanding Each Field in the Response

1. code (200)

This field represents the HTTP-like status code of the API response. A value of 200 means the API request was received, processed, and responded to without any server-side errors. Other possible values include 400 (bad request - missing parameters), 401 (unauthorized - invalid API key), 404 (PAN not found in database), or 500 (internal server error). For successful validations, you will always see 200.

2. status ("success")

The status field provides a human-readable indication of the API call result. "success" means the API executed correctly and returned a valid response, regardless of whether the PAN itself was valid or invalid. Even if a PAN is found to be invalid or non-existent, the status would still be "success" as long as the API call succeeded technically. For failed API calls (wrong endpoint, authentication failure), the status would be "error".

3. message ("Api Call Successfully")

This is a descriptive message accompanying the status field. It confirms that the API call was successful. In case of errors, this message would provide specific details about what went wrong, such as "Missing PAN parameter" or "Invalid date format".

4. response object

The response object contains the actual validation results. This is the most important part of the API response as it holds all verification data.

4.1 PAN_Status ("EXISTING AND VALID")

This field indicates the current status of the PAN card in the government database. "EXISTING AND VALID" means the PAN number is active, has been issued by the Income Tax Department, and has not been cancelled or deactivated. Other possible values include:

  • "INVALID" - The PAN number does not exist in the official database or has been entered incorrectly.
  • "CANCELLED" - The PAN was previously issued but has been cancelled by the tax department.
  • "SUSPENDED" - The PAN is temporarily suspended due to non-compliance or legal reasons.
  • "NOT AVAILABLE" - The database could not be queried due to technical issues.

4.2 PAN ("ABCDE1234F")

This field returns the PAN number that was validated. The PAN follows a standard 10-character alphanumeric format: first five characters are letters (first three alphabetic series, fourth character represents the status of the PAN holder, fifth character is the first letter of the holder's surname), next four characters are numbers, and the last character is an alphabetic check digit. In the example "ABCDE1234F", this represents a valid PAN structure. The API echoes back the PAN that was submitted for verification.

4.3 Name ("YES")

The Name field indicates whether the full name provided in the API request matches the name recorded against the PAN card in the government database. "YES" means the names match exactly. A value of "NO" would indicate a mismatch, which could be due to spelling errors, name order differences (first name vs last name), or the PAN belonging to a different individual. This is a critical field for identity verification and fraud prevention.

4.4 providename ("Enter Full Name")

This field echoes back the name string that was sent by the client in the API request. It serves as an audit trail and debugging aid, allowing developers to see exactly what name was submitted for verification. In a real integration scenario, this would contain the actual name provided by the user, such as "RAHUL SHARMA" or "Priya Singh". The example shows "Enter Full Name" as a placeholder indicating the input value that would normally be provided.

4.5 DOB ("YES")

The DOB field indicates whether the date of birth provided in the API request matches the date of birth recorded against the PAN card. "YES" confirms that the dates match exactly. A "NO" would indicate a mismatch, which could be due to incorrect entry (wrong day/month/year format) or potential identity fraud. Date of birth verification is crucial for age validation, compliance with financial regulations, and preventing identity theft.

4.6 providedob ("03/10/2001")

This field echoes back the date of birth string that was sent by the client in the API request. It follows the DD/MM/YYYY format. The echoed value "03/10/2001" represents 3rd October 2001. This echo feature allows for easy debugging and verification of what data was submitted to the API. If the DOB field returns "NO", developers can compare the providedob with the expected date to identify discrepancies.

4.7 AadhaarSeedingFlag ("YES")

This flag indicates whether the PAN card has been linked (seeded) with the individual's Aadhaar number as required by Indian tax laws under Section 139AA of the Income Tax Act. A value of "YES" means the PAN and Aadhaar are already linked in the government database. A value of "NO" would indicate that the PAN is not yet linked with Aadhaar. This information is important because:

  • Linking PAN with Aadhaar is mandatory for filing income tax returns.
  • Many financial services require PAN-Aadhaar linkage for account opening.
  • Unlinked PANs may become inoperative for certain transactions.
  • Banks and financial institutions use this flag to assess compliance status.

How the PAN Validation API Works

The API operates through a simple request-response mechanism. The client application sends an HTTP POST or GET request to the API endpoint with three mandatory parameters: PAN number, full name, and date of birth. Optionally, additional parameters like transaction ID or callback URLs may be included. The API then:

  1. Authenticates the request using an API key or token.
  2. Validates the input format (PAN pattern, date format, name length).
  3. Queries the official Income Tax Department database or an authorized NSDL/UTIITSL repository.
  4. Compares the submitted PAN against the database to check existence.
  5. If the PAN exists, compares the submitted name and date of birth with the registered values.
  6. Checks the Aadhaar seeding status for the PAN.
  7. Constructs the JSON response with all verification flags.
  8. Returns the response to the client within 1-3 seconds typically.

The API does not return the actual registered name or registered date of birth from the database for privacy and security reasons. Instead, it only returns match indicators (YES/NO) and the original input values (providename, providedob). This design balances verification needs with data protection requirements.


Practical Use Cases for PAN Validation API

Bank Account Opening: When a customer opens a new bank account, the bank uses this API to verify that the PAN provided is valid and belongs to the same person. If Name and DOB both return "YES", the bank can proceed with account creation. If either returns "NO", the bank may request additional identity proof.

Loan Processing: Lenders verify PAN details before approving personal loans, home loans, or credit cards. The AadhaarSeedingFlag helps lenders ensure the applicant has complied with government linkage requirements, reducing compliance risk.

Mutual Fund and Demat Account Creation: SEBI regulations require PAN verification for all securities market transactions. Investment platforms integrate this API to validate investor identities before allowing transactions.

Employee Background Verification: Employers use the API to verify PAN details provided by new hires for tax deduction purposes (TDS). Matching name and PAN ensures correct tax credit and prevents identity fraud.

E-commerce Payment Gateways: High-value transaction platforms may verify PAN for vendor payouts or seller onboarding to comply with tax collection at source (TCS) regulations.

Insurance Policy Issuance: Insurance companies verify PAN details of policyholders to comply with anti-money laundering (AML) guidelines and for tax reporting on high-value premiums.


Interpreting Different Response Scenarios

Scenario 1 - Perfect Match (as shown in example): All fields indicate success. PAN_Status is "EXISTING AND VALID", Name is "YES", DOB is "YES", AadhaarSeedingFlag is "YES". This indicates the PAN is authentic, belongs to the person who submitted it, and has full compliance with Aadhaar linkage. Financial institutions can proceed with high confidence.

Scenario 2 - PAN Exists but Name Mismatch: PAN_Status would be "EXISTING AND VALID", but Name would be "NO". This suggests either a typo in the submitted name or the PAN belongs to a different person. The business should ask the user to re-enter their name exactly as on the PAN card or provide additional identity proof.

Scenario 3 - PAN Exists but DOB Mismatch: Similar to name mismatch, DOB would be "NO" while PAN_Status is valid. This could indicate data entry error (swapped day/month) or potential identity fraud. Banks may reject applications until corrected.

Scenario 4 - Invalid PAN: PAN_Status would be "INVALID" or "NOT EXISTING". The Name and DOB fields may still show "NO" because the PAN itself is not recognized. The business should reject the PAN and ask the user to provide a valid, government-issued PAN card.

Scenario 5 - Aadhaar Not Linked: All other fields may be valid, but AadhaarSeedingFlag would be "NO". The business may still process the transaction but should inform the user about mandatory linking for future tax compliance and potential inoperability of PAN after the deadline.


Integration Best Practices

When integrating this PAN validation API into your application, follow these guidelines:

  • Always validate input format: Ensure PAN follows the pattern (5 letters, 4 numbers, 1 letter) and date of birth is in DD/MM/YYYY format before sending to the API to reduce invalid requests.
  • Handle errors gracefully: For non-200 responses, show user-friendly messages. For example, "PAN verification service is temporarily unavailable. Please try after some time."
  • Implement rate limiting: Protect your API keys and prevent abuse by limiting the number of validation requests per user or IP address.
  • Store only necessary data: For compliance reasons, avoid storing the full PAN unless required. Mask PAN numbers in logs (e.g., "ABCDE****F"). Store only the validation result flags for audit purposes.
  • Cache results carefully: PAN status rarely changes, so you may cache successful validations for up to 24 hours to reduce API costs, but always check Name/DOB fresh for each transaction.
  • Use secure connections: Always call the API over HTTPS to encrypt PAN and other sensitive data during transmission.
  • Monitor API health: Set up alerts for increased error rates or slow response times to ensure your integration remains reliable.

Security and Privacy Considerations

The PAN Validation API handles sensitive personal information including PAN numbers, names, and dates of birth. Organizations using this API must comply with applicable data protection laws and regulations. The API design respects privacy by not returning the registered name or registered DOB from the database, only match flags. However, the submitted PAN itself is sensitive and should be protected. Implement proper access controls, encrypt data at rest and in transit, and regularly audit API access logs. Never expose API keys in client-side code (browser JavaScript). Use server-to-server integration to keep credentials secure. For applications storing PAN information, implement data retention policies that automatically delete or anonymize data after the required legal period.

Language
// Language example will appear here
Click Try It! to start a request and see the response here! Or choose an example:
application/json