---
title: Fetch by CIN or LLPIN or PAN
slug: api-marketplace/fetch-by-cin-or-llpin-or-pan
createdAt: 2023-11-02T11:46:52.780Z
---

## Introduction

The Fetch by CIN or LLPIN or PAN API is designed to provide comprehensive, up-to-date information on both companies and Limited Liability Partnerships (LLPs) directly from the Ministry of Corporate Affairs (MCA) portal. By simply inputting a Corporate Identification Number (CIN) or a Limited Liability Partnership Identification Number (LLPIN), users can access a wealth of information, including legal, financial, and operational data. This unified API streamlines the process of obtaining crucial data, making it faster and more efficient than ever before. Whether you are a professional seeking detailed company insights or an organization in need of accurate LLP information.This API will provide you with a unique request ID. This request ID can then be used i&#x6E;**&#x20;Get by request ID (CIN or LLPIN or PAN)&#x20;**&#x20;API to fetch the data.

***

## API details

### Endpoint

:::CodeblockTabs
Production environment

```jsx
POST https://api.signzy.app/api/v3/company-consolidated/fetch-request-id
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
POST https://api-preproduction.signzy.app/api/v3/company-consolidated/fetch-request-id
```
:::

***

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

***

### Request body parameters

| **Parameter** | **Data Type** | **Description**                                                                                                                                | **Required**             |
| ------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| cin           | String        | Corporate Identification Number.<br />If both CIN and PAN are provided in the request, fetch will be performed using the CIN number.           | Conditionally Mandatory  |
| llpin         | String        | LLPIN number of the company.<br />If both LLPIN and PAN are provided in the request, get Data Status will be performed using the LLPIN number. | Conditionally Mandatory  |
| pan           | String        | PAN number of the Company.                                                                                                                     | Conditionally  Mandatory |
| fetchType     | String        | fetchType can either be "company" or "llp". Default value is "company"                                                                         | Conditionally  Mandatory |
| callbackUrl   | String        | The callback URL to which the response should be sent.                                                                                         | Mandatory                |

```json
{
    "cin": "<CIN of the company>",
    "llpin": "<LLPIN of the company>",
    "pan": "XXXXX0000X",
    "fetchType": "company or llp",
    "callbackUrl": "https://preproduction.signzy.tech"
}
```

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/company-consolidated/fetch-request-id' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Your Access Token>' \
--data '{
    "cin": "<CIN of the company>",
    "llpin": "<LLPIN of the company>",
    "pan": "XXXXX0000X",
    "fetchType": "company or llp",
    "callbackUrl": "https://preproduction.signzy.tech"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "cin": "<CIN of the company>",
  "llpin": "<LLPIN of the company>",
  "pan": "XXXXX0000X",
  "fetchType": "company or llp",
  "callbackUrl": "https://preproduction.signzy.tech"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/company-consolidated/fetch-request-id',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<Your Access Token>'
  },
  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("api-preproduction.signzy.app")
payload = json.dumps({
  "cin": "<CIN of the company>",
  "llpin": "<LLPIN of the company>",
  "pan": "XXXXX0000X",
  "fetchType": "company or llp",
  "callbackUrl": "https://preproduction.signzy.tech"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<Your Access Token>'
}
conn.request("POST", "/api/v3/company-consolidated/fetch-request-id", 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://api-preproduction.signzy.app/api/v3/company-consolidated/fetch-request-id"
  method := "POST"

  payload := strings.NewReader(`{
    "cin": "<CIN of the company>",
    "llpin": "<LLPIN of the company>",
    "pan": "XXXXX0000X",
    "fetchType": "company or llp",
    "callbackUrl": "https://preproduction.signzy.tech"
}`)

  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", "<Your Access 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 results of the request.                                                                                     |
| result.requestId | String        | Request ID generated for the CIN or LLPIN that can be used in **Get by request ID (CIN or LLPIN)** API to fetch details. |

```json
{
    "result": {
        "requestId": "6575cf77e6aedb001194abab"
    }
}
```

***

:::hint{type="warning"}
Typically, fetching data from the MCA takes 4-6 hours within its working hours (9 AM to 5:30 PM). This time might be affected as per MCA website availability. However, if data is requested outside these hours, or shortly before closing, it will be available on the following working day.
:::



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

