---
title: Simple search by DIN
slug: api-marketplace/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

:::hint{type="info"}
**Pre-requisite:** You would need to create an organization object first to consume this API. Please refer to these [docs](https://docs.signzy.com/api-marketplace/create-organization-object) to understand how to create an organization object.
:::

### Endpoint

:::CodeblockTabs
Production environment

```jsx
https://signzy.tech/api/v2/hunts
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
https://preproduction.signzy.tech/api/v2/hunts
```
:::

***

### Request body parameters:

| **Parameter**  | **Data Type** | **Description**                                                                   | **Required** |
| -------------- | ------------- | --------------------------------------------------------------------------------- | ------------ |
| target         | String        | The value needs to be passed as  "Organization".                                  | Mandatory    |
| itemId         | String        | ID generated as part of Create Organization API call.                             | Mandatory    |
| accessToken    | String        | The access token generated in the response of the create organization object API. | Mandatory    |
| task           | String        | The value needs to be passed as   "simpleSearchByDin"                             | Mandatory    |
| essentials     | Object        | Contains the essential parameters for the task.                                   | Mandatory    |
| essentials.din | String        | Director Identification Number                                                    | Mandatory    |

```json
{
    "target": "Organization",
    "itemId": "<ID_generated_from_organization_call>",
    "accessToken": "<Token_generated_from_organization_call>",
    "task": "simpleSearchByDin",
    "essentials": {
        "din": "<DIN number>"
    }
}
```

***

### Request headers&#x20;

| Name         | Value            | Required  | Description                                         |
| ------------ | ---------------- | --------- | --------------------------------------------------- |
| Content-Type | application/JSON | Mandatory | The type of content that the request body contains. |

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://preproduction.signzy.tech/api/v2/hunts' \
--header 'content-type: application/json' \
--data '{
    "target": "Organization",
    "itemId": "<ID_generated_from_organization_call>",
    "accessToken": "<Token_generated_from_organization_call>",
    "task": "simpleSearchByDin",
    "essentials": {
        "din": "<DIN number>"
    }
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "target": "Organization",
  "itemId": "<ID_generated_from_organization_call>",
  "accessToken": "<Token_generated_from_organization_call>",
  "task": "simpleSearchByDin",
  "essentials": {
    "din": "<DIN number>"
  }
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://preproduction.signzy.tech/api/v2/hunts',
  headers: { 
    'content-type': 'application/json'
  },
  data : data
};

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

```

```python
import http.client
import json

conn = http.client.HTTPSConnection("preproduction.signzy.tech")
payload = json.dumps({
  "target": "Organization",
  "itemId": "<ID_generated_from_organization_call>",
  "accessToken": "<Token_generated_from_organization_call>",
  "task": "simpleSearchByDin",
  "essentials": {
    "din": "<DIN number>"
  }
})
headers = {
  'content-type': 'application/json'
}
conn.request("POST", "/api/v2/hunts", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```

```go
package main

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

func main() {

  url := "https://preproduction.signzy.tech/api/v2/hunts"
  method := "POST"

  payload := strings.NewReader(`{
    "target": "Organization",
    "itemId": "<ID_generated_from_organization_call>",
    "accessToken": "<Token_generated_from_organization_call>",
    "task": "simpleSearchByDin",
    "essentials": {
        "din": "<DIN number>"
    }
}`)

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

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("content-type", "application/json")

  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                                                                       |
| ------------------------------------- | ---------------- | --------------------------------------------------------------------------------- |
| target                                | String           | The value needs to be passed as  "Organization".                                  |
| itemId                                | String           | ID generated as part of Create Organization API call.                             |
| accessToken                           | String           | The access token generated in the response of the create organization object API. |
| task                                  | String           | The value needs to be passed as   "simpleSearchByDin"                             |
| id                                    | String           | Identifier for this specific request.                                             |
| essentials                            | Object           | Contains the essential parameters for the task.                                   |
| essentials.din                        | String           | Director Identification Number                                                    |
| 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
{
    "target": "Organization",
    "itemId": "659d23fa25fbe400226d2b6a",
    "accessToken": "pvc8ktenlhn8k83dwh3u05a81gxfgqgzf",
    "task": "simpleSearchByDin",
    "id": "659d2b6a25fbe400226d2c16",
    "essentials": {
        "din": "08692428"
    },
    "result": {
        "din": "08692428",
        "designation": "",
        "dateOfAppointment": "",
        "address": "",
        "name": "GAURAV SATYAPRAKASH BAJPAI",
        "whetherDscRegistered": "",
        "dscExpiryDate": "",
        "fatherName": "SATYAPRAKASH BAJPAI",
        "dob": "25/04/1988",
        "noOfCompanies": "1",
        "splitAddress": {
            "district": [],
            "state": [
                []
            ],
            "city": [],
            "pincode": "",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": ""
        },
        "listOfCompanies": [
            {
                "cin": "U66190MH2023PTC414450",
                "companyName": "SIGNZY ACCOUNT AGGREGATOR SERVICES PRIVATE LIMITED",
                "beginDate": "",
                "endDate": ""
            }
        ],
        "listOfLLPs": []
    }
}
```
:::

***

**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!
