Pan Card Services API

Ippocloud's Pan Card Service API will verify whether provided Aadhaar card linked with Pan Card for onboarding verified users


To use this API, you need an API key.
Please login to your account and navigate to dashboard > API configuration

Learn how to authenticate the APIs.

Aadhaar & Pan Linking Status

Use the below endpoint to check whether aadhaar and pan card are linked or not

/nsdl/pan-services/aadhaar-linking-status
curl -X POST https://ippocloud.com/api/v1
/nsdl/pan-services/aadhaar-linking-status
-H "Authorization: Basic bGl2ZV82MzAzZT...."
-H "Content-Type: application/json"
-d "{\"pan\":\"ABCTY1234D\", \"aadhaar_number\":\"456334521954\"}"
$url = "https://ippocloud.com/api/v1
/nsdl/pan-services/aadhaar-linking-status";
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$headers = array(
   "Authorization: Basic bGl2ZV82MzAzZT....",
   "Content-Type: application/json",
);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
$data = '{"pan":"ABCTY1234D", "aadhaar_number":"456334521954"}';
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
$resp = curl_exec($curl);
curl_close($curl);
var_dump($resp);
var url = "https://ippocloud.com/api/v1
/nsdl/pan-services/aadhaar-linking-status";
var xhr = new XMLHttpRequest();
xhr.open("POST", url);
xhr.setRequestHeader("Authorization", "Basic bGl2ZV82MzAzZT....");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.onreadystatechange = function () {
   if (xhr.readyState === 4) {
      console.log(xhr.status);
      console.log(xhr.responseText);
   }};
var data = '{"pan":"ABCTY1234D", "aadhaar_number":"456334521954"}';
xhr.send(data);
import requests
from requests.structures import CaseInsensitiveDict
url = "https://ippocloud.com/api/v1
/nsdl/pan-services/aadhaar-linking-status"
headers = CaseInsensitiveDict()
headers["Authorization"] = "Basic bGl2ZV82MzAzZT...."
headers["Content-Type"] = "application/json"
data = '{"pan":"ABCTY1234D", "aadhaar_number":"456334521954"}'
resp = requests.post(url, headers=headers, data=data)
print(resp.status_code)
URL url = new URL("https://ippocloud.com/api/v1
/nsdl/pan-services/aadhaar-linking-status");
HttpURLConnection http = (HttpURLConnection)url.openConnection();
http.setRequestMethod("POST");
http.setDoOutput(true);
http.setRequestProperty("Authorization", "Basic bGl2ZV82MzAzZT....");
http.setRequestProperty("Content-Type", "application/json");
String data = "{\"pan\":\"ABCTY1234D\", \"aadhaar_number\":\"456334521954\"}";
byte[] out = data.getBytes(StandardCharsets.UTF_8);
OutputStream stream = http.getOutputStream();
stream.write(out);
System.out.println(http.getResponseCode() + " " + http.getResponseMessage());
http.disconnect();
var url = "https://ippocloud.com/api/v1
/nsdl/pan-services/aadhaar-linking-status";
var httpRequest = (HttpWebRequest)WebRequest.Create(url);
httpRequest.Method = "POST";
httpRequest.Headers["Authorization"] = "Basic bGl2ZV82MzAzZT....";
httpRequest.ContentType = "application/json";
var data = "{\"pan\":\"ABCTY1234D\", \"aadhaar_number\":\"456334521954\"}";
using (var streamWriter = new StreamWriter(httpRequest.GetRequestStream()))
{
   streamWriter.Write(data);
}
var httpResponse = (HttpWebResponse)httpRequest.GetResponse();
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
   var result = streamReader.ReadToEnd();
}
Console.WriteLine(httpResponse.StatusCode);
{
    "data": {
        "entity": "pan_services",
        "pan": "ABCTY1234D",
        "aadhaar_number": "456334521954",
        "linking_status": "LINKED",
        "message": "PAN ABCTY1234D is already linked to given Aadhaar 456334521954"
    }
}

Request parameters

pan

mandatory

string PAN is a ten-digit unique alphanumeric number issued by the Income Tax Department. For example, ABCTY1234D

aadhaar_number

mandatory

string Aadhaar number is a 12-digit random number issued by the UIDAI. For example, 4563-3452-1954

Response Parameters

data

object contains all the details such entity, pan, aadhaar_number, linking_status, message

entity

string something that exists separately from something else and has its own identity

pan

string PAN number that you provided to enquire the linking status

aadhaar_number

string Aadhaar number that you provided to enquire the linking status

linking_status

string Returns the status of whether the provided aadhaar and pan are linked or not

  • LINKED

  • NOT_LINKED

message

string Response message or notice related to the query

Do you need help to implement this API? contact us