https://github.com/cyberboysumanjay/courierapi
API for getting tracking updates of Courier Service Providers
https://github.com/cyberboysumanjay/courierapi
api courier courier-service courier-tracking deta fastapi python3
Last synced: 7 months ago
JSON representation
API for getting tracking updates of Courier Service Providers
- Host: GitHub
- URL: https://github.com/cyberboysumanjay/courierapi
- Owner: cyberboysumanjay
- Created: 2021-09-13T11:06:12.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-02T19:06:32.000Z (about 2 years ago)
- Last Synced: 2025-03-25T19:40:15.141Z (7 months ago)
- Topics: api, courier, courier-service, courier-tracking, deta, fastapi, python3
- Language: Python
- Homepage: https://courier.deta.dev/
- Size: 19.5 KB
- Stars: 17
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Courier Tracking API

This API is capable of fetching tracking details from multiple courier service providers.
## Show some :heart: and :star: the repo to support the project
[](https://github.com/cyberboysumanjay/CourierAPI) 
[](https://telegram.dog/sjprojects)

## Supported Courier Services
This API supports multiple courier services.
Here is a complete list of supported services.
1. Ekart Logistics (ekart)
2. DTDC (dtdc)
3. Gati Express (gati)
4. Bluedart (bluedart)
5. More to be added soon..
Feel free to create a PR for adding support for more courier service providers or wait for them to ship an order to me :smile:

## Usage
Make a get request specifying the service provider name and the tracking id
```
https://courier.deta.dev/{courier_name}/{tracking_id}
```
Example - https://courier.deta.dev/dtdc/Z74562053

## Response Format
The response JSON Object looks something like this -
```JSON
{
"status": true,
"data": [
{
"tracking_id": "Z74562053",
"activity": "Successfully Delivered",
"date": "09-05-2022",
"time": "14:35",
"status": "Delivered",
"origin": "gachibowli master franchisee",
"destination": ""
},
{
"tracking_id": "Z74562053",
"activity": "Out For Delivery",
"date": "09-05-2022",
"time": "11:11",
"status": "Out For Delivery",
"origin": "gachibowli master franchisee(KONDAPUR - MASID BANDA)",
"destination": ""
},
{
"tracking_id": "Z74562053",
"activity": "Received at Facility",
"date": "08-05-2022",
"time": "18:06",
"status": "In Transit",
"origin": "gachibowli master franchisee",
"destination": ""
},
{
"tracking_id": "Z74562053",
"activity": "Received at Facility",
"date": "08-05-2022",
"time": "18:04",
"status": "In Transit",
"origin": "gachibowli master franchisee",
"destination": "gachibowli master franchisee"
},
{
"tracking_id": "Z74562053",
"activity": "Processed & Forwarded From Hub",
"date": "08-05-2022",
"time": "14:45",
"status": "In Transit",
"origin": "hyderabad shamshabad apex",
"destination": "gachibowli master franchisee"
},
{
"tracking_id": "Z74562053",
"activity": "Processed & Forwarded to Hub",
"date": "08-05-2022",
"time": "08:24",
"status": "In Transit",
"origin": "hyderabad shamshabad apex",
"destination": "gachibowli master franchisee"
},
{
"tracking_id": "Z74562053",
"activity": "Received at Hub",
"date": "08-05-2022",
"time": "07:53",
"status": "In Transit",
"origin": "hyderabad shamshabad apex",
"destination": ""
},
{
"tracking_id": "Z74562053",
"activity": "Received at Hub",
"date": "08-05-2022",
"time": "02:58",
"status": "In Transit",
"origin": "delhi samalkha apex",
"destination": "hyderabad shamshabad apex"
},
{
"tracking_id": "Z74562053",
"activity": "Received at Hub",
"date": "08-05-2022",
"time": "02:26",
"status": "In Transit",
"origin": "delhi samalkha apex",
"destination": "hyderabad shamshabad apex"
},
{
"tracking_id": "Z74562053",
"activity": "Processed & Forwarded From Facility",
"date": "07-05-2022",
"time": "15:15",
"status": "In Transit",
"origin": "delhi samalkha apex",
"destination": "hyderabad shamshabad apex"
},
{
"tracking_id": "Z74562053",
"activity": "Received at Hub",
"date": "07-05-2022",
"time": "12:04",
"status": "In Transit",
"origin": "gurgaon apex",
"destination": "delhi samalkha apex"
},
{
"tracking_id": "Z74562053",
"activity": "Processed & Forwarded From Hub",
"date": "07-05-2022",
"time": "03:22",
"status": "In Transit",
"origin": "gurgaon apex",
"destination": "delhi samalkha apex"
},
{
"tracking_id": "Z74562053",
"activity": "Processed & Forwarded to Hub",
"date": "07-05-2022",
"time": "02:21",
"status": "In Transit",
"origin": "gurgaon apex",
"destination": "hyderabad shamshabad apex"
},
{
"tracking_id": "Z74562053",
"activity": "Booked At Hub",
"date": "06-05-2022",
"time": "20:03",
"status": "Booked",
"origin": "gurgaon apex",
"destination": "Booked to HYDERABAD"
},
{
"tracking_id": "Z74562053",
"activity": "Softdata Upload",
"date": "06-05-2022",
"time": "19:10",
"status": "Softdata Upload",
"origin": "first mile",
"destination": "Booking Initiated"
}
]
}
```
## Deployment
[](https://go.deta.dev/deploy?repo=https://github.com/cyberboysumanjay/CourierAPI)
##### :star: the Repo in case you liked it :)
##### Made with :heart: in India
#### © [Sumanjay](https://cyberboysumanjay.github.io)