API Documentation DH-Boss


RTO Code Search By RTO Number API - DHBOSS API

RTO Code Search By RTO Number API - Search all india rto code using rto code number for example BR01 check full rto office address, phone number details, city name,state name,rto office full name extra extra details find api. By knowing vehicle Registration number, we can determine the RTO ( Regional Transport Office) location. This will some how helpful to identify the vehicle, Each state in India has a different code and you would have noticed this easily on the number plates of the vehicle. To explain this better,Regional Transport Office: Get state RTO code list, details about the vehicle registration process and functions of all state Regional transport department - docs.dhboss.com


GET/POST : RTO_INFO_BY_CODE

What is needed to use this API and how it will work is described below -
Your Api Key : Get API In Profile & eKYC

Input Parameters Detail
Name Type Description Mandatory
rto_code String {Enter Value} Yes
State_name String {Enter Value} Yes

Output Parameters Detail
Name Type Description
code integer 200
status string success
response.message string Record Found 1
response.rto_code string BR01
response.rto_office string DTOPATNA
response.address string 4THFLOORBISCOMANBHAWANCHAJJUBAGH,PATNA,BIHAR-800001
response.email string [email protected]
response.phone_no string 612-2237131
response.pin_code string 800001
response.citycode string 01
response.city string PATNA
response.shortstate string BR
response.state string BIHAR






Call API URL
https://api.dhboss.com/apicall/rto_info_by_code/
API Call Request Parameters
rto_code=value&State_name=value                                                   
API Call Example Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.dhboss.com/apicall/rto_info_by_code/',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => 'rto_code=BR01&apikeyfill=api',
 
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
?>
API Hit Example Response
{
  "code": 200,
  "status": "success",
  "response": {
    "message": "Record Found 1",
    "rto_code": "BR01",
    "rto_office": "DTOPATNA",
    "address": "4THFLOORBISCOMANBHAWANCHAJJUBAGH,PATNA,BIHAR-800001",
    "email": "[email protected]",
    "phone_no": "612-2237131",
    "pin_code": "800001",
    "citycode": "01",
    "city": "PATNA",
    "shortstate": "BR",
    "state": "BIHAR"
  }
}