---
title: Fetch Company PAN ROC LEI
slug: api-marketplace/fetch-company-pan-roc-lei
description: Learn how to use the Signzy API to effortlessly search for a company's PAN, ROC, and LEI numbers. This document contains a convenient curl command that initiates an HTTP POST request to the API endpoint, employing a patron ID and an array of input paramet
createdAt: 2023-04-06T12:25:18.000Z
---

## Introduction

The above curl command is an HTTP POST request that can be used to search for a company's PAN, ROC, and LEI numbers using the Signzy API. The API endpoint specified in the curl command is designed to accept a patron ID and vehicle/company/GST number as input parameters in JSON format. The patron ID is a unique identifier that is used to authenticate and authorize access to the API.

## Curl

:::CodeblockTabs
Production

```curl
curl --request POST \
  --url https://signzy.tech/api/v2/patrons/..your-patron-id../companyPanLei \
  --header 'Accept: */*' \
  --header 'Accept-Language: en-US,en;q=0.8' \
  --header 'content-type: application/json' \
  --data '{"task":"PanRocLei","essentials":{"panNumber":"..vehicle number to-search-for..","companyName":"..Company Name to-search-for..(Optional)","gstNumber":"..gstn number to-search-for..(Optional)"}, "callbackUrl" : "...callback url (optional)..."}'
```
:::

### Request Parameters

| Parameter Name | Description                                                                   |
| -------------- | ----------------------------------------------------------------------------- |
| callbackUrl    | (Optional) callback url                                                       |
| patron-id      | Unique identifier that authenticates and authorizes access to the API         |
| task           | Specifies the type of request being made. In this case, it is **"PanRocLei"** |
| panNumber      | The vehicle number to search for                                              |
| companyName    | (Optional) The name of the company to search for                              |
| GST number     | (Optional) The GSTN number to search for                                      |

### Sample Response

```json
{
    "result": {
            "requestId": "6347f7705adce13685f73a0e"
    }
}  
```

| Parameter Name | Description                                                                                                                  |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| result         | The parent node of the response containing the output                                                                        |
| requestId      | A unique identifier generated by the API for the request that was made. This can be used to track the request and its status |

