---
title: RC to PUC API
slug: api-marketplace/rc-to-puc-api
createdAt: 2024-01-05T12:34:13.940Z
---

## Overview

This service is used for retrieving the details of PUC certification of vehicle using vehicle registration number

## What is a Puc Certificate?

A Pollution Under Control (PUC) certificate is an official document issued by the government that certifies a vehicle's emissions are in compliance with the pollution control standards. 

This document is crucial for several reasons:

1. **Legal Compliance**: It's a mandatory document as per the motor vehicle laws in many regions, required to be carried by drivers at all times. Without a valid PUC certificate, vehicle owners may face legal penalties.
2. **Environmental Responsibility**: The PUC certificate ensures that the vehicle's emissions are within the prescribed pollution norms and thus helps in reducing the environmental impact of the vehicle.
3. **Insurance Claims:&#x20;**&#xA0;In some cases, having a valid PUC certificate may be required for processing insurance claims, as it shows the vehicle was in compliance with legal standards at the time of any incident.

## How to call the API

You will need to login before sending the request. You are required to pass the access token received from the login call as the authorization header in the request.

## API Input Guidelines

- vehicleNumber : The vehicle registration number. It should be a valid registration number, formatted according to the Indian vehicle registration system.Vehicle Number is the Mandatory Parameter to be passed.
- detailedRcBackup : If the details of PUCC are not found in the source , then an backup is added which provide basic details like validity of existing PUC for these vehicles.

## Sample Curl

:::CodeblockTabs
Preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/vehicleService/rcToPuc' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth Key>' \
--data '{
    "vehicleNumber": "<vehicleNumber>",
    "detailedRcBackup" :"true/false"
}'
```

Production

```curl
curl --location 'https://api.signzy.app/api/v3/vehicleService/rcToPuc' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth Key>' \
--data '{
    "vehicleNumber": "<vehicleNumber>",
    "detailedRcBackup" :"true/false"
}'
```
:::

### Input Parameters

| **PARAMETER NAME** | **REQUIRED/OPTIONAL** | **DESCRIPTION**                                          |
| ------------------ | --------------------- | -------------------------------------------------------- |
| Content-Type       | Required              | application/json                                         |
| Authorization      | Required              | Contains the id parameter returned from the login step   |
| vehicleNumber      | Required              | Vehicle number whose data is to be fetched               |
| detailedRcBackup   | Optional              | Backup data from RC where if PUCC details are not found. |

## Response Types

:::CodeblockTabs
200 - Response

```json
{
    "result": {
        "vehicleNumber": "GJ05XXXXXX",
        "chasisNumberLast5Digits": "XXXXX",
        "carImage": "https://persist.signzy.tech/api/files/777440279/download/e5555a2eb8bf4bd197ea93295d6eefd763981d28ffbb4316928537442XXXXXX.png",
        "category": "TWO WHEELER(NT)",
        "makeOfVehicle": "HONDA MOTORCYCLE AND SCOOTER INDIA (P) LTD",
        "stroke": "BHARAT STAGE IV",
        "modelOfVehicle": "CBF160MH5ID",
        "dateOfManufacturing": "01/Sep/2017",
        "fuel": "PETROL",
        "prescribedCO": "3.0",
        "measuredCO": "0.217",
        "prescribedHC": "3000.0",
        "measuredHC": "120.0",
        "certificateSLNo": "GJ0050057007XXXX",
        "dateOfPuc": "27/09/2023",
        "timeOfPuc": "17:17:56 PM",
        "validityUpto": "26/09/2024",
        "dateOfRegistration": "26/Apr/2018",
        "monthYearOfManufacturing": "September-2017",
        "mobile": "******5185",
        "emissionNorms": "Carbon Monoxide (CO)",
        "pucCode": "GJ05XXXXXX",
        "lightAbsorptionCoefficientPrescribed": "",
        "lightAbsorptionCoefficientMeasured": ""
    }
}
```

200 - Response (true)

```json
{
    "result": {
        "vehicleNumber": "GJ05XXXXXX",
        "chasisNumberLast5Digits": "XXXXX",
        "carImage": "",
        "category": "TWO WHEELER(NT)",
        "makeOfVehicle": "HONDA MOTORCYCLE AND SCOOTER INDIA (P) LTD",
        "stroke": "BHARAT STAGE IV",
        "modelOfVehicle": "CBF160MH5ID",
        "dateOfManufacturing": "",
        "fuel": "PETROL",
        "prescribedCO": "",
        "measuredCO": "",
        "prescribedHC": "",
        "measuredHC": "",
        "certificateSLNo": "GJ0050057007XXXX",
        "dateOfPuc": "",
        "timeOfPuc": "",
        "validityUpto": "26/09/2024",
        "dateOfRegistration": "26/Apr/2018",
        "monthYearOfManufacturing": "September-2017",
        "mobile": "",
        "emissionNorms": "",
        "pucCode": "",
        "lightAbsorptionCoefficientPrescribed": "",
        "lightAbsorptionCoefficientMeasured": ""
    }
}
```

400 - Bad Request

```json
{
    "error": {
        "name": "error",
        "message": "Vehicle Number is not valid",
        "status": 400,
        "reason": "BadRequest",
        "type": "OK",
        "statusCode": 400
    }
}
```

404 - Not Found

```json
{
    "error": {
        "name": "error",
        "message": "Vehicle Number details not found",
        "reason": "BadRequest",
        "type": "OK",
        "statusCode": 404,
        "status": 404
    }
}
```

409 - Upstream Down

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```
:::

### Response Parameters

| **PARAMETER NAME**                   | **DESCRIPTION**                                                   |
| ------------------------------------ | ----------------------------------------------------------------- |
| vehicleNumber                        | The vehicle Number of the vehicle number being searched.          |
| chasisNumberLast5Digits              | Last 5 digits of the chassis number                               |
| carImage                             | URL link to the image of the vehicle                              |
| category                             | Type or category of the vehicle                                   |
| makeOfVehicle                        | Manufacturer or maker of the vehicle                              |
| stroke                               | Type or stage of the engine                                       |
| modelOfVehicle                       | Model name of the vehicle                                         |
| dateOfManufacturing                  | Date when the vehicle was manufactured                            |
| fuel                                 | Type of fuel the vehicle uses                                     |
| prescribedCO                         | Prescribed value for Carbon Monoxide (CO) emissions               |
| measuredCO                           | Measured value for Carbon Monoxide (CO) emissions                 |
| prescribedHC                         | Prescribed value for Hydrocarbon (HC) emissions                   |
| measuredHC                           | Measured value for Hydrocarbon (HC) emissions                     |
| certificateSLNo                      | Serial number of the emission certificate                         |
| dateOfPuc                            | Date when the Puc certificate was generated                       |
| timeOfPuc                            | Time when the Puc certificate was generated                       |
| validityUpto                         | Date until which the Puc certificate is valid                     |
| dateOfRegistration                   | Date when the vehicle was registered                              |
| monthYearOfManufacturing             | Month and year when the vehicle was manufactured                  |
| mobile                               | Last 4 digits of Contact number associated with the vehicle owner |
| emissionNorms                        | Emission Norms                                                    |
| pucCode                              | Code associated with the Pollution Under Control certificate      |
| lightAbsorptionCoefficientPrescribed | Prescribed value for light absorption coefficient                 |
| lightAbsorptionCoefficientMeasured   | Measured value for light absorption coefficient                   |

## Status codes

| Status Code | Message        | Description                        |
| ----------- | -------------- | ---------------------------------- |
| 200         | Success        | The request is served successfully |
| 400         | Bad Request    | The inputs are invalid             |
| 404         | Pucc not found | Data not found in the source       |
| 409         | Upstream Error | Sources are down                   |

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

