I've seen several websites that can detect who is the shipping carrier based on the tracking number. Is there an open library or code somewhere that can help me achieve this?
Preferably PHP but I can probably port it if not.
To track a shipment, you only need a tracking number and corresponding courier code. Below shows you how to get all supported couriers and detect courier by a tracking number. For more accurate tracking, we suggest you enter courier code field when tracking. List all supported couriers and corresponding courier code at TrackingMore.
Below shows you how to get all supported couriers and detect courier by a tracking number. For more accurate tracking, we suggest you enter courier code field when tracking. List all supported couriers and corresponding courier code at TrackingMore.
Monitoring package tracking numbers across different logistics providers is frustrating. Still looking for a solution to track your parcels? We have you covered. Allow us to simplify your shipment tracking across different carriers for all your parcel tracking needs.
Insert your Tracking Number to find a courier and see the shipment history. Tracking Number, it is a combination of numbers or numbers and letters which represents an encoded information about the shipment. It is a unique ID number or code assigned to a package or parcel.
See Regular Expression patterns for Tracking numbers
I recently ran into the same need and have started an open source project called Argo: https://github.com/dsposito/argo
Argo determines the shipping carrier and provider (3rd party such as Endicia or Stamps.com) for a given tracking code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With