API Documentation DH-Boss


Parcel Track Api - DHBOSS API

The ability to safely send packages and parcels globally has become essential, and the whole industry has grown around the need for shipping services. The latest addition to that industry is special package tracking services. People and businesses are tired of having to do all the work when it comes to tracking their package, entering tracking numbers on multiple websites as their package changes hands and crosses borders, leaving a frustrating experience. Parcel Track Api Order Tracking API Documentation. Track packages from over 600 couriers worldwide. Get shipment info easily from official site. - docs.dhboss.com


GET/POST : parceltrack

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
number string JN139600000IN
status string shipped
hadDeliveryIncident boolean
daysInTransit integer 4
estimatedDaysBeforeDelivery integer 8
minEstDaysBeforeDelivery integer 6
maxEstDaysBeforeDelivery integer 13
steps.0.time string 2023-03-20T15:11:00.000Z
steps.0.lines.0 string Item Dispatched
steps.0.lines.1 string Parbhani ICH
steps.0.courier.name string INDIA POST
steps.0.courier.slug string india-post
steps.0.semanticStatus string IN_TRANSIT
steps.0.humanReadableTime string Mar 20, 2023
steps.0.meaning string Your package is in transit with the carrier.
steps.1.time string 2023-03-20T13:30:00.000Z
steps.1.lines.0 string Item Bagged
steps.1.lines.1 string Parbhani ICH
steps.1.courier.name string INDIA POST
steps.1.courier.slug string india-post
steps.1.semanticStatus string IN_TRANSIT
steps.1.humanReadableTime string Mar 20, 2023
steps.1.meaning string Your package is in transit with the carrier.
steps.2.time string 2023-03-20T09:00:00.000Z
steps.2.lines.0 string Item Received
steps.2.lines.1 string Parbhani ICH
steps.2.courier.name string INDIA POST
steps.2.courier.slug string india-post
steps.2.semanticStatus string IN_TRANSIT
steps.2.humanReadableTime string Mar 20, 2023
steps.2.meaning string Your package is in transit with the carrier.
steps.3.time string 2023-03-19T04:32:00.000Z
steps.3.lines.0 string Item Dispatched
steps.3.lines.1 string Dadar BPC
steps.3.courier.name string INDIA POST
steps.3.courier.slug string india-post
steps.3.semanticStatus string IN_TRANSIT
steps.3.humanReadableTime string Mar 19, 2023
steps.3.meaning string Your package is in transit with the carrier.
steps.4.time string 2023-03-19T04:25:00.000Z
steps.4.lines.0 string Item Bagged
steps.4.lines.1 string Dadar BPC
steps.4.courier.name string INDIA POST
steps.4.courier.slug string india-post
steps.4.semanticStatus string IN_TRANSIT
steps.4.humanReadableTime string Mar 19, 2023
steps.4.meaning string Your package is in transit with the carrier.
steps.5.time string 2023-03-19T01:42:00.000Z
steps.5.lines.0 string Item Booked
steps.5.lines.1 string Dadar BPC
steps.5.courier.name string INDIA POST
steps.5.courier.slug string india-post
steps.5.semanticStatus string LABEL_CREATED
steps.5.humanReadableTime string Mar 19, 2023
steps.5.meaning string The carrier has been informed and will soon collect your package.
statusLabel string Your package has been in transit for 4 day(s)
statusSubLabel string Delivery is expected in 6-13 days (based on 1000 similar deliveries)
statusProgressPercentage double 33.33
statusPlaceholder string Shipped
unknownMeaning NULL
unknownLine NULL
couriers.0.name string INDIA POST
couriers.0.slug string india-post
todayHumanReadableTime string Mar 22, 2023






Call API URL
https://api.dhboss.com/apicall/parceltrack/
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/parceltrack/',
  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
{
  "number": "JN139600000IN",
  "status": "shipped",
  "hadDeliveryIncident": false,
  "daysInTransit": 4,
  "estimatedDaysBeforeDelivery": 8,
  "minEstDaysBeforeDelivery": 6,
  "maxEstDaysBeforeDelivery": 13,
  "steps": [
    {
      "time": "2023-03-20T15:11:00.000Z",
      "lines": [
        "Item Dispatched",
        "Parbhani ICH"
      ],
      "courier": {
        "name": "INDIA POST",
        "slug": "india-post"
      },
      "semanticStatus": "IN_TRANSIT",
      "humanReadableTime": "Mar 20, 2023",
      "meaning": "Your package is in transit with the carrier."
    },
    {
      "time": "2023-03-20T13:30:00.000Z",
      "lines": [
        "Item Bagged",
        "Parbhani ICH"
      ],
      "courier": {
        "name": "INDIA POST",
        "slug": "india-post"
      },
      "semanticStatus": "IN_TRANSIT",
      "humanReadableTime": "Mar 20, 2023",
      "meaning": "Your package is in transit with the carrier."
    },
    {
      "time": "2023-03-20T09:00:00.000Z",
      "lines": [
        "Item Received",
        "Parbhani ICH"
      ],
      "courier": {
        "name": "INDIA POST",
        "slug": "india-post"
      },
      "semanticStatus": "IN_TRANSIT",
      "humanReadableTime": "Mar 20, 2023",
      "meaning": "Your package is in transit with the carrier."
    },
    {
      "time": "2023-03-19T04:32:00.000Z",
      "lines": [
        "Item Dispatched",
        "Dadar BPC"
      ],
      "courier": {
        "name": "INDIA POST",
        "slug": "india-post"
      },
      "semanticStatus": "IN_TRANSIT",
      "humanReadableTime": "Mar 19, 2023",
      "meaning": "Your package is in transit with the carrier."
    },
    {
      "time": "2023-03-19T04:25:00.000Z",
      "lines": [
        "Item Bagged",
        "Dadar BPC"
      ],
      "courier": {
        "name": "INDIA POST",
        "slug": "india-post"
      },
      "semanticStatus": "IN_TRANSIT",
      "humanReadableTime": "Mar 19, 2023",
      "meaning": "Your package is in transit with the carrier."
    },
    {
      "time": "2023-03-19T01:42:00.000Z",
      "lines": [
        "Item Booked",
        "Dadar BPC"
      ],
      "courier": {
        "name": "INDIA POST",
        "slug": "india-post"
      },
      "semanticStatus": "LABEL_CREATED",
      "humanReadableTime": "Mar 19, 2023",
      "meaning": "The carrier has been informed and will soon collect your package."
    }
  ],
  "statusLabel": "Your package has been in transit for 4 day(s)",
  "statusSubLabel": "Delivery is expected in 6-13 days (based on 1000 similar deliveries)",
  "statusProgressPercentage": 33.33,
  "statusPlaceholder": "Shipped",
  "unknownMeaning": null,
  "unknownLine": null,
  "couriers": [
    {
      "name": "INDIA POST",
      "slug": "india-post"
    }
  ],
  "todayHumanReadableTime": "Mar 22, 2023"
}