---
title: PTRC (Professional Tax Registration Certificate) API
slug: api-marketplace/ptrc-professional-tax-registration-certificate-api
description: Get ready for a comprehensive document that is being prepared and will be accessible very soon. Stay tuned for valuable insights and information on a variety of topics.
createdAt: 2023-04-20T22:16:03.000Z
---

## Introduction

This API allows you to retrieve comprehensive details associated with a Professional Tax Number. By inputting a valid Professional Tax Number, the API returns detailed information including the state, dealer name, tax identification numbers (TIN and GSTIN), address details, and related GSTN data. This facilitates efficient verification and integration of professional tax data into your applications or workflows.

***

## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

```none
https://api.signzy.app/api/v3/ptrc/search
```
:::

:::CodeblockTabs
Production Endpoint

```none
https://api-preproduction.signzy.app/api/v3/ptrc/search
```
:::

### Request Headers

| **Name&#x20;** | **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                        | Type               | Description                                                                                                |
| -------------------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------- |
| professionalTaxNumber<br />state | string<br />string | A unique identifier assigned to individuals or entities for tax purposes.<br />State where the user stays. |

```json
{
    "professionalTaxNumber":"<professionalTaxNumber>",
    "state":"<state>"
}
```

***

### Code samples

:::CodeblockTabs
curl

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/ptrc/search' \
--header 'Content-Type: application/json' \
--header 'Authorization: <auth token>' \
--data '{
    "professionalTaxNumber":"<professionalTaxNumber>",
    "state":"<state>"
}'
```

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

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

payload = json.dumps({
  "professionalTaxNumber": "<professionalTaxNumber>",
  "state": "<state>"
})
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/ptrc/search"
  method := "POST"

  payload := strings.NewReader(`{
    "professionalTaxNumber":"<professionalTaxNumber>",
    "state":"<state>"
}`)

  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 detailed information about the entity.                     |
| result.address1                  | String    | First line of the address.                                          |
| result.address2                  | String    | Second line of the address.                                         |
| result.address3                  | String    | Third line of the address.                                          |
| result.talukaName                | String    | Name of the taluka (sub-district).                                  |
| result.streetName                | String    | Name of the street.                                                 |
| result.pinCode                   | String    | Postal code.                                                        |
| result.districtName              | String    | Name of the district.                                               |
| result.cityName                  | String    | Name of the city.                                                   |
| result.effectiveOrCanceledDate   | String    | Effective or canceled date.                                         |
| result.address                   | String    | Complete address.                                                   |
| result.status                    | String    | Status of the entity.                                               |
| result.tin                       | String    | Taxpayer identification number.                                     |
| result.principalAddress          | String    | Principal address of the entity.                                    |
| result.dealerStatus              | String    | Status of the dealer.                                               |
| result.gstin                     | String    | Goods and Services Tax Identification Number (GSTIN).               |
| result.dealerName                | String    | Name of the dealer.                                                 |
| result.splitAddress              | Object    | Contains split address information.                                 |
| result.dataFromGstn              | Object    | Contains data retrieved from GSTN (Goods and Services Tax Network). |
| result.dataFromGstn.gstnDetailed | Object    | Detailed information retrieved from GSTN.                           |
| result.dataFromGstn.gstnRecords  | Array     | Records retrieved from GSTN.                                        |

:::CodeblockTabs
200

```json
{
    "professionalTaxNumber": "99522311536P",
    "state": "MAHARASHTRA",
    "id": 11,
    "result": {
        "address1": "",
        "address2": "",
        "address3": "",
        "talukaName": "",
        "streetName": "",
        "pinCode": "",
        "districtName": "",
        "cityName": "",
        "effectiveOrCanceledDate": "",
        "address": "",
        "status": "",
        "state": "MAHARASHTRA",
        "tin": "099522311536",
        "principalAddress": "",
        "dealerStatus": "",
        "gstin": "",
        "dealerName": "ADDTEQ SOFTWARE INDIA PVT LTD",
        "splitAddress": {
            "district": [],
            "state": [
                []
            ],
            "city": [],
            "pincode": "",
            "country": [
                "IN",
                "IND",
                "INDIA"
            ],
            "addressLine": ""
        },
        "dataFromGstn": {
            "gstnDetailed": {
                "constitutionOfBusiness": "",
                "legalNameOfBusiness": "",
                "tradeNameOfBusiness": "",
                "centreJurisdiction": "",
                "stateJurisdiction": "",
                "registrationDate": "",
                "taxPayerDate": "",
                "gstinStatus": "",
                "cancellationDate": "",
                "natureOfBusinessActivities": [],
                "principalPlaceAddress": "",
                "principalPlaceBuildingNoFromGST": "",
                "principalPlaceBuildingNameFromGST": "",
                "principalPlaceFlatNo": "",
                "additionalPlaceAddress": "",
                "additionalPlaceBuildingNoFromGST": "",
                "additionalPlaceBuildingNameFromGST": "",
                "additionalPlaceFlatNo": "",
                "additionalPlaceSplitAddress": {
                    "district": [],
                    "state": [
                        []
                    ],
                    "city": [],
                    "pincode": "",
                    "country": [],
                    "addressLine": ""
                },
                "principalPlaceSplitAddress": {
                    "district": [],
                    "state": [
                        []
                    ],
                    "city": [],
                    "pincode": "",
                    "country": [],
                    "addressLine": ""
                }
            },
            "gstnRecords": [
                {
                    "applicationStatus": "",
                    "registrationName": "",
                    "mobNum": "",
                    "regType": "",
                    "emailId": "",
                    "tinNumber": "",
                    "gstinRefId": "",
                    "gstin": ""
                }
            ],
            "gstin": ""
        }
    }
}
```

400

```json
// When iec code is not valid
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "",
        "status": 400
    }
}
```

401

```none
// When Auth token is wrong
{
    "message": "Invalid authentication credentials"
}
// When Auth token is not given
{
    "message": "No API key found in request"
}
```
:::

***

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

