Home
  Web Services
  Networking
  Software
  Contact Info

 

 

 

 

 

 

 

 

      

The UPS Rate Calculator is a very easy to add component which will work with your existing web site. By adding a few lines of code from the samples below, your purchasing forms can automatically display a variety of information about shipment options including up to date quotes directly from UPS. Best of all, our component costs only $15.00! To view an example of our component, simply click here for a sample.

Requirements

The UPS Rate Calculator has only three system requirements to work.

  • Connection to UPS.COM on SSL (Port 443). Since the rate calculator communicates receives the rate information from UPS, every time a rate quote is requested a connection to UPS.COM is established.
  • Microsoft.NET runtime with a ASP.NET compatible web server installed.
  • Free registration with UPS.COM to obtain an access key for requesting rate information. (instructions below)

Installation

1.

To use the rate calculator you must register with UPS.COM and request a XML access key. Don't worry! Access to this service is free. This is required in order to send and receive information from the UPS rate database. To register go to the UPS registration page and fill out the form. You must also request a XML access key and agree to the terms of the access license. A valid XML access key will then be provided via e-mail.

Once you have completed the developer registration, use your user name and password to login. Keep your user name and password handy as you will need it along with your XML access key to query the database! After logging in, click on the "Get Access Key" option on the navigation menu on the left side of the screen. The "Get Access Key" screen will appear asking you which type of key your are requesting. Choose "XML Access Key". Before you will be able to receive your XML access key, you will need to get a Developer's Key from the e-mail you should have received after registering. Submit the form and check your e-mail for the XML Access Key.

2. UPS Rate Calculator requires that you have the Microsoft.NET runtime installed. Click here to download it.
3. Simply copy the UPS.dll file in to your website's /bin directory.
4. Insert code for the UPS Rate Calculator in your website forms. Code samples for a few methods have been included below. Working examples of these samples can be viewed by clicking here.

Click here for implementation samples!
5. Modify your code to have the proper user name, password, and XML access key that you received from UPS. That's it, your done!

Component Parameters

Pickup Types

Code Description
01 Daily Pickup
03 Customer Counter
06 One Time Pickup
07 On Call Air
19 Letter Center
20 Air Service Center
UPS Service Codes

Code Description
01 Next Day Air
02 2nd Day Air
03 Ground
07 Worldwide Express
08 Worldwide Expedited
11 Standard
12 3-Day Select
13 Next Day Air Saver
14 Next Day Air Early AM
54 Worldwide Express Plus
59 2nd Day Air AM
65 Express Saver
Package Type Codes

Code Description
00 Unknown
01 UPS Letter
02 Package
03 UPS Tube
04 UPS Pak
21 UPS Express Box
24 UPS 25KG Box
25 UPS 10KG Box

 
Countries Supported by UPS Rates
& Service Selection

Code Description
AR Argentina
AU Australia
AT Austria
BS Bahamas
BE Belgium
BR Brazil
CA Canada
CL Chile
CR Costa Rica
DK Denmark
DO Dominican Republic
FI Finland
FR France
DE Germany
GR Greece
GT Guatemala
HK Hong Kong
IE Ireland
IL Israel
IT Italy
MY Malaysia
MX Mexico
NL Netherlands
NZ New Zealand
NO Norway
PA Panama
PT Portugal
PR Puerto Rico
SG Singapore
ES Spain
SE Sweden
CH Switzerland
TW Taiwan
TH Thailand
GB United Kingdom
US United States
U.S. State Codes

Code Description
AL Alabama
AK Alaska
AZ Arizona
AR Arkansas
CA California
CO Colorado
CT Connecticut
DE Delaware
DC District of Columbia
FL Florida
GA Georgia
HI Hawaii
ID Idaho
IL Illinois
IN Indiana
IA Indiana
KS Kansas
KY Kentucky
LA Louisiana
ME Maine
MD Maryland
MA Massachusetts
MI Michigan
MN Minnesota
MS Mississippi
MO Missouri
MT Montana
NE Nebraska
NV Nevada
NH New Hampshire
NJ New Jersey
NM New Hampshire
NY New York
NC North Carolina
ND North Dakota
OH Ohio
OK Oklahoma
OR Oregon
PA Pennsylvania
RI Rhode Island
SC South Carolina
SD South Dakota
TN Tennessee
TX Texas
UT Utah
VT Vermont
VA Virginia
WA Washington
WV West Virginia
WI Wisconsin
WY Wyoming
Canadian Province Codes

Code Description
AB Alberta
BC British Columbia
MB Manitoba
NB New Brunswick
NF Newfoundland
NT Northwest Territories
NS Nova Scotia
NU Nunavut
ON Ontario
PE Prince Edward Island
QC Quebec
SK Saskatchewan
YT Yukon