PAN to DIN Lookup
Find the Director Identification Number (DIN) linked to a PAN. Useful for verifying company directors during due diligence.
curl -X GET "https://production.deepvue.tech/v1/business-compliance/pan-to-din?pan_number=example_string" \
-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/business-compliance/pan-to-din?pan_number=example_string"
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/business-compliance/pan-to-din?pan_number=example_string", {
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/business-compliance/pan-to-din?pan_number=example_string", 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/business-compliance/pan-to-din?pan_number=example_string')
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": 1738135067385,
"transaction_id": "ccf27abf08e1463091c76b0bbd595aa6",
"sub_code": "SUCCESS",
"message": "DIN details fetched successfully.",
"data": {
"din_number": "00001695",
"din_status": "Approved",
"pan_number": "AADPA3705F",
"first_name": "MUKESH",
"middle_name": "DHIRUBHAI",
"last_name": "AMBANI",
"date_of_birth": "1957-04-19",
"father_first_name": "DHIRUBHAI",
"father_middle_name": "HIRACHAND",
"father_last_name": "AMBANI",
"resident_of_india": "Y",
"membership_number": ""
}
}
{
"code": 200,
"timestamp": 1738135067385,
"transaction_id": "43c42d505cb644c8be03285fb41b805b",
"sub_code": "INVALID_ID_OR_NO_DATA_FOUND",
"message": "No Linked DIN found or Invalid Pan."
}
{
"detail": "Not authenticated"
}
{
"detail": "Invalid client_id, access Denied"
}
{
"detail": "Could not validate credentials"
}
{
"detail": "Incorrect client_id or client_secret"
}
{
"detail": "Not a valid token"
}
{
"detail": "Access forbidden"
}
{
"code": 422,
"timestamp": 1738135067385,
"transaction_id": "7a73a881b1f3406b8ee61027f69b56eb",
"sub_code": "INVALID_INPUT",
"message": "Invalid Pan pattern."
}
{
"detail": "Internal Server Error"
}
{
"code": 500,
"timestamp": null,
"transaction_id": "string",
"sub_code": "SOURCE_FAILURE",
"message": "Source failure. Unable to validate."
}
/v1/business-compliance/pan-to-din
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
This API retrieves Director Identification Number (DIN) details and associated information from a provided PAN (Permanent Account Number). It enables verification of PAN numbers and fetches linked DIN information when available.
When a PAN is successfully matched to a DIN, the API returns:
- DIN number and approval status
- Director's full name (first, middle, last)
- Date of birth
- Father's name details
- Resident status in India
- Membership number information
The API returns a 200 status code even when a PAN is invalid or no linked DIN exists, with the message: "No Linked DIN found or Invalid Pan."
Last updated 4 weeks ago
Built with Documentation.AI