RocketShipIt

RocketShipIt

  • Docs
  • API Examples

›Guides

Guides

  • Getting Started
  • API Explorer
  • Errors
  • Self-Hosting
  • Cloud API
  • Rating
  • Tracking
  • Shipping Labels
  • Address Validation
  • Batch Requests
  • ETD / Paperless Customs
  • Thermal Printing
  • Add a logo to the shipping label
  • Add Reference Values to Labels
  • Return Labels
  • Scale Integrations
  • Laravel
  • FedEx Ground Collect
  • UPS Mail Innovations
  • Saturday Delivery
  • Find Locations
  • FedEx Test Environment
  • Switching UPS / FedEx REST
  • Authenticating Multiple UPS Accounts with UPS REST API
  • Authenticating with REST oauth APIs
  • Customizing RocketShipIt Requests

References

  • Requirements
  • Supported Shipping Carriers
  • Carrier Authentication
  • API Examples
  • Request/Response Format
  • Parameters
  • Carrier Errors
  • Command Line Options
  • Label Transformations
  • Supported Address Validation Countries
  • DHL Addons (Special Service Codes)
  • Rate Details
  • GetSubscription
  • Accessorial / Surcharge Codes
  • Shipping Carrier APIs
  • FedEx SmartPost
  • Carrier Parameters
  • UPS API Parameters
  • FedEx API Parameters
  • API REST Migration Deadlines

Troubleshooting

  • What if I run into trouble?
  • FAQs
  • Inaccurate Rates?

Rating

Most carriers have the ability to request all rates for a given origin/destination pair or a single rate. Since these API calls take the same amount of time to complete and to provide carrier consistency, RocketShipIt only provides the ability to request all rates. If you are looking for a single rate simply filter out the unwanted rates from the response.

For most carriers if a rate/service is not available in that region it will not be returned.

Some carriers will even selectively remove rates for you based on estimated delivery time.

Request

A rating request will typically have the following parameters:

{
  "carrier": "UPS-REST",
  "action": "GetAllRates",
  "params": {
    "key": "YOUR_UPS_API_KEY",
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "packages": [
      {
        "weight": 5,
        "length": 5,
        "width": 5,
        "height": 5
      }
    ],
    "customs": [],
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Whitehall",
    "ship_state": "MT",
    "ship_code": "59759",
    "ship_country": "US",
    "to_country": "US",
    "to_code": "90210",
    "weight_unit": "LBS",
    "pickup_type": "01",
    "customer_classification": "01",
    "length_unit": "IN",
    "packaging_type": "02"
  }
}

Response

See: GetAllRates Response Format for the GetAllRates Action

API Examples

  • https://docs.rocketshipit.com/2-0/examples/#canada-post-rates
  • https://docs.rocketshipit.com/2-0/examples/#canada-post-rates-insurance
  • https://docs.rocketshipit.com/2-0/examples/#dhl-rates
  • https://docs.rocketshipit.com/2-0/examples/#dhl-rates-international
  • https://docs.rocketshipit.com/2-0/examples/#dhl-rates-multi-package
  • https://docs.rocketshipit.com/2-0/examples/#dhl-rates-with-insurance
  • https://docs.rocketshipit.com/2-0/examples/#dicom-rate
  • https://docs.rocketshipit.com/2-0/examples/#fedex-freight-rating
  • https://docs.rocketshipit.com/2-0/examples/#fedex-freight-rating-w-liftgate
  • https://docs.rocketshipit.com/2-0/examples/#fedex-freight-rating-with-addons
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rate-cod
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rate-future-date
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rates-insurance
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rates-negotiated
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rates-onerate
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rates-signature-required
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rates-smartpost
  • https://docs.rocketshipit.com/2-0/examples/#fedex-rating-hold-at-location
  • https://docs.rocketshipit.com/2-0/examples/#gso-rates
  • https://docs.rocketshipit.com/2-0/examples/#old-dominion-freight-rate
  • https://docs.rocketshipit.com/2-0/examples/#ontrac-rates
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-rates
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-rates-globalpost-economy
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-rates-insurance
  • https://docs.rocketshipit.com/2-0/examples/#stamps-com-rates-signature-required
  • https://docs.rocketshipit.com/2-0/examples/#ups-freight-rate
  • https://docs.rocketshipit.com/2-0/examples/#ups-rates-daily
  • https://docs.rocketshipit.com/2-0/examples/#ups-rates-ground-freight-pricing
  • https://docs.rocketshipit.com/2-0/examples/#ups-rates-insurance
  • https://docs.rocketshipit.com/2-0/examples/#ups-rates-international
  • https://docs.rocketshipit.com/2-0/examples/#ups-rates-negotiated
  • https://docs.rocketshipit.com/2-0/examples/#ups-rates-retail
  • https://docs.rocketshipit.com/2-0/examples/#ups-rating-w-access-point
  • https://docs.rocketshipit.com/2-0/examples/#usps-rate-international
  • https://docs.rocketshipit.com/2-0/examples/#usps-rate-regional
  • https://docs.rocketshipit.com/2-0/examples/#usps-rates
  • https://docs.rocketshipit.com/2-0/examples/#usps-rates-first-class
← Cloud APITracking →
  • Request
  • Response
  • API Examples
RocketShipIt
Docs
Getting StartedAPI Reference
RocketShipIt
SupportMy Account
Copyright © 2025 RocketShipIt LLC