API Documentation DH-Boss


India Post Tracking Api - DHBOSS API

India Post Tracking Api - India Post is a government-owned and operated mailing and postal service which was established in India more than 165 years ago. It was established under the British Raj for the purpose of delivering mail within the British-ruled territories of the Indian subcontinent. India Post was established after the rule of East India Company was overtaken by the British Crown to facilitate communication within the periphery of the empire in India. India Post currently has more than 400,000 employees and is headquartered in Delhi. The service falls under the jurisdiction of the Ministry of Communications. India Post is provided an annual budget by the central government to conduct nationwide operations. To offer its services in India, it operates over 150,000 head, sub and branch post offices and more than 400,000 letterboxes across the country. Though it is the largest postal service in India, it reported a record loss of INR 18,255 in FY20 against revenue of INR 12,211 crore in the same period. The service had been witnessing such losses throughout the previous decade which are a result of mounting costs, pensions, & declining relevance in the modern era. However, it has diversified its operations into the eCommerce logistics space and has been witnessing stable growth in the domain. India Post offers a host of delivery services as well as banking and insurance services in India. Its flagship offering is Speed Post which is a domestic and international express delivery service. It offers its vast network of storage and distribution facilities to help businesses manage their value chain to store, transmit and distribute their items around the country. - docs.dhboss.com


GET/POST : indiapost

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
track_number String {Enter Value} Yes
apikeyfill String {Enter Value} Yes

Output Parameters Detail
Name Type Description
code integer 200
status string success
message string consignment details found successfully
tracking string JN1********IN
response.0.date string 13/09/2023
response.0.time string 15:57:33
response.0.office string Dadpur BO
response.0.event string Item Delivered(Addressee)
response.1.date string 12/09/2023
response.1.time string 10:49:47
response.1.office string Chouparan SO
response.1.event string Dispatched to BO
response.2.date string 12/09/2023
response.2.time string 10:01:45
response.2.office string Chouparan SO
response.2.event string Item Received
response.3.date string 12/09/2023
response.3.time string 04:10:31
response.3.office string MA KODERMA RMS TMO
response.3.event string Item Dispatched
response.4.date string 12/09/2023
response.4.time string 02:29:45
response.4.office string MA KODERMA RMS TMO
response.4.event string Item Received
response.5.date string 11/09/2023
response.5.time string 07:05:12
response.5.office string MA RANCHI RMS TMO
response.5.event string Item Dispatched
response.6.date string 11/09/2023
response.6.time string 06:58:39
response.6.office string MA RANCHI RMS TMO
response.6.event string Item Received
response.7.date string 11/09/2023
response.7.time string 06:09:31
response.7.office string Ranchi NSH
response.7.event string Item Dispatched
response.8.date string 11/09/2023
response.8.time string 05:36:36
response.8.office string Ranchi NSH
response.8.event string Item Bagged
response.9.date string 10/09/2023
response.9.time string 23:25:46
response.9.office string Ranchi NSH
response.9.event string Item Received
response.10.date string 10/09/2023
response.10.time string 21:13:41
response.10.office string MA RANCHI RMS TMO
response.10.event string Item Dispatched
response.11.date string 10/09/2023
response.11.time string 21:11:55
response.11.office string MA RANCHI RMS TMO
response.11.event string Item Received
response.12.date string 09/09/2023
response.12.time string 09:43:44
response.12.office string Mumbai NSH
response.12.event string Item Dispatched
response.13.date string 09/09/2023
response.13.time string 01:03:12
response.13.office string Dadar BPC
response.13.event string Item Dispatched
response.14.date string 09/09/2023
response.14.time string 00:43:43
response.14.office string Dadar BPC
response.14.event string Item Bagged
response.15.date string 08/09/2023
response.15.time string 21:55:20
response.15.office string Dadar BPC
response.15.event string Item Booked






Call API URL
https://api.dhboss.com/apicall/indiapost/
API Call Request Parameters
track_number=value&apikeyfill=value                                                   
API Call Example Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.dhboss.com/apicall/indiapost/',
  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 => 'track_number=JN139600000IN&apikeyfill=yourapikey',
 
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
?>
API Hit Example Response
{
  "code": 200,
  "status": "success",
  "message": "consignment details found successfully",
  "tracking": "JN1********IN",
  "response": [
    {
      "date": "13/09/2023",
      "time": "15:57:33",
      "office": "Dadpur BO",
      "event": "Item Delivered(Addressee)"
    },
    {
      "date": "12/09/2023",
      "time": "10:49:47",
      "office": "Chouparan SO",
      "event": "Dispatched to BO"
    },
    {
      "date": "12/09/2023",
      "time": "10:01:45",
      "office": "Chouparan SO",
      "event": "Item Received"
    },
    {
      "date": "12/09/2023",
      "time": "04:10:31",
      "office": "MA KODERMA RMS TMO",
      "event": "Item Dispatched"
    },
    {
      "date": "12/09/2023",
      "time": "02:29:45",
      "office": "MA KODERMA RMS TMO",
      "event": "Item Received"
    },
    {
      "date": "11/09/2023",
      "time": "07:05:12",
      "office": "MA RANCHI RMS TMO",
      "event": "Item Dispatched"
    },
    {
      "date": "11/09/2023",
      "time": "06:58:39",
      "office": "MA RANCHI RMS TMO",
      "event": "Item Received"
    },
    {
      "date": "11/09/2023",
      "time": "06:09:31",
      "office": "Ranchi NSH",
      "event": "Item Dispatched"
    },
    {
      "date": "11/09/2023",
      "time": "05:36:36",
      "office": "Ranchi NSH",
      "event": "Item Bagged"
    },
    {
      "date": "10/09/2023",
      "time": "23:25:46",
      "office": "Ranchi NSH",
      "event": "Item Received"
    },
    {
      "date": "10/09/2023",
      "time": "21:13:41",
      "office": "MA RANCHI RMS TMO",
      "event": "Item Dispatched"
    },
    {
      "date": "10/09/2023",
      "time": "21:11:55",
      "office": "MA RANCHI RMS TMO",
      "event": "Item Received"
    },
    {
      "date": "09/09/2023",
      "time": "09:43:44",
      "office": "Mumbai NSH",
      "event": "Item Dispatched"
    },
    {
      "date": "09/09/2023",
      "time": "01:03:12",
      "office": "Dadar BPC",
      "event": "Item Dispatched"
    },
    {
      "date": "09/09/2023",
      "time": "00:43:43",
      "office": "Dadar BPC",
      "event": "Item Bagged"
    },
    {
      "date": "08/09/2023",
      "time": "21:55:20",
      "office": "Dadar BPC",
      "event": "Item Booked"
    }
  ]
}