July 6, 2011

UPS, FedEx & USPS Shipment Tracking URL

Direct URL for UPS shipment tracking:

http://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=1ZXXXXXXXXXXXXXXXX

If any value is provided for the “track” parameter then the confirmation page is skipped and the user goes directly to the tracking page.  If you’d rather send the user to the confirmation page then just omit that parameter.

Direct URL for FedEx shipment tracking:

http://www.fedex.com/Tracking?action=track&tracknumbers=XXXXXXXXXXXXXXXXX

Direct URL for USPS shipment tracking

https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=XXXXXXXXXXXXXXXXX

Direct URL for DHL US shipment tracking

http://track.dhl-usa.com/TrackByNbr.asp?ShipmentNumber=XXXXXXXXXXXXXXXXX

Direct URL for DHL Global shipment tracking

http://webtrack.dhlglobalmail.com/?mobile=&trackingnumber=XXXXXXXXXXXXXXXXX

Direct URL for OnTrac shipment tracking

http://www.ontrac.com/trackingdetail.asp?tracking=XXXXXXXXXXXXXXXXX

Direct URL for ICC World shipment tracking

http://iccworld.com/track.asp?txtawbno=XXXXXXXXXXXXXXXXX

Direct URL for LaserShip shipment tracking

http://www.lasership.com/track.php?track_number_input=XXXXXXXXXXXXXXXXX

Direct URL for Canada Post shipment tracking

http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber=XXXXXXXXXXXXXXXXX&LOCALE=en

(change LOCALE=en to LOCALE=fr for results in French)

68 Comments on “UPS, FedEx & USPS Shipment Tracking URL

Tim
January 6, 2012 at 2:50 pm

Also, just FYI for UPS: http://ups.com?trackingnumber=1ZXXXXXXXXXXXX also works as well.

Cheers for this!

Reply
Tim2
January 26, 2012 at 11:08 am

This was unconventionally difficult to find. UPS wants full integration of their API, but for sending a quick emails to customers this is a lot easier to integrate on the fly. Thanks for posting the UPS tracking url.

Thanks.

Reply
kk
February 10, 2012 at 12:23 pm

I’ll save you some google time. here’s he usps.com url: http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=

Reply
Jason
February 10, 2012 at 2:13 pm

Thanks kk, I’ll add that to the post!

Reply
CODC
January 20, 2013 at 1:04 am

You are awesome kk

Reply
Terry Morse
March 23, 2012 at 11:25 am

The USPS URL has been changed, the new one is:

https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=

(the old URL redirects to this one–for now at least)

Reply
Jason
March 25, 2012 at 2:57 pm

Thanks for the update Terry!

Reply
john
August 28, 2013 at 7:04 am

do we have direct tracking url for rl carriers

Reply
usps
April 10, 2012 at 2:23 pm

Thanks for the links, I’ve been looking for them, I don’t know why they are hiding them lol 😀

Reply
Ben G
April 16, 2012 at 3:05 pm

You have a link to USPS (United State Postal Service) at the top, not UPS (United Parcel Service) under UPS?

Reply
Jason
April 18, 2012 at 5:09 pm

Thanks Ben! Fixed the post.

Reply
Mememe
April 17, 2012 at 1:11 pm
Jason
April 18, 2012 at 5:09 pm

Thanks Memem, I added ontrac to the list

Reply
Mememe
April 17, 2012 at 1:12 pm
Mememe
April 17, 2012 at 1:13 pm

Oops, looks like Amazon one above is for returns

Reply
Terry Morse
May 2, 2012 at 11:11 am

The URL for fedex above has a “&” string, which is invalid. You need to replace the “&” with simply “&”.

Was:
http://www.fedex.com/Tracking?action=track&tracknumbers=XXXXXXXXXXXXXXXXX

Is:
http://www.fedex.com/Tracking?action=track&tracknumbers=XXXXXXXXXXXXXXXXX

Reply
Jason
May 3, 2012 at 12:15 pm

Thanks Terry, the blog html editor must have automatically changed those. I’ve updated the post.

Reply
Greg
July 10, 2013 at 1:09 pm

I need to track FedEx shipments by reference number. Is there an easy URL for that?

If not, can anyone help me with the API? It’s poorly documented and the sample code is broken lol

Thanks!

Reply
Foobar
May 8, 2012 at 7:10 pm

Is there a Tracking URL for R+L Carriers?
http://www.rlcarriers.com/shiptrace.asp

I’ve tried the regular and the beta version and both are a POST to a URL with the tracking # (Pro #) in the text bar. Anyone know of any direct URLs to get them?

Reply
Greg
December 12, 2013 at 1:04 pm
bbohio
April 15, 2015 at 11:27 am

Big thank you. Was looking all over for this…my guess was close but couldn’t get it.

Reply
bbohio
April 20, 2015 at 9:27 am
Rachel
July 4, 2012 at 7:00 am

Does anyone know if there is a script that can verify if a confirmation number is legitimate once the user inputs it? Something like Ebay, but instead, it would verify it to ensure the user isn’t putting in a fake one?

Reply
Jason
July 4, 2012 at 12:28 pm

I don’t know of an existing library to do that, but I don’t think it would be too difficult to write. You could do two stages of validation. Stage one could just use a regex to see if the ID matches the expected format – kinda like validating an email. Then if you wanted to do a deeper validation you could contact the shipping API and parse the results. (though it might get tricky when people generate a shipment but haven’t dropped it off yet).

Reply
Rachel
July 4, 2012 at 2:42 pm

Ah, yes! That sounds like it would work! The last part is what I have been trying to figure out how to prevent as well. Thanks for helping me brainstorm! 😀

Reply
Muratti
July 9, 2012 at 2:22 am

How about DHL? Anybody has something to share?
Thanks

Reply
Russ Horton
September 14, 2012 at 2:06 pm

We had been using the following tracking link for DHL but we don’t use DHL currently so couldn’t say if it is still viable:

http://track.dhl-usa.com/TrackByNbr.asp?ShipmentNumber=XXXXXX

Reply
Ken Meeks
July 9, 2012 at 6:21 pm

Good post. made writing this script that much easier for me.

Reply
Trailblazer
July 19, 2012 at 11:49 pm

Nice, thanks for this! This ‘should’ be simple, it used to be but that ceased to be the case. You restored us to simplicity (and sanity). Bravo!

Reply
John Doe
November 20, 2012 at 5:09 am

For ICC world, the following can be used:

http://iccworld.com/track.asp?txtawbno=xxxxxxx

Reply
sell laptop
November 30, 2012 at 1:25 am

The UPS doesn’t work anymore =(

Reply
Jason
December 3, 2012 at 2:32 pm

The URL was broken with & instead of just & – fixed now so it’s working again. thanks for letting me know

Reply
Hugh Jass
December 3, 2012 at 1:56 pm

UPS one doesn’t seem to work anymore.

Try this instead:
http://wwwapps.ups.com/WebTracking/track?&trackNums=1ZXXXXXXXXXXXXXXXX&track.x=Track

Reply
Jason
December 3, 2012 at 2:32 pm

thanks Hugh, looks like my URL got encoded with & instead of just & – I fixed it and it’s working again

Reply
Chris
December 19, 2012 at 11:32 am

Thanks for posting these Jason. I am developing package tracking commands for Pixsy and this was very helpful!

Best,
Chris

Reply
Anon User
January 3, 2013 at 8:39 pm

The direct tracking link for parcels/packages/letters sent via. Canada Post is: http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber=1234567890123456

The direct tracking link for India post (international) parcels/packages/letters is: http://ipsweb.ptcmysore.gov.in/ipswebtracking/IPSWeb_item_events.asp?itemid=RX123456789IN

Reply
Fake name
January 3, 2013 at 8:40 pm

For Canada and India the direct links are as follows:

The direct tracking link for parcels/packages/letters sent via. Canada Post is: http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber=1234567890123456

The direct tracking link for India post (international) parcels/packages/letters is: http://ipsweb.ptcmysore.gov.in/ipswebtracking/IPSWeb_item_events.asp?itemid=RX123456789IN

Reply
JohnDoeSmith
February 2, 2013 at 9:00 am
AdamD
March 18, 2013 at 1:40 am

Use the line feed character to separate the tracking numbers (%0A)
Ex: 1ZXXXXXXXXXXXXX%0A1ZYYYYYYYYYYYYYY

Reply
hananalz
May 16, 2013 at 4:14 am

Hi everyone,
does anyone have a UPS url that shows the “shipment Progress” part of the tracking page.
because when I cilck on it it gives a non distinctive url “http://wwwapps.ups.com/WebTracking/detail” I need a URL identified by Tracking Number.
Thanks

Reply
Jennifer
May 20, 2013 at 1:59 pm

Anyone know the FedEx URL for Track by Reference?

Reply
Nate
May 22, 2013 at 9:15 am

USPS multiple tracking numbers requires commas, FedEx and UPS require the line feed character (%0A) for multiples

Reply
Nate
May 22, 2013 at 9:18 am

Sorry,

Slightly different format for the USPS Url

https://tools.usps.com/go/TrackConfirmAction.action?tLabels=trackingnumber1,trackingnumber2

This also works just fine with one tracking number.

credit to https://groups.google.com/forum/?fromgroups#!topic/solidoodle/rqeMtDiV6xI

Reply
Christine
August 13, 2013 at 1:30 pm

does anyone know the direct URL for CANPAR?

Reply
found out
August 15, 2013 at 2:02 pm

Type most any tracking number into Google. It will link you directly

Reply
NoName
September 24, 2013 at 8:19 pm
William Krick
November 18, 2013 at 10:51 pm

Here’s a slightly more compact UPS tracking URL (8 characters less) with the tracking number at the end, which makes it easier to modify if you’re doing it with an automated script….

http://ups.com/WebTracking/track?&track.x=Track&trackNums=1ZXXXXXXXXXXXXXXXX

Reply
Philster
December 24, 2013 at 7:27 am

This is the shortest I know of for FedEx which works all the time for me. Super compact! It eliminates the “action=track&” yet still works.

Phil’s Compact Version:
http://www.fedex.com/Tracking?tracknumbers=123456789012

Original: http://www.fedex.com/Tracking?action=track&tracknumbers=XXXXXXXXXXXXXXXXX

Reply
Alex A
December 27, 2013 at 5:41 pm

Hello everybody. This info is great. Now a question. Canada Post has a webpage at http://www.canadapost.ca/deliverytool which gives expected delivery time given the from and destination postal codes. For our business I would like to be able to give an estimate of delivery time rather than referring them to this webpage, which has input fields.

Do any of the people reading here know how to create a direct URL for this? Thanks.

Reply
Brennan Zelener
November 27, 2014 at 3:40 pm

Super helpful, thanks for the post Jason!

Reply
Chris
April 6, 2015 at 12:47 pm

You may want to add the Canada Post urls also, for English and French, since those of us in Canada sometimes use it along with FedEx, UPS, stc.

English
http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber=XXXXXXXXXXXXXXXXX&LOCALE=en

French
http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?trackingNumber=XXXXXXXXXXXXXXXXX&LOCALE=fr

Reply
Jason
April 7, 2015 at 3:21 pm

Thanks Chris – added!

Reply
johnsnow
April 7, 2015 at 8:10 pm

ups is jacked, “& amp ;” should just be “&”

Reply
Jason
April 8, 2015 at 4:45 pm

thanks – fixed it

Reply
jennice sandoval
April 8, 2015 at 3:40 pm

Does anyone know the UPS url for tracking by reference number?

Reply
Ed
April 29, 2015 at 6:11 pm

Thanks for posting this you made my life just a little easier today.

Why UPS makes this so difficult is beyond my understanding.

Reply
James
May 1, 2015 at 7:07 am
James
May 1, 2015 at 7:28 am

I forgot to remove 435XXXXXX from the link. Sorry.

Reply
James
May 1, 2015 at 7:27 am
Rod
May 8, 2015 at 10:22 am

Thanks so much for posting this. Exactly what I was searching for. Appreciate your work in putting this together.

Reply
Steve
May 9, 2015 at 7:40 am

Does anyone know how to enter multiple tracking numbers for Canada Post?

Reply
Matt
May 29, 2015 at 9:09 am

I stumbled across this page looking for the URL to track UPS shipments by reference number, and ended up finding a UPS document that explains how to do it: http://www.ups.com/gec/techdocs/pdf/trackhtml_v3.pdf

I just got one to work with the following:
http://wwwapps.ups.com/WebTracking/OnlineTool?TypeOfInquiryNumber=R&InquiryNumber=your_reference_number&SenderShipperNumber=ups_account_number

You’ll see from the documentation that if you don’t have the Sender Shipper Number, you could also use the Ship From and Ship To date range, but since it’s 6 parameters I went the easy way. Hope it helps!

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>