PAN Verification API — Validate Name & Status
Verify any PAN number instantly and retrieve the holder's name, category, and active status. Real-time validation against the Income Tax database.
curl -X GET "https://production.deepvue.tech/v1/verification/panbasic?pan_number=example_string&name=John Doe" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
-H "x-api-key: YOUR_API_KEY"
import requests
import json
url = "https://production.deepvue.tech/v1/verification/panbasic?pan_number=example_string&name=John Doe"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://production.deepvue.tech/v1/verification/panbasic?pan_number=example_string&name=John Doe", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://production.deepvue.tech/v1/verification/panbasic?pan_number=example_string&name=John Doe", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://production.deepvue.tech/v1/verification/panbasic?pan_number=example_string&name=John Doe')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
request['x-api-key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"code": 200,
"timestamp": 1738040933033,
"transaction_id": "ece94d5e2749482faa10184962e9e34a",
"data": {
"@entity": "pan",
"pan": "AAAPT0002F",
"full_name": "RATAN NAVAL TATA",
"status": "VALID",
"category": "Individual",
"name_information": {
"pan_name_cleaned": "Ratan Naval Tata"
}
}
}
{
"code": 200,
"timestamp": 1738041052567,
"transaction_id": "ff3b4382a4ac4e5688705fad0e702209",
"data": {
"@entity": "pan",
"pan": "CILPN1111A",
"status": "INVALID",
"category": "Individual"
}
}
{
"detail": "Inactive client_id"
}
{
"detail": "Not authenticated"
}
{
"detail": "Not a valid token"
}
{
"code": 422,
"timestamp": 1737920868205,
"transaction_id": "9326923f34de40de8dbf1517a4204162",
"message": "Invalid Pan pattern"
}
{
"detail": "Internal Server Error"
}
{
"code": null,
"timestamp": null,
"transaction_id": "string",
"message": "Source Unavailable"
}
/v1/verification/panbasic
ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Query Parameters
Responses
Overview
The PAN Basic API enables verification of Permanent Account Numbers (PANs), which serve as universal identification keys for tracking financial transactions with taxable components to prevent tax evasion. The API validates PAN numbers and provides basic information including name, category, and status.
PAN validity is maintained regardless of address changes throughout India. You can submit a PAN number and optionally a name to retrieve verification results.
Successful verification returns the PAN status (VALID or INVALID), the associated full name, taxpayer category (such as Individual), and cleaned name information. Invalid PANs are flagged with an INVALID status while still returning the category classification.
Last updated 4 weeks ago
Built with Documentation.AI