This project is based on nodejs help to track the courier servies provider in India.
You can use this project to build your courier tracking app as it return the response in json format.
-->You can download zip or git clone https://github.com/rajatdhoot123/indian-courier-api.git
-->You can install all dependency by running command on bash(Terminal): npm install
-->Then run: yarn start or npm start
-->Then Open Browser and hit url mentioned below like
If You want to track Ekart with Tracking Id: FMPC0279658213 then in chrome visit url localhost:5050/ekart/FMPC0279658213
And then you will get Json Object with all tracking Details
Service Providers | Status |
---|---|
Ekart | Working |
Ecom | Working |
Delhivery | Working |
Xpressbees | NA |
Bluedart | Working |
Gati | NA |
DTDC | Working |
Shadowfax | NA |
DHL | Working |
Maruti(Beta) | Working |
If your request is successfull then response will contain three keys i.e. location, detail, date. Check the example below.
Example
{
"location": "BENGALURU",
"detail": "Shipment delivered",
"date": "26 Mar, 2018 12:50 hrs"
},
courier_provider = ekart | ecom | delhivery | xpressbees | bluedart | dtdc | gati | shadowfax
trackingId = Your Parcel Tracking id like-> FMPC0279658213
http://localhost:3000/api/track/{courier_provider}/{trackingId}