---
title: Simple search by DIN
slug: api-marketplace/cAfd-simple-search-by-din
description: Get a sneak peek at the upcoming document. Discover valuable insights and information that has not been released yet. Stay tuned for the release and be the first to access this highly anticipated resource.
createdAt: 2023-04-20T21:43:56.000Z
---

## Introduction

The "Simple Search by DIN" API provides a detailed yet straightforward approach for obtaining in-depth information about directors in India. Utilizing the Director Identification Number (DIN), this API delivers extensive details beyond basic director profiles. It includes the director's name, father's name, date of birth, associations with other companies and LLPs, along with other pertinent information.

This API is ideal for users who require a thorough understanding of a director's professional affiliations and background. It's a valuable tool for comprehensive corporate research, risk assessment, and legal compliance, offering a robust solution for those seeking detailed insights into a director's corporate connections.

## API details

### Endpoint

:::CodeblockTabs
Production environment

```jsx
https://api.signzy.app/api/v3/roc/simpleSearchByDin
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
https://api-preproduction.signzy.app/api/v3/roc/simpleSearchByDin
```
:::

***

### Request body parameters:

| **Parameter** | **Data Type** | **Description**                | **Required** |
| ------------- | ------------- | ------------------------------ | ------------ |
| din           | String        | Director Identification Number | Mandatory    |

```json
{
   "din": "<DIN>"
}
```

***

### Request headers&#x20;

| **Name**      | **Value**        | **Required** | **Description**                                                                                            |
| ------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory    | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory    | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/roc/simpleSearchByDin' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth token>' \
--data '{
    "din": "<DIN>"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "din": "<DIN>"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/roc/simpleSearchByDin',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<Auth token>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/roc/simpleSearchByDin"

payload = json.dumps({
  "din": "<DIN>"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<Auth token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/roc/simpleSearchByDin"
  method := "POST"

  payload := strings.NewReader(`{
    "din": "<DIN>"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<Auth token>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| Parameter                             | Data Type        | Description                                                                  |
| ------------------------------------- | ---------------- | ---------------------------------------------------------------------------- |
| result                                | Object           | Contains the result of the task.                                             |
| result.din                            | String           | Director Identification Number                                               |
| result.designation                    | String           | Designation of the Director.                                                 |
| result.dateOfAppointment              | String           | Date of appointment of the Director.                                         |
| result.address                        | String           | Address                                                                      |
| result.name                           | String           | Name of the Director.                                                        |
| result.whetherDscRegistered           | String           | Digital Signature Certificate is registered or not.                          |
| result.dscExpiryDate                  | String           | Expiry date of the Digital Signature Certificate.                            |
| result.fatherName                     | String           | Father's Name                                                                |
| result.dob                            | String           | Date of Birth                                                                |
| result.noOfCompanies                  | String           | Number of companies.                                                         |
| result.splitAddress                   | Object           | Contains the address details.                                                |
| result.splitAddress.district          | Array            | Name of the District                                                         |
| result.splitAddress.state             | Array            | Name of the State                                                            |
| result.splitAddress.city              | Array            | Name of the City                                                             |
| result.splitAddress.pincode           | String           | Pincode of the address.                                                      |
| result.splitAddress.country           | Array            | Country Details                                                              |
| result.splitAddress.addressLine       | String           | Detailed address information.                                                |
| result.listOfCompanies                | Array of Objects | Contains the companies associated with the individual.                       |
| result.listOfCompanies\[].cin         | String           | Company Identification Number                                                |
| result.listOfCompanies\[].companyName | String           | Name of the company.                                                         |
| result.listOfCompanies\[].beginDate   | String           | Begin date of association with the company.                                  |
| result.listOfCompanies\[].endDate     | String           | End date of association with the company.                                    |
| result.listOfLLPs                     | Array            | Contains the Limited Liability Partnerships  associated with the individual. |

:::CodeblockTabs
200

```json
{
    "result": {
        "din": "06770480",
        "designation": "",
        "dateOfAppointment": "",
        "address": "",
        "name": "ANKIT RATAN",
        "whetherDscRegistered": "",
        "dscExpiryDate": "",
        "fatherName": "***** *****",
        "dob": "08/03/1988",
        "noOfCompanies": "2",
        "splitAddress": {
            "district": [],
            "state": [
                []
            ],
            "city": [],
            "pincode": "",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": ""
        },
        "listOfCompanies": [
            {
                "cin": "U74999MH2015PTC404635",
                "companyName": "SIGNZY TECHNOLOGIES PRIVATE LIMITED",
                "beginDate": "",
                "endDate": ""
            },
            {
                "cin": "U67100MH2021PTC362743",
                "companyName": "WAYNE SECURE DIGITAL RTA PRIVATE LIMITED",
                "beginDate": "",
                "endDate": ""
            }
        ],
        "listOfLLPs": []
    }
}
```

400

```json
// Passing invalid DIN
{
    "error": {
        "name": "error",
        "message": "Invalid DIN",
        "status": 400,
        "statusCode": 400
    }
}
```

401

```json
// When API key is not passed in headers
{
    "message": "No API key found in request"
}

// When wrong API key is passed in headers
{
    "message": "Invalid authentication credentials"
}
```

409

```json
{
    "error": {
        "name": "error",
        "message": "Upstream Down",
        "status": 409,
        "statusCode": 409
    }
}
```
:::

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
