---
title: PAN To Company Details
slug: api-marketplace/pan-to-company-details
createdAt: 2024-03-15T06:15:41.216Z
---

## Introduction

This API helps verify the authenticity and legitimacy of businesses, which is crucial for various stakeholders such as financial institutions, regulatory bodies, and potential business partners. It also provides detailed information about a company registered, including its Corporate Identification Number (CIN), status, incorporation date, and other relevant details.

# Use case

- **Compliance Verification:** Ensure regulatory adherence by verifying company details for compliance purposes.
- **Due Diligence:** Assess the credibility and reliability of potential business partners before transactions.
- **Risk Assessment:** Evaluate the stability and reputation of companies to mitigate risks.
- **Customer Onboarding:** Streamline account opening processes by automating company verification.
- **Fraud Prevention:** Detect and prevent financial fraud by verifying company information.
- **Real-time Updates:** Receive instant notifications on changes in company status for proactive management.

## API Details

### Endpoint

:::CodeblockTabs
Production environment

```jsx
POST https://api.signzy.app/api/v3/roc/getPanToCompanyDetails
```
:::

:::CodeblockTabs
UAT/Testing environment

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

***

### Request headers

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

### Request body parameters

| **Parameter** | **Data Type** | **Description**    | **Required** |
| ------------- | ------------- | ------------------ | ------------ |
| pan           | String        | PAN of the company | Mandatory    |

```json
{
    "pan": "<PAN>"
}
```

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/roc/getPanToCompanyDetails' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Authorization token>' \
--data '{
    "pan": "<Company PAN number>"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "pan": "<Company PAN number>"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/roc/getPanToCompanyDetails',
  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/getPanToCompanyDetails"

payload = json.dumps({
  "pan": "<Company PAN number>"
})
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/getPanToCompanyDetails"
  method := "POST"

  payload := strings.NewReader(`{
    "pan": "<Company PAN 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")
  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        | Object containing company details                     |
| result.cinNumber           | String        | Corporate Identification Number (CIN) of the company. |
| result.companyName         | String        | Name of the company.                                  |
| result.companyStatus       | String        | Current status of the company (e.g., Active).         |
| result.dateOfIncorporation | String        | Date when the company was incorporated.               |
| result.companyType         | String        | Type of the company (if available).                   |
| result.accountType         | String        | Type of account (e.g., Company).                      |
| result.registrarName       | String        | Name of the registrar of companies.                   |
| result.registrationNumber  | String        | Registration number of the company.                   |
| result.rocCode             | String        | Registrar of Companies (ROC) code.                    |
| result.companyOrigin       | String        | Origin of the company (e.g., Indian).                 |
| result.state               | String        | State where the company is registered.                |
| result.previousCompanyName | String        | Previous name of the company (if applicable).         |

### Response Body

:::CodeblockTabs
200

```json
{
    "result": {
        "cinNumber": "U74999MH2015PTC404635",
        "companyName": "SIGNZY TECHNOLOGIES PRIVATE LIMITED",
        "companyStatus": "Active",
        "dateOfIncorporation": "03/11/2015",
        "companyType": "New Company (Others)",
        "accountType": "Company",
        "registrarName": "Registrar of Companies, Mumbai",
        "registrationNumber": "157118",
        "rocCode": "ROC Mumbai",
        "companyOrigin": "Indian",
        "state": "Maharashtra",
        "previousCompanyName": ""
    }
}
```

400

```json
// Passing invalid PAN number
{
    "error": {
        "name": "error",
        "message": "PAN number is invalid",
        "status": "Bad Request",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// Passing empty PAN number
{
    "error": {
        "name": "error",
        "message": "PAN number is not allowed to be empty string",
        "status": "Bad Request",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// Passing non-string data type value in pan
{
    "error": {
        "name": "error",
        "message": "PAN number must be a string",
        "status": "Bad Request",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// Not passing pan field
{
    "error": {
        "name": "error",
        "message": "PAN number is required",
        "status": "Bad Request",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "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"
}
```

404

```json
// Passing PAN number which is not associated with any Company
{
    "error": {
        "statusCode": 404,
        "name": "Error",
        "message": "Company Not Found for the given PAN Number",
        "reason": "ERROR",
        "type": "Not Found",
        "status": 404
    }
}
```

409

```json
{
    "error": {
        "name": "error",
        "message": "Upstream Down",
        "type: "Conflict",
        "reason": "Error from Upstream"
        "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!
