API Documentation DH-Boss


All Courier Consignment Tracking Api - DHBOSS API

All Courier Consignment Number Tracking Api - What are Shipping APIs in Freight and Logistics? API is an acronym that stands for Application Programming Interface. APIs are generally cloud-based intermediaries that allow applications with different designs and code to exchange data and information with each other. All Courier Company Parcel Tracking Api, Low price with best parcel tracking api, cheap price in consignment traker api, india post tracking best api. - docs.dhboss.com


GET/POST : CONSIGNMENT_TRACKER

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
response.data.tracking_number string JN120XXXXXX5IN
response.data.tracking_numbers.0.is_main boolean 1
response.data.tracking_numbers.0.tracking_number string JN120XXXXXX5IN
response.data.tracking_numbers.0.crawler_codes.0 string india-post-tracking
response.data.origin_country_code string IN
response.data.destination_country_code string IN
response.data.events.0.datetime string 2022-09-26T13:40:05.000Z
response.data.events.0.dispatch_code_id integer 7
response.data.events.0.status string Item Delivery Confirmed
response.data.events.0.location string Basudiha BO
response.data.events.0.courier.slug string india-post-tracking
response.data.events.0.courier.crawler_code string india-post-tracking
response.data.events.0.courier.country_code string IN
response.data.events.0.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.0.courier.translation.lang_code string en
response.data.events.0.courier.translation.name string India Post
response.data.events.0.courier.translation.full_name string India Post
response.data.events.0.courier.translation.website string https://www.indiapost.gov.in
response.data.events.0.courier.translation.phone string
response.data.events.1.datetime string 2022-09-15T12:37:06.000Z
response.data.events.1.status string Dispatched to BO
response.data.events.1.location string Gagaha SO
response.data.events.1.courier.slug string india-post-tracking
response.data.events.1.courier.crawler_code string india-post-tracking
response.data.events.1.courier.country_code string IN
response.data.events.1.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.1.courier.translation.lang_code string en
response.data.events.1.courier.translation.name string India Post
response.data.events.1.courier.translation.full_name string India Post
response.data.events.1.courier.translation.website string https://www.indiapost.gov.in
response.data.events.1.courier.translation.phone string
response.data.events.2.datetime string 2022-09-15T11:41:47.000Z
response.data.events.2.dispatch_code_id integer 3
response.data.events.2.status string Item Received
response.data.events.2.location string Gagaha SO
response.data.events.2.courier.slug string india-post-tracking
response.data.events.2.courier.crawler_code string india-post-tracking
response.data.events.2.courier.country_code string IN
response.data.events.2.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.2.courier.translation.lang_code string en
response.data.events.2.courier.translation.name string India Post
response.data.events.2.courier.translation.full_name string India Post
response.data.events.2.courier.translation.website string https://www.indiapost.gov.in
response.data.events.2.courier.translation.phone string
response.data.events.3.datetime string 2022-09-15T01:23:03.000Z
response.data.events.3.dispatch_code_id integer 3
response.data.events.3.status string Item Received
response.data.events.3.location string MA GORAKHPUR RMS
response.data.events.3.courier.slug string india-post-tracking
response.data.events.3.courier.crawler_code string india-post-tracking
response.data.events.3.courier.country_code string IN
response.data.events.3.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.3.courier.translation.lang_code string en
response.data.events.3.courier.translation.name string India Post
response.data.events.3.courier.translation.full_name string India Post
response.data.events.3.courier.translation.website string https://www.indiapost.gov.in
response.data.events.3.courier.translation.phone string
response.data.events.4.datetime string 2022-09-14T18:13:04.000Z
response.data.events.4.status string Item Dispatched
response.data.events.4.location string Gorakhpur NSH
response.data.events.4.courier.slug string india-post-tracking
response.data.events.4.courier.crawler_code string india-post-tracking
response.data.events.4.courier.country_code string IN
response.data.events.4.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.4.courier.translation.lang_code string en
response.data.events.4.courier.translation.name string India Post
response.data.events.4.courier.translation.full_name string India Post
response.data.events.4.courier.translation.website string https://www.indiapost.gov.in
response.data.events.4.courier.translation.phone string
response.data.events.5.datetime string 2022-09-14T16:56:22.000Z
response.data.events.5.status string Item Bagged
response.data.events.5.location string Gorakhpur NSH
response.data.events.5.courier.slug string india-post-tracking
response.data.events.5.courier.crawler_code string india-post-tracking
response.data.events.5.courier.country_code string IN
response.data.events.5.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.5.courier.translation.lang_code string en
response.data.events.5.courier.translation.name string India Post
response.data.events.5.courier.translation.full_name string India Post
response.data.events.5.courier.translation.website string https://www.indiapost.gov.in
response.data.events.5.courier.translation.phone string
response.data.events.6.datetime string 2022-09-14T14:43:00.000Z
response.data.events.6.dispatch_code_id integer 3
response.data.events.6.status string Item Received
response.data.events.6.location string Gorakhpur NSH
response.data.events.6.courier.slug string india-post-tracking
response.data.events.6.courier.crawler_code string india-post-tracking
response.data.events.6.courier.country_code string IN
response.data.events.6.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.6.courier.translation.lang_code string en
response.data.events.6.courier.translation.name string India Post
response.data.events.6.courier.translation.full_name string India Post
response.data.events.6.courier.translation.website string https://www.indiapost.gov.in
response.data.events.6.courier.translation.phone string
response.data.events.7.datetime string 2022-09-14T13:24:34.000Z
response.data.events.7.status string Item Dispatched
response.data.events.7.location string MA GORAKHPUR RMS
response.data.events.7.courier.slug string india-post-tracking
response.data.events.7.courier.crawler_code string india-post-tracking
response.data.events.7.courier.country_code string IN
response.data.events.7.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.7.courier.translation.lang_code string en
response.data.events.7.courier.translation.name string India Post
response.data.events.7.courier.translation.full_name string India Post
response.data.events.7.courier.translation.website string https://www.indiapost.gov.in
response.data.events.7.courier.translation.phone string
response.data.events.8.datetime string 2022-09-14T13:20:25.000Z
response.data.events.8.dispatch_code_id integer 3
response.data.events.8.status string Item Received
response.data.events.8.location string MA GORAKHPUR RMS
response.data.events.8.courier.slug string india-post-tracking
response.data.events.8.courier.crawler_code string india-post-tracking
response.data.events.8.courier.country_code string IN
response.data.events.8.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.8.courier.translation.lang_code string en
response.data.events.8.courier.translation.name string India Post
response.data.events.8.courier.translation.full_name string India Post
response.data.events.8.courier.translation.website string https://www.indiapost.gov.in
response.data.events.8.courier.translation.phone string
response.data.events.9.datetime string 2022-09-13T01:34:36.000Z
response.data.events.9.status string Item Dispatched
response.data.events.9.location string Mumbai NSH
response.data.events.9.courier.slug string india-post-tracking
response.data.events.9.courier.crawler_code string india-post-tracking
response.data.events.9.courier.country_code string IN
response.data.events.9.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.9.courier.translation.lang_code string en
response.data.events.9.courier.translation.name string India Post
response.data.events.9.courier.translation.full_name string India Post
response.data.events.9.courier.translation.website string https://www.indiapost.gov.in
response.data.events.9.courier.translation.phone string
response.data.events.10.datetime string 2022-09-12T14:59:04.000Z
response.data.events.10.status string Item Dispatched
response.data.events.10.location string Dadar BPC
response.data.events.10.courier.slug string india-post-tracking
response.data.events.10.courier.crawler_code string india-post-tracking
response.data.events.10.courier.country_code string IN
response.data.events.10.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.10.courier.translation.lang_code string en
response.data.events.10.courier.translation.name string India Post
response.data.events.10.courier.translation.full_name string India Post
response.data.events.10.courier.translation.website string https://www.indiapost.gov.in
response.data.events.10.courier.translation.phone string
response.data.events.11.datetime string 2022-09-12T13:54:13.000Z
response.data.events.11.status string Item Bagged
response.data.events.11.location string Dadar BPC
response.data.events.11.courier.slug string india-post-tracking
response.data.events.11.courier.crawler_code string india-post-tracking
response.data.events.11.courier.country_code string IN
response.data.events.11.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.11.courier.translation.lang_code string en
response.data.events.11.courier.translation.name string India Post
response.data.events.11.courier.translation.full_name string India Post
response.data.events.11.courier.translation.website string https://www.indiapost.gov.in
response.data.events.11.courier.translation.phone string
response.data.events.12.datetime string 2022-09-12T11:55:39.000Z
response.data.events.12.status string Item Booked
response.data.events.12.location string Dadar BPC
response.data.events.12.courier.slug string india-post-tracking
response.data.events.12.courier.crawler_code string india-post-tracking
response.data.events.12.courier.country_code string IN
response.data.events.12.courier.logo_image.path string /assets/db/couriers/india-post.svg
response.data.events.12.courier.translation.lang_code string en
response.data.events.12.courier.translation.name string India Post
response.data.events.12.courier.translation.full_name string India Post
response.data.events.12.courier.translation.website string https://www.indiapost.gov.in
response.data.events.12.courier.translation.phone string
response.data.dispatch_code.id integer 7
response.data.dispatch_code.code string DC60
response.data.dispatch_code.step string 5
response.data.dispatch_code.desc string Delivered
response.data.couriers.0.slug string india-post-tracking
response.data.couriers.0.crawler_code string india-post-tracking
response.data.couriers.0.country_code string IN
response.data.couriers.0.logo_image.path string /assets/db/couriers/india-post.svg
response.data.couriers.0.translation.lang_code string en
response.data.couriers.0.translation.name string India Post
response.data.couriers.0.translation.full_name string India Post
response.data.couriers.0.translation.website string https://www.indiapost.gov.in
response.data.couriers.0.translation.phone string






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

$url = "https://api.dhboss.com/apicall/consignment_tracker/";

$curl = curl_init($url);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$headers = array(
   "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
   "accept-language: en-US,en;q=0.9",
   "cache-control: max-age=0",
   "sec-fetch-dest: document",
   "sec-fetch-mode: navigate",
   "sec-fetch-site: none",
   "sec-fetch-user: ?1",
   "upgrade-insecure-requests: 1",
   "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
curl_setopt($curl, CURLOPT_POSTFIELDS, 'track_number=JN400005701IN&apikeyfill=yourkey');
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);

$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
API Hit Example Response
{
  "code": 200,
  "status": "success",
  "response": {
    "data": {
      "tracking_number": "JN120XXXXXX5IN",
      "tracking_numbers": [
        {
          "is_main": true,
          "tracking_number": "JN120XXXXXX5IN",
          "crawler_codes": [
            "india-post-tracking"
          ]
        }
      ],
      "origin_country_code": "IN",
      "destination_country_code": "IN",
      "events": [
        {
          "datetime": "2022-09-26T13:40:05.000Z",
          "dispatch_code_id": 7,
          "status": "Item Delivery Confirmed",
          "location": "Basudiha BO",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-15T12:37:06.000Z",
          "status": "Dispatched to BO",
          "location": "Gagaha SO",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-15T11:41:47.000Z",
          "dispatch_code_id": 3,
          "status": "Item Received",
          "location": "Gagaha SO",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-15T01:23:03.000Z",
          "dispatch_code_id": 3,
          "status": "Item Received",
          "location": "MA GORAKHPUR RMS",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-14T18:13:04.000Z",
          "status": "Item Dispatched",
          "location": "Gorakhpur NSH",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-14T16:56:22.000Z",
          "status": "Item Bagged",
          "location": "Gorakhpur NSH",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-14T14:43:00.000Z",
          "dispatch_code_id": 3,
          "status": "Item Received",
          "location": "Gorakhpur NSH",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-14T13:24:34.000Z",
          "status": "Item Dispatched",
          "location": "MA GORAKHPUR RMS",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-14T13:20:25.000Z",
          "dispatch_code_id": 3,
          "status": "Item Received",
          "location": "MA GORAKHPUR RMS",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-13T01:34:36.000Z",
          "status": "Item Dispatched",
          "location": "Mumbai NSH",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-12T14:59:04.000Z",
          "status": "Item Dispatched",
          "location": "Dadar BPC",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-12T13:54:13.000Z",
          "status": "Item Bagged",
          "location": "Dadar BPC",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        },
        {
          "datetime": "2022-09-12T11:55:39.000Z",
          "status": "Item Booked",
          "location": "Dadar BPC",
          "courier": {
            "slug": "india-post-tracking",
            "crawler_code": "india-post-tracking",
            "country_code": "IN",
            "logo_image": {
              "path": "/assets/db/couriers/india-post.svg"
            },
            "translation": {
              "lang_code": "en",
              "name": "India Post",
              "full_name": "India Post",
              "website": "https://www.indiapost.gov.in",
              "phone": ""
            }
          }
        }
      ],
      "dispatch_code": {
        "id": 7,
        "code": "DC60",
        "step": "5",
        "desc": "Delivered"
      },
      "couriers": [
        {
          "slug": "india-post-tracking",
          "crawler_code": "india-post-tracking",
          "country_code": "IN",
          "logo_image": {
            "path": "/assets/db/couriers/india-post.svg"
          },
          "translation": {
            "lang_code": "en",
            "name": "India Post",
            "full_name": "India Post",
            "website": "https://www.indiapost.gov.in",
            "phone": ""
          }
        }
      ]
    }
  }
}